00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00027 #ifndef __vtkKWMenuButtonWithLabel_h
00028 #define __vtkKWMenuButtonWithLabel_h
00029
00030 #include "vtkKWWidgetWithLabel.h"
00031
00032 class vtkKWApplication;
00033 class vtkKWMenuButton;
00034
00035 class KWWIDGETS_EXPORT vtkKWMenuButtonWithLabel : public vtkKWWidgetWithLabel
00036 {
00037 public:
00038 static vtkKWMenuButtonWithLabel* New();
00039 vtkTypeRevisionMacro(vtkKWMenuButtonWithLabel, vtkKWWidgetWithLabel);
00040 void PrintSelf(ostream& os, vtkIndent indent);
00041
00043 virtual void Create(vtkKWApplication *app);
00044
00046 virtual vtkKWMenuButton* GetWidget();
00047
00049
00051 virtual void SetExpandWidget(int);
00052 vtkBooleanMacro(ExpandWidget, int);
00053 vtkGetMacro(ExpandWidget, int);
00055
00058 virtual void SetBalloonHelpString(const char *str);
00059
00066 virtual void UpdateEnableState();
00067
00068 protected:
00069 vtkKWMenuButtonWithLabel();
00070 ~vtkKWMenuButtonWithLabel();
00071
00073 int ExpandWidget;
00074
00076 virtual void Pack();
00077
00079 vtkKWMenuButton *Widget;
00080
00081 private:
00082
00083 vtkKWMenuButtonWithLabel(const vtkKWMenuButtonWithLabel&);
00084 void operator=(const vtkKWMenuButtonWithLabel&);
00085 };
00086
00087 #endif