KWWidgets
debian/kwwidgets-examples/usr/share/doc/kwwidgets-examples/examples/Cxx/Callbacks/vtkKWMyWidget.h
Go to the documentation of this file.
1 #ifndef __vtkKWMyWidget_h
2 #define __vtkKWMyWidget_h
3 
4 #include "vtkKWCompositeWidget.h"
6 
7 class vtkKWScale;
8 
9 // Note that C++ class have to be prefixed with "vtk" to be wrapped
10 // automatically.
11 
13 {
14 public:
15  static vtkKWMyWidget* New();
16  vtkTypeRevisionMacro(vtkKWMyWidget,vtkKWCompositeWidget);
17 
18  // Description:
19  // Callbacks
20  virtual void ScaleChangeNotifiedByCommandCallback(double value);
21 
22 protected:
23  vtkKWMyWidget();
24  ~vtkKWMyWidget();
25 
27 
28  // Description:
29  // Create the widget.
30  virtual void CreateWidget();
31 
32  // Description:
33  // Processes the events that are passed through CallbackCommand (or others).
34  virtual void ProcessCallbackCommandEvents(
35  vtkObject *caller, unsigned long event, void *calldata);
36 
37 private:
38  vtkKWMyWidget(const vtkKWMyWidget&); // Not implemented.
39  void operator=(const vtkKWMyWidget&); // Not implemented.
40 };
41 
42 #endif