00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWPopupFrame.h,v $ 00004 00005 Copyright (c) Kitware, Inc. 00006 All rights reserved. 00007 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00020 #ifndef __vtkKWPopupFrame_h 00021 #define __vtkKWPopupFrame_h 00022 00023 #include "vtkKWCompositeWidget.h" 00024 00025 class vtkKWFrameWithLabel; 00026 class vtkKWPopupButton; 00027 00028 class KWWidgets_EXPORT vtkKWPopupFrame : public vtkKWCompositeWidget 00029 { 00030 // @cond section_public 00031 public: 00032 static vtkKWPopupFrame* New(); 00033 vtkTypeRevisionMacro(vtkKWPopupFrame,vtkKWCompositeWidget); 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00037 00038 vtkSetMacro(PopupMode, int); 00039 vtkGetMacro(PopupMode, int); 00040 vtkBooleanMacro(PopupMode, int); 00042 00044 00045 vtkGetObjectMacro(PopupButton, vtkKWPopupButton); 00046 vtkGetObjectMacro(Frame, vtkKWFrameWithLabel); 00048 00055 virtual void UpdateEnableState(); 00056 00057 // @endcond 00058 // @cond section_protected 00059 protected: 00060 vtkKWPopupFrame(); 00061 ~vtkKWPopupFrame(); 00062 00064 virtual void CreateWidget(); 00065 00066 // GUI 00067 00068 int PopupMode; 00069 00070 vtkKWPopupButton *PopupButton; 00071 vtkKWFrameWithLabel *Frame; 00072 00073 // @endcond 00074 // @cond section_private 00075 private: 00076 vtkKWPopupFrame(const vtkKWPopupFrame&); // Not implemented 00077 void operator=(const vtkKWPopupFrame&); // Not Implemented 00078 }; 00079 00080 #endif 00081 // @endcond
1.6.1