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/vtkKWMyOperand2Step.h
Go to the documentation of this file.
1
#ifndef __vtkKWMyOperand2Step_h
2
#define __vtkKWMyOperand2Step_h
3
4
#include "vtkKWWizardStep.h"
5
6
class
vtkKWMyWizardDialog
;
7
class
vtkKWSpinBox
;
8
9
class
vtkKWMyOperand2Step
:
public
vtkKWWizardStep
10
{
11
public
:
12
static
vtkKWMyOperand2Step
*
New
();
13
vtkTypeRevisionMacro(
vtkKWMyOperand2Step
,
vtkKWWizardStep
);
14
15
// Description:
16
// Show/hide the UI, validate the step.
17
virtual
void
ShowUserInterface
();
18
virtual
void
HideUserInterface
();
19
virtual
void
Validate
();
20
21
// Description:
22
// Check if the operand is valid
23
//BTX
24
enum
25
{
26
Operand2IsValid
= 0,
27
Operand2IsEmpty
,
28
Operand2IsZero
29
};
30
//ETX
31
virtual
int
IsOperand2Valid
();
32
33
// Description:
34
// Get the operand value
35
virtual
double
GetOperand2Value
();
36
37
// Description:
38
// Set/Get the wizard widget this step should install its UI in.
39
vtkGetObjectMacro(
WizardDialog
,
vtkKWMyWizardDialog
);
40
virtual
void
SetWizardDialog
(
vtkKWMyWizardDialog
*);
41
42
// Description:
43
// Callbacks
44
virtual
int
Operand2EntryChangedCallback
(
const
char
*value);
45
46
protected
:
47
vtkKWMyOperand2Step
();
48
~vtkKWMyOperand2Step
();
49
50
vtkKWSpinBox
*
Operand2SpinBox
;
51
vtkKWMyWizardDialog
*
WizardDialog
;
52
53
private
:
54
vtkKWMyOperand2Step
(
const
vtkKWMyOperand2Step
&);
// Not implemented.
55
void
operator=(
const
vtkKWMyOperand2Step
&);
// Not implemented.
56
};
57
58
#endif
Generated on Thu Apr 18 2013 08:50:50 for KWWidgets by
1.8.1.2