KWWidgets
Main Page
Classes
Files
File List
File Members
Examples
Cxx
WizardDialog
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
6
class
vtkKWMyWizardDialog
;
7
class
vtkKWRadioButtonSet
;
8
class
vtkKWStateMachineInput
;
9
10
class
vtkKWMyOperatorStep
:
public
vtkKWWizardStep
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,
28
OperatorDivision
,
29
OperatorSquareRoot
,
30
OperatorUnknown
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
:
41
vtkKWMyOperatorStep
();
42
~vtkKWMyOperatorStep
();
43
44
vtkKWRadioButtonSet
*
OperatorRadioButtonSet
;
45
vtkKWMyWizardDialog
*
WizardDialog
;
46
47
private
:
48
vtkKWMyOperatorStep
(
const
vtkKWMyOperatorStep
&);
// Not implemented.
49
void
operator=(
const
vtkKWMyOperatorStep
&);
// Not implemented.
50
};
51
52
#endif
Generated on Thu Apr 18 2013 08:50:50 for KWWidgets by
1.8.1.2