#include <vtkKWSpinBox.h>
Inheritance diagram for vtkKWSpinBox:
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWSpinBox, vtkKWCoreWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual void | SetRange (double from, double to) |
virtual void | SetIncrement (double increment) |
virtual void | SetValueFormat (const char *format) |
virtual void | SetCommand (vtkObject *object, const char *method) |
virtual void | UpdateEnableState () |
virtual void | SetValue (double value) |
virtual double | GetValue () |
virtual void | SetWrap (int wrap) |
virtual int | GetWrap () |
virtual void | WrapOn () |
virtual void | WrapOff () |
virtual void | SetRestrictValuesToIntegers (int restrict) |
virtual void | RestrictValuesToIntegersOn () |
virtual void | RestrictValuesToIntegersOff () |
virtual void | SetWidth (int) |
virtual int | GetWidth () |
virtual void | SetExportSelection (int) |
virtual int | GetExportSelection () |
virtual void | ExportSelectionOn () |
virtual void | ExportSelectionOff () |
Static Public Member Functions | |
vtkKWSpinBox * | New () |
Protected Member Functions | |
vtkKWSpinBox () | |
~vtkKWSpinBox () |
A widget with up and down arrow controls and direct text editing. Typically used with integer fields that users increment by 1 (or decrement) by clicking on the arrows.
Definition at line 35 of file vtkKWSpinBox.h.
|
|
|
|
|
Reimplemented from vtkKWCoreWidget. |
|
|
|
Reimplemented from vtkKWCoreWidget. |
|
Create the widget. Reimplemented from vtkKWCoreWidget. |
|
Set the range. |
|
Set the increment value. |
|
Set/Get the current value. |
|
Set/Get the current value. |
|
Set/Get the string used to format the value. |
|
Set/Get the wrap. If on, values at edges of range wrap around to the other side of the range when clicking on the up/down arrows. |
|
Set/Get the wrap. If on, values at edges of range wrap around to the other side of the range when clicking on the up/down arrows. |
|
Set/Get the wrap. If on, values at edges of range wrap around to the other side of the range when clicking on the up/down arrows. |
|
Set/Get the wrap. If on, values at edges of range wrap around to the other side of the range when clicking on the up/down arrows. |
|
Prevent the user from typing in non-integer values. |
|
Prevent the user from typing in non-integer values. |
|
Prevent the user from typing in non-integer values. |
|
Set/Get the width of the spinbox in number of characters. |
|
Set/Get the width of the spinbox in number of characters. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection. |
|
Specifies a command to associate with the widget. This command is typically invoked whenever the button is invoked. The first argument is the object that will have the method called on it. The second argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is evaluated as a simple command. |
|
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. |