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