#include <vtkKWWidgetWithLabel.h>
Inheritance diagram for vtkKWWidgetWithLabel:
[NOHEADER] | |
enum | { LabelPositionDefault = 0, LabelPositionTop, LabelPositionBottom, LabelPositionLeft, LabelPositionRight } |
virtual void | SetLabelPosition (int) |
virtual int | GetLabelPosition () |
virtual void | SetLabelPositionToDefault () |
virtual void | SetLabelPositionToTop () |
virtual void | SetLabelPositionToBottom () |
virtual void | SetLabelPositionToLeft () |
virtual void | SetLabelPositionToRight () |
Public Types | |
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWWidgetWithLabel, vtkKWCompositeWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual void | SetBalloonHelpString (const char *str) |
virtual void | UpdateEnableState () |
virtual void | SetLabelVisibility (int) |
virtual void | LabelVisibilityOn () |
virtual void | LabelVisibilityOff () |
virtual int | GetLabelVisibility () |
virtual vtkKWLabel * | GetLabel () |
virtual int | HasLabel () |
virtual void | SetLabelText (const char *) |
const char * | GetLabelText () |
virtual void | SetLabelWidth (int width) |
virtual int | GetLabelWidth () |
Static Public Member Functions | |
vtkKWWidgetWithLabel * | New () |
Protected Member Functions | |
vtkKWWidgetWithLabel () | |
~vtkKWWidgetWithLabel () | |
virtual void | CreateLabel (vtkKWApplication *app) |
virtual void | Pack () |
Protected Attributes | |
int | LabelVisibility |
int | LabelPosition |
This class implements an abstract superclass for composite widgets associating a label to a widget.
Definition at line 29 of file vtkKWWidgetWithLabel.h.
|
If supported, set the label position in regards to the rest of the composite widget. Check the subclass for more information about what the Default position is, and if specific positions are supported. BTX
Definition at line 82 of file vtkKWWidgetWithLabel.h. |
|
|
|
|
|
|
|
|
|
|
Set/Get the internal label visibility (On by default). IMPORTANT: if you know you may not show the label, try to set that flag as early as possible (ideally, before calling Create()) in order to lower the footprint of the widget: the label will not be allocated and created if there is no need to show it. Later on, you can still use that option to show the label: it will be allocated and created on the fly. |
|
Set/Get the internal label visibility (On by default). IMPORTANT: if you know you may not show the label, try to set that flag as early as possible (ideally, before calling Create()) in order to lower the footprint of the widget: the label will not be allocated and created if there is no need to show it. Later on, you can still use that option to show the label: it will be allocated and created on the fly. |
|
Set/Get the internal label visibility (On by default). IMPORTANT: if you know you may not show the label, try to set that flag as early as possible (ideally, before calling Create()) in order to lower the footprint of the widget: the label will not be allocated and created if there is no need to show it. Later on, you can still use that option to show the label: it will be allocated and created on the fly. |
|
Set/Get the internal label visibility (On by default). IMPORTANT: if you know you may not show the label, try to set that flag as early as possible (ideally, before calling Create()) in order to lower the footprint of the widget: the label will not be allocated and created if there is no need to show it. Later on, you can still use that option to show the label: it will be allocated and created on the fly. |
|
Get the internal label. IMPORTANT: the internal label is "lazy created", i.e. it is neither allocated nor created until GetLabel() is called. This allows for a lower footprint and faster UI startup. Therefore, do *not* use GetLabel() to check if the label exists, as it will automatically allocate the label. Use HasLabel() instead. |
|
Get the internal label. IMPORTANT: the internal label is "lazy created", i.e. it is neither allocated nor created until GetLabel() is called. This allows for a lower footprint and faster UI startup. Therefore, do *not* use GetLabel() to check if the label exists, as it will automatically allocate the label. Use HasLabel() instead. |
|
Convenience method to set/get the contents label. IMPORTANT: SetLabelText will create the label on the fly, use it only if you are confident that you will indeed display the label. Reimplemented in vtkKWScaleWithEntry. |
|
Convenience method to set/get the contents label. IMPORTANT: SetLabelText will create the label on the fly, use it only if you are confident that you will indeed display the label. |
|
Convenience method to set/get the label width. IMPORTANT: this method will create the label on the fly, use it only if you are confident that you will indeed display the label. |
|
Convenience method to set/get the label width. IMPORTANT: this method will create the label on the fly, use it only if you are confident that you will indeed display the label. |
|
If supported, set the label position in regards to the rest of the composite widget. Check the subclass for more information about what the Default position is, and if specific positions are supported. BTX Reimplemented in vtkKWParameterValueFunctionEditor. |
|
If supported, set the label position in regards to the rest of the composite widget. Check the subclass for more information about what the Default position is, and if specific positions are supported. BTX |
|
If supported, set the label position in regards to the rest of the composite widget. Check the subclass for more information about what the Default position is, and if specific positions are supported. BTX Definition at line 93 of file vtkKWWidgetWithLabel.h. References LabelPositionDefault. |
|
If supported, set the label position in regards to the rest of the composite widget. Check the subclass for more information about what the Default position is, and if specific positions are supported. BTX Definition at line 95 of file vtkKWWidgetWithLabel.h. References LabelPositionTop. |
|
If supported, set the label position in regards to the rest of the composite widget. Check the subclass for more information about what the Default position is, and if specific positions are supported. BTX Definition at line 97 of file vtkKWWidgetWithLabel.h. References LabelPositionBottom. |
|
If supported, set the label position in regards to the rest of the composite widget. Check the subclass for more information about what the Default position is, and if specific positions are supported. BTX Definition at line 99 of file vtkKWWidgetWithLabel.h. References LabelPositionLeft. |
|
If supported, set the label position in regards to the rest of the composite widget. Check the subclass for more information about what the Default position is, and if specific positions are supported. BTX Definition at line 101 of file vtkKWWidgetWithLabel.h. References LabelPositionRight. |
|
Set the string that enables balloon help for this widget. Override to pass down to children. Reimplemented from vtkKWWidget. Reimplemented in vtkKWChangeColorButton, vtkKWParameterValueFunctionEditor, vtkKWRange, vtkKWScaleWithEntry, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWComboBoxWithLabel, vtkKWEntryWithLabel, vtkKWLabelWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWPopupButtonWithLabel, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, and vtkKWTextWithScrollbarsWithLabel. |
|
|
Create the label Reimplemented in vtkKWChangeColorButton, and vtkKWParameterValueFunctionEditor. |
|
Pack or repack the widget. To be implemented by subclasses. Reimplemented in vtkKWChangeColorButton, vtkKWColorTransferFunctionEditor, vtkKWParameterValueFunctionEditor, vtkKWPiecewiseFunctionEditor, vtkKWRange, vtkKWScaleWithEntry, vtkKWCheckButtonSetWithLabel, vtkKWCheckButtonWithLabel, vtkKWComboBoxWithLabel, vtkKWEntryWithLabel, vtkKWLabelWithLabel, vtkKWLoadSaveButtonWithLabel, vtkKWMenuButtonWithLabel, vtkKWMenuButtonWithSpinButtonsWithLabel, vtkKWMessageWithLabel, vtkKWPopupButtonWithLabel, vtkKWPushButtonSetWithLabel, vtkKWPushButtonWithLabel, vtkKWRadioButtonSetWithLabel, vtkKWScaleWithEntrySetWithLabel, vtkKWScaleWithLabel, vtkKWSpinBoxWithLabel, vtkKWTextWithLabel, and vtkKWTextWithScrollbarsWithLabel. Definition at line 131 of file vtkKWWidgetWithLabel.h. |
|
Label visibility Definition at line 122 of file vtkKWWidgetWithLabel.h. |
|
Label position Definition at line 125 of file vtkKWWidgetWithLabel.h. |