00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00027 #ifndef __vtkKWLoadSaveButtonWithLabel_h
00028 #define __vtkKWLoadSaveButtonWithLabel_h
00029
00030 #include "vtkKWWidgetWithLabel.h"
00031
00032 class vtkKWApplication;
00033 class vtkKWLoadSaveButton;
00034
00035 class KWWIDGETS_EXPORT vtkKWLoadSaveButtonWithLabel : public vtkKWWidgetWithLabel
00036 {
00037 public:
00038 static vtkKWLoadSaveButtonWithLabel* New();
00039 vtkTypeRevisionMacro(vtkKWLoadSaveButtonWithLabel, vtkKWWidgetWithLabel);
00040 void PrintSelf(ostream& os, vtkIndent indent);
00041
00043 virtual void Create(vtkKWApplication *app);
00044
00046 virtual vtkKWLoadSaveButton* 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 vtkKWLoadSaveButtonWithLabel();
00070 ~vtkKWLoadSaveButtonWithLabel();
00071
00073 int ExpandWidget;
00074
00076 virtual void Pack();
00077
00079 vtkKWLoadSaveButton *Widget;
00080
00081 private:
00082
00083 vtkKWLoadSaveButtonWithLabel(const vtkKWLoadSaveButtonWithLabel&);
00084 void operator=(const vtkKWLoadSaveButtonWithLabel&);
00085 };
00086
00087 #endif