KWWidgets
Examples/Cxx/Tutorial1/Step2/vtkKWMyWidget.h
Go to the documentation of this file.
1 #ifndef __vtkKWMyWidget_h
2 #define __vtkKWMyWidget_h
3 
4 #include "vtkKWCompositeWidget.h"
5 
6 class vtkKWLabel;
7 class vtkKWCheckButton;
8 
10 {
11 public:
12  static vtkKWMyWidget* New();
13  vtkTypeRevisionMacro(vtkKWMyWidget,vtkKWCompositeWidget);
14 
15  // Description:
16  // Get the internal widgets.
17  vtkGetObjectMacro(Label, vtkKWLabel);
18  vtkGetObjectMacro(CheckButton, vtkKWCheckButton);
19 
20 protected:
21  vtkKWMyWidget();
23 
26 
27  // Description:
28  // Create the widget.
29  virtual void CreateWidget();
30 
31 private:
32  vtkKWMyWidget(const vtkKWMyWidget&); // Not implemented.
33  void operator=(const vtkKWMyWidget&); // Not implemented.
34 };
35 
36 #endif