KWWidgets
Examples/Cxx/WizardDialog/vtkKWMyOperatorStep.h
Go to the documentation of this file.
1 #ifndef __vtkKWMyOperatorStep_h
2 #define __vtkKWMyOperatorStep_h
3 
4 #include "vtkKWWizardStep.h"
5 
9 
11 {
12 public:
13  static vtkKWMyOperatorStep* New();
14  vtkTypeRevisionMacro(vtkKWMyOperatorStep,vtkKWWizardStep);
15 
16  // Description:
17  // Show/hide the UI, validate the step.
18  virtual void ShowUserInterface();
19  virtual void HideUserInterface();
20  virtual void Validate();
21 
22  // Description:
23  // Get selected operator
24  //BTX
25  enum
26  {
27  OperatorAddition = 0,
31  };
32  //ETX
33  virtual int GetSelectedOperator();
34 
35  // Description:
36  // Set/Get the wizard widget this step should install its UI in.
37  vtkGetObjectMacro(WizardDialog, vtkKWMyWizardDialog);
38  virtual void SetWizardDialog(vtkKWMyWizardDialog*);
39 
40 protected:
43 
46 
47 private:
48  vtkKWMyOperatorStep(const vtkKWMyOperatorStep&); // Not implemented.
49  void operator=(const vtkKWMyOperatorStep&); // Not implemented.
50 };
51 
52 #endif