KWWidgets
Main Page
Classes
Files
File List
File Members
debian
kwwidgets-examples
usr
share
doc
kwwidgets-examples
examples
Cxx
WizardDialog
debian/kwwidgets-examples/usr/share/doc/kwwidgets-examples/examples/Cxx/WizardDialog/vtkKWMyOperand1Step.h
Go to the documentation of this file.
1
#ifndef __vtkKWMyOperand1Step_h
2
#define __vtkKWMyOperand1Step_h
3
4
#include "vtkKWWizardStep.h"
5
6
class
vtkKWMyWizardDialog
;
7
class
vtkKWEntry
;
8
class
vtkKWStateMachineInput
;
9
10
class
vtkKWMyOperand1Step
:
public
vtkKWWizardStep
11
{
12
public
:
13
static
vtkKWMyOperand1Step
*
New
();
14
vtkTypeRevisionMacro(
vtkKWMyOperand1Step
,
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
// Check if the operand is valid
24
//BTX
25
enum
26
{
27
Operand1IsValid
= 0,
28
Operand1IsEmpty
,
29
Operand1IsNegative
30
};
31
//ETX
32
virtual
int
IsOperand1Valid
();
33
34
// Description:
35
// Get the operand value
36
virtual
double
GetOperand1Value
();
37
38
// Description:
39
// Set/Get the wizard widget this step should install its UI in.
40
vtkGetObjectMacro(
WizardDialog
,
vtkKWMyWizardDialog
);
41
virtual
void
SetWizardDialog
(
vtkKWMyWizardDialog
*);
42
43
// Description:
44
// Get the input to that can be used to branch when the operator
45
// requires only one operand.
46
vtkGetObjectMacro(
Operand1ValidationSucceededForOneOperandInput
,
vtkKWStateMachineInput
);
47
48
// Description:
49
// Callbacks
50
virtual
int
Operand1EntryChangedCallback
(
const
char
*value);
51
52
protected
:
53
vtkKWMyOperand1Step
();
54
~vtkKWMyOperand1Step
();
55
56
vtkKWStateMachineInput
*
Operand1ValidationSucceededForOneOperandInput
;
57
vtkKWEntry
*
Operand1Entry
;
58
vtkKWMyWizardDialog
*
WizardDialog
;
59
60
private
:
61
vtkKWMyOperand1Step
(
const
vtkKWMyOperand1Step
&);
// Not implemented.
62
void
operator=(
const
vtkKWMyOperand1Step
&);
// Not implemented.
63
};
64
65
#endif
Generated on Thu Apr 18 2013 08:50:50 for KWWidgets by
1.8.1.2