#include <vtkKWToolbar.h>
Inheritance diagram for vtkKWToolbar:
[NOHEADER] | |
virtual void | SetFlatAspect (int) |
virtual void | FlatAspectOn () |
virtual void | FlatAspectOff () |
virtual int | GetFlatAspect () |
int | GetGlobalFlatAspect () |
void | SetGlobalFlatAspect (int val) |
void | GlobalFlatAspectOn () |
void | GlobalFlatAspectOff () |
[NOHEADER] | |
virtual void | SetWidgetsFlatAspect (int) |
virtual void | WidgetsFlatAspectOn () |
virtual void | WidgetsFlatAspectOff () |
virtual int | GetWidgetsFlatAspect () |
int | GetGlobalWidgetsFlatAspect () |
void | SetGlobalWidgetsFlatAspect (int val) |
void | GlobalWidgetsFlatAspectOn () |
void | GlobalWidgetsFlatAspectOff () |
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWToolbar, vtkKWCompositeWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual vtkKWWidget * | GetWidget (const char *name) |
virtual vtkKWWidget * | GetNthWidget (int rank) |
virtual void | UpdateWidgets () |
virtual void | Update () |
virtual void | UpdateEnableState () |
virtual vtkKWFrame * | GetFrame () |
virtual void | SetResizable (int) |
virtual int | GetResizable () |
virtual void | ResizableOn () |
virtual void | ResizableOff () |
virtual char * | GetName () |
virtual void | SetName (const char *) |
virtual void | AddWidget (vtkKWWidget *widget) |
virtual void | InsertWidget (vtkKWWidget *location, vtkKWWidget *widget) |
virtual int | HasWidget (vtkKWWidget *widget) |
virtual int | GetNumberOfWidgets () |
virtual void | RemoveWidget (vtkKWWidget *widget) |
virtual void | RemoveAllWidgets () |
vtkKWWidget * | AddRadioButtonImage (int value, const char *image_name, const char *select_image_name, const char *variable_name, vtkObject *object, const char *method, const char *help=0) |
vtkKWWidget * | AddCheckButtonImage (const char *image_name, const char *select_image_name, const char *variable_name, vtkObject *object, const char *method, const char *help=0) |
virtual void | SetWidgetsPadX (int) |
virtual int | GetWidgetsPadX () |
virtual void | SetWidgetsPadY (int) |
virtual int | GetWidgetsPadY () |
virtual void | SetWidgetsFlatAdditionalPadX (int) |
virtual int | GetWidgetsFlatAdditionalPadX () |
virtual void | SetWidgetsFlatAdditionalPadY (int) |
virtual int | GetWidgetsFlatAdditionalPadY () |
virtual void | ScheduleResize () |
virtual void | Resize () |
Static Public Member Functions | |
vtkKWToolbar * | New () |
Static Public Attributes | |
const char * | FlatAspectRegKey |
const char * | WidgetsFlatAspectRegKey |
Protected Member Functions | |
vtkKWToolbar () | |
~vtkKWToolbar () | |
void | ConstrainWidgetsLayout () |
void | UpdateWidgetsLayout () |
void | UpdateWidgetsAspect () |
void | UpdateToolbarFrameAspect () |
virtual void | Bind () |
virtual void | UnBind () |
Protected Attributes | |
int | Expanding |
vtkKWFrame * | Frame |
vtkKWFrame * | Handle |
vtkKWToolbarInternals * | Internals |
int | WidgetsPadX |
int | WidgetsPadY |
int | WidgetsFlatAdditionalPadX |
int | WidgetsFlatAdditionalPadY |
int | FlatAspect |
int | WidgetsFlatAspect |
int | Resizable |
vtkKWRadioButton * | DefaultOptionsWidget |
char * | Name |
Simply a frame to hold a bunch of tools. It uses bindings to control the height of the frame. In the future we could use the object to move toolbars groups around.
Definition at line 32 of file vtkKWToolbar.h.
|
|
|
|
|
Reimplemented from vtkKWCompositeWidget. Reimplemented in vtkPVVCRControl. |
|
|
|
Reimplemented from vtkKWCompositeWidget. Reimplemented in vtkPVVCRControl. |
|
Create the widget. Reimplemented from vtkKWCompositeWidget. Reimplemented in vtkPVVCRControl. |
|
Returns the main frame of the toolbar. This should be used as the parent of all the widgets in the toolbar. |
|
Determines whether the toolbar is resizable. |
|
Determines whether the toolbar is resizable. |
|
Determines whether the toolbar is resizable. |
|
Determines whether the toolbar is resizable. |
|
Set/Get the name of the toolbar. This is optional but certainly useful if this toolbar is meant to be added to a vtkKWToolbarSet |
|
Set/Get the name of the toolbar. This is optional but certainly useful if this toolbar is meant to be added to a vtkKWToolbarSet |
|
Add a widget to the toolbar, insert a widget before 'location' (or at beginning of list if 'location' is not found) |
|
Add a widget to the toolbar, insert a widget before 'location' (or at beginning of list if 'location' is not found) |
|
Query widgets |
|
Query widgets |
|
Remove a widget (or all) from the toolbar |
|
Remove a widget (or all) from the toolbar |
|
Convenience method to retrieve a widget given its name. The name is looked up in common Tk options like -label, -text, -image, -selectimage |
|
Retrieve the nth- widget |
|
Convenience method to create and add a specific type of widget Note: for radiobutton, the variable_name should be the same for each radiobutton in the set of radiobuttons. for checkbutton, this is only optional (can be NULL) |
|
Convenience method to create and add a specific type of widget Note: for radiobutton, the variable_name should be the same for each radiobutton in the set of radiobuttons. for checkbutton, this is only optional (can be NULL) |
|
Update/refresh the widgets layout/aspect |
|
Update/refresh the toolbar layout/aspect (does not include the widgets) |
|
Set/Get the flat aspect of the toolbar (flat or 3D GUI style) The static GlobalFlatAspect member can be set so that all toolbars are rendered using the same aspect. |
|
Set/Get the flat aspect of the toolbar (flat or 3D GUI style) The static GlobalFlatAspect member can be set so that all toolbars are rendered using the same aspect. |
|
Set/Get the flat aspect of the toolbar (flat or 3D GUI style) The static GlobalFlatAspect member can be set so that all toolbars are rendered using the same aspect. |
|
Set/Get the flat aspect of the toolbar (flat or 3D GUI style) The static GlobalFlatAspect member can be set so that all toolbars are rendered using the same aspect. |
|
Set/Get the flat aspect of the toolbar (flat or 3D GUI style) The static GlobalFlatAspect member can be set so that all toolbars are rendered using the same aspect. |
|
Set/Get the flat aspect of the toolbar (flat or 3D GUI style) The static GlobalFlatAspect member can be set so that all toolbars are rendered using the same aspect. Referenced by GlobalFlatAspectOff(), and GlobalFlatAspectOn(). |
|
Set/Get the flat aspect of the toolbar (flat or 3D GUI style) The static GlobalFlatAspect member can be set so that all toolbars are rendered using the same aspect. Definition at line 125 of file vtkKWToolbar.h. References SetGlobalFlatAspect(). |
|
Set/Get the flat aspect of the toolbar (flat or 3D GUI style) The static GlobalFlatAspect member can be set so that all toolbars are rendered using the same aspect. Definition at line 127 of file vtkKWToolbar.h. References SetGlobalFlatAspect(). |
|
Set/Get the flat aspect of the widgets (flat or 3D GUI style) The static GlobalWidgetsFlatAspect member can be set so that all widgets are rendered using the same aspect. |
|
Set/Get the flat aspect of the widgets (flat or 3D GUI style) The static GlobalWidgetsFlatAspect member can be set so that all widgets are rendered using the same aspect. |
|
Set/Get the flat aspect of the widgets (flat or 3D GUI style) The static GlobalWidgetsFlatAspect member can be set so that all widgets are rendered using the same aspect. |
|
Set/Get the flat aspect of the widgets (flat or 3D GUI style) The static GlobalWidgetsFlatAspect member can be set so that all widgets are rendered using the same aspect. |
|
Set/Get the flat aspect of the widgets (flat or 3D GUI style) The static GlobalWidgetsFlatAspect member can be set so that all widgets are rendered using the same aspect. |
|
Set/Get the flat aspect of the widgets (flat or 3D GUI style) The static GlobalWidgetsFlatAspect member can be set so that all widgets are rendered using the same aspect. Referenced by GlobalWidgetsFlatAspectOff(), and GlobalWidgetsFlatAspectOn(). |
|
Set/Get the flat aspect of the widgets (flat or 3D GUI style) The static GlobalWidgetsFlatAspect member can be set so that all widgets are rendered using the same aspect. Definition at line 140 of file vtkKWToolbar.h. References SetGlobalWidgetsFlatAspect(). |
|
Set/Get the flat aspect of the widgets (flat or 3D GUI style) The static GlobalWidgetsFlatAspect member can be set so that all widgets are rendered using the same aspect. Definition at line 142 of file vtkKWToolbar.h. References SetGlobalWidgetsFlatAspect(). |
|
Set/Get the padding that will be applied around each widget. (default to 0 on Windows, 1 otherwise). |
|
Set/Get the padding that will be applied around each widget. (default to 0 on Windows, 1 otherwise). |
|
Set/Get the padding that will be applied around each widget. (default to 0 on Windows, 1 otherwise). |
|
Set/Get the padding that will be applied around each widget. (default to 0 on Windows, 1 otherwise). |
|
Set/Get the additional internal padding that will be applied around each widget when WidgetsFlatAspect is On (default to 1). |
|
Set/Get the additional internal padding that will be applied around each widget when WidgetsFlatAspect is On (default to 1). |
|
Set/Get the additional internal padding that will be applied around each widget when WidgetsFlatAspect is On (default to 1). |
|
Set/Get the additional internal padding that will be applied around each widget when WidgetsFlatAspect is On (default to 1). |
|
Callbacks to ensure all widgets are visible (only if the were added with AddWidget) |
|
Callbacks to ensure all widgets are visible (only if the were added with AddWidget) |
|
Update the "enable" state of the object and its internal parts. Depending on different Ivars (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. Reimplemented in vtkPVVCRControl. |
|
|
|
|
|
|
|
|
|
Bind/Unbind events. |
|
Bind/Unbind events. |
|
Some constants BTX Definition at line 181 of file vtkKWToolbar.h. |
|
Some constants BTX Definition at line 182 of file vtkKWToolbar.h. |
|
Definition at line 190 of file vtkKWToolbar.h. |
|
Definition at line 192 of file vtkKWToolbar.h. |
|
Definition at line 193 of file vtkKWToolbar.h. |
|
PIMPL Encapsulation for STL containers Reimplemented from vtkKWWidget. Definition at line 204 of file vtkKWToolbar.h. |
|
Definition at line 208 of file vtkKWToolbar.h. |
|
Definition at line 209 of file vtkKWToolbar.h. |
|
Definition at line 210 of file vtkKWToolbar.h. |
|
Definition at line 211 of file vtkKWToolbar.h. |
|
Definition at line 213 of file vtkKWToolbar.h. |
|
Definition at line 214 of file vtkKWToolbar.h. |
|
Definition at line 215 of file vtkKWToolbar.h. |
|
Definition at line 217 of file vtkKWToolbar.h. |
|
Definition at line 219 of file vtkKWToolbar.h. |