KWWidgets
Main Page
Classes
Files
File List
File Members
Examples
Cxx
Tutorial1
Step3
Examples/Cxx/Tutorial1/Step3/vtkKWMyWidget.h
Go to the documentation of this file.
1
#ifndef __vtkKWMyWidget_h
2
#define __vtkKWMyWidget_h
3
4
#include "vtkKWCompositeWidget.h"
5
6
class
vtkKWLabel
;
7
class
vtkKWCheckButton
;
8
9
class
vtkKWMyWidget
:
public
vtkKWCompositeWidget
10
{
11
public
:
12
static
vtkKWMyWidget
*
New
();
13
vtkTypeRevisionMacro(
vtkKWMyWidget
,
vtkKWCompositeWidget
);
14
15
// Description:
16
// Get the internal widgets.
17
vtkGetObjectMacro(
Label
,
vtkKWLabel
);
18
vtkGetObjectMacro(
CheckButton
,
vtkKWCheckButton
);
19
20
protected
:
21
vtkKWMyWidget
();
22
~vtkKWMyWidget
();
23
24
vtkKWLabel
*
Label
;
25
vtkKWCheckButton
*
CheckButton
;
26
27
// Description:
28
// Create the widget.
29
virtual
void
CreateWidget
();
30
31
// Description:
32
// Update the label's aspect according to the checkbutton's state.
33
virtual
void
UpdateLabel
();
34
35
// Description:
36
// Processes the events that are passed through CallbackCommand (or others).
37
virtual
void
ProcessCallbackCommandEvents
(
38
vtkObject *caller,
unsigned
long
event,
void
*calldata);
39
40
private
:
41
vtkKWMyWidget
(
const
vtkKWMyWidget
&);
// Not implemented.
42
void
operator=(
const
vtkKWMyWidget
&);
// Not implemented.
43
};
44
45
#endif
Generated on Sun Apr 28 2013 21:04:57 for KWWidgets by
1.8.3.1