A set of spin-buttons. More...
#include <vtkKWSpinButtons.h>


A set of spin-buttons.
This widget implements a small set of two buttons that can be used to switch to the next or previous value of an external variable through callbacks. The buttons can be set to display up/down or left/right arrows, and laid out vertically or horizontally. The 'previous' button is mapped to the up/left arrow, the 'next' button is mapped to the 'down/right' arrow.
Definition at line 39 of file vtkKWSpinButtons.h.
Reimplemented from vtkKWCompositeWidget.
Definition at line 44 of file vtkKWSpinButtons.h.
| anonymous enum |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
Definition at line 67 of file vtkKWSpinButtons.h.
| anonymous enum |
Set/Get the layout of the spin buttons. If set to horizontal, the 'previous' button is packed to the left of the 'next' button. If set to vertical, the 'previous' button is packed on top of the 'next' button. BTX
Definition at line 88 of file vtkKWSpinButtons.h.
| vtkKWSpinButtons::vtkKWSpinButtons | ( | ) | [protected] |
| vtkKWSpinButtons::~vtkKWSpinButtons | ( | ) | [protected] |
| static vtkKWSpinButtons* vtkKWSpinButtons::New | ( | ) | [static] |
Reimplemented from vtkKWCompositeWidget.
| virtual const char* vtkKWSpinButtons::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkKWCompositeWidget.
| static int vtkKWSpinButtons::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkKWCompositeWidget.
| virtual int vtkKWSpinButtons::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkKWCompositeWidget.
| static vtkKWSpinButtons* vtkKWSpinButtons::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkKWCompositeWidget.
| void vtkKWSpinButtons::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkKWCompositeWidget.
| virtual vtkKWPushButton* vtkKWSpinButtons::GetPreviousButton | ( | ) | [virtual] |
Get the buttons
| virtual vtkKWPushButton* vtkKWSpinButtons::GetNextButton | ( | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual void vtkKWSpinButtons::SetPreviousCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Specifies the commands to associate to the next and previous buttons. The 'object' argument is the object that will have the method called on it. The 'method' argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is still evaluated as a simple command.
| virtual void vtkKWSpinButtons::SetNextCommand | ( | vtkObject * | object, | |
| const char * | method | |||
| ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual void vtkKWSpinButtons::SetArrowOrientation | ( | int | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual int vtkKWSpinButtons::GetArrowOrientation | ( | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual void vtkKWSpinButtons::SetArrowOrientationToHorizontal | ( | ) | [inline, virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
Definition at line 75 of file vtkKWSpinButtons.h.
| virtual void vtkKWSpinButtons::SetArrowOrientationToVertical | ( | ) | [inline, virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
Definition at line 78 of file vtkKWSpinButtons.h.
| virtual void vtkKWSpinButtons::SetLayoutOrientation | ( | int | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual int vtkKWSpinButtons::GetLayoutOrientation | ( | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual void vtkKWSpinButtons::SetLayoutOrientationToHorizontal | ( | ) | [inline, virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
Definition at line 96 of file vtkKWSpinButtons.h.
| virtual void vtkKWSpinButtons::SetLayoutOrientationToVertical | ( | ) | [inline, virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
Definition at line 99 of file vtkKWSpinButtons.h.
| virtual void vtkKWSpinButtons::SetButtonsPadX | ( | int | ) | [virtual] |
Set/Get the padding that will be applied around each buttons. (default to 0).
| virtual int vtkKWSpinButtons::GetButtonsPadX | ( | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual void vtkKWSpinButtons::SetButtonsPadY | ( | int | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual int vtkKWSpinButtons::GetButtonsPadY | ( | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual void vtkKWSpinButtons::SetButtonsWidth | ( | int | w | ) | [virtual] |
Set the buttons width/height. No effects if called before Create()
| virtual int vtkKWSpinButtons::GetButtonsWidth | ( | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual void vtkKWSpinButtons::SetButtonsHeight | ( | int | h | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual int vtkKWSpinButtons::GetButtonsHeight | ( | ) | [virtual] |
Set/Get the arrow orientation of the spin buttons. If set to horizontal, left/right arrows will be used. If set to vertical, up/down arrows will be used. BTX
| virtual void vtkKWSpinButtons::UpdateEnableState | ( | ) | [virtual] |
Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc.
Reimplemented from vtkKWWidget.
| virtual void vtkKWSpinButtons::CreateWidget | ( | ) | [protected, virtual] |
Create the widget.
Reimplemented from vtkKWCompositeWidget.
| virtual void vtkKWSpinButtons::Pack | ( | ) | [protected, virtual] |
| virtual void vtkKWSpinButtons::UpdateArrowOrientation | ( | ) | [protected, virtual] |
vtkKWPushButton* vtkKWSpinButtons::PreviousButton [protected] |
Definition at line 138 of file vtkKWSpinButtons.h.
vtkKWPushButton* vtkKWSpinButtons::NextButton [protected] |
Definition at line 139 of file vtkKWSpinButtons.h.
int vtkKWSpinButtons::ArrowOrientation [protected] |
Definition at line 141 of file vtkKWSpinButtons.h.
int vtkKWSpinButtons::LayoutOrientation [protected] |
Definition at line 142 of file vtkKWSpinButtons.h.
int vtkKWSpinButtons::ButtonsPadX [protected] |
Definition at line 144 of file vtkKWSpinButtons.h.
int vtkKWSpinButtons::ButtonsPadY [protected] |
Definition at line 145 of file vtkKWSpinButtons.h.
1.6.1