a vtkKWMenuButton associated to a vtkKWLabel More...
#include <vtkKWMenuButtonWithLabel.h>


Public Types | |
| typedef vtkKWWidgetWithLabel | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual vtkKWMenuButton * | GetWidget () |
| virtual void | SetBalloonHelpString (const char *str) |
| virtual void | UpdateEnableState () |
| virtual void | SetExpandWidget (int) |
| virtual void | ExpandWidgetOn () |
| virtual void | ExpandWidgetOff () |
| virtual int | GetExpandWidget () |
Static Public Member Functions | |
| static vtkKWMenuButtonWithLabel * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkKWMenuButtonWithLabel * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkKWMenuButtonWithLabel () | |
| ~vtkKWMenuButtonWithLabel () | |
| virtual void | CreateWidget () |
| virtual void | Pack () |
Protected Attributes | |
| int | ExpandWidget |
| vtkKWMenuButton * | Widget |
a vtkKWMenuButton associated to a vtkKWLabel
This class creates a composite widget associating a vtkKWMenuButton to a vtkKWLabel. As a subclass of vtkKWWidgetWithLabel, it inherits a label and methods to set its position and visibility. Note that the default label position implemented in this class is on the left of the vtkKWMenuButton, but specific positions listed in vtkKWWidgetWithLabel are supported as well.
Templates/vtkKWWidgetWithLabelSubclass.h.in and Templates/vtkKWWidgetWithLabelSubclass.cxx.in files for the type vtkKWMenuButton. Classes related to the same template can be found in the KWWidgets Auto-Generated Classes: Widget With label section. Definition at line 42 of file vtkKWMenuButtonWithLabel.h.
Reimplemented from vtkKWWidgetWithLabel.
Reimplemented in vtkKWColorPresetMenu.
Definition at line 46 of file vtkKWMenuButtonWithLabel.h.
| vtkKWMenuButtonWithLabel::vtkKWMenuButtonWithLabel | ( | ) | [protected] |
| vtkKWMenuButtonWithLabel::~vtkKWMenuButtonWithLabel | ( | ) | [protected] |
| static vtkKWMenuButtonWithLabel* vtkKWMenuButtonWithLabel::New | ( | ) | [static] |
Reimplemented from vtkKWWidgetWithLabel.
Reimplemented in vtkKWColorPresetMenu.
| virtual const char* vtkKWMenuButtonWithLabel::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkKWWidgetWithLabel.
Reimplemented in vtkKWColorPresetMenu.
| static int vtkKWMenuButtonWithLabel::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkKWWidgetWithLabel.
Reimplemented in vtkKWColorPresetMenu.
| virtual int vtkKWMenuButtonWithLabel::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkKWWidgetWithLabel.
Reimplemented in vtkKWColorPresetMenu.
| static vtkKWMenuButtonWithLabel* vtkKWMenuButtonWithLabel::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkKWWidgetWithLabel.
Reimplemented in vtkKWColorPresetMenu.
| void vtkKWMenuButtonWithLabel::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkKWWidgetWithLabel.
Reimplemented in vtkKWColorPresetMenu.
| virtual vtkKWMenuButton* vtkKWMenuButtonWithLabel::GetWidget | ( | ) | [virtual] |
Get the vtkKWMenuButton that is being labeled
| virtual void vtkKWMenuButtonWithLabel::SetExpandWidget | ( | int | ) | [virtual] |
Set the layout to allow the widget that is labeled to expand horizontally automatically
| virtual void vtkKWMenuButtonWithLabel::ExpandWidgetOn | ( | ) | [virtual] |
Set the layout to allow the widget that is labeled to expand horizontally automatically
| virtual void vtkKWMenuButtonWithLabel::ExpandWidgetOff | ( | ) | [virtual] |
Set the layout to allow the widget that is labeled to expand horizontally automatically
| virtual int vtkKWMenuButtonWithLabel::GetExpandWidget | ( | ) | [virtual] |
Set the layout to allow the widget that is labeled to expand horizontally automatically
| virtual void vtkKWMenuButtonWithLabel::SetBalloonHelpString | ( | const char * | str | ) | [virtual] |
Set the string that enables balloon help for this widget. Override to pass down to children.
Reimplemented from vtkKWWidgetWithLabel.
| virtual void vtkKWMenuButtonWithLabel::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 vtkKWWidgetWithLabel.
| virtual void vtkKWMenuButtonWithLabel::CreateWidget | ( | ) | [protected, virtual] |
| virtual void vtkKWMenuButtonWithLabel::Pack | ( | ) | [protected, virtual] |
Pack or repack the widget. To be implemented by subclasses.
Reimplemented from vtkKWWidgetWithLabel.
int vtkKWMenuButtonWithLabel::ExpandWidget [protected] |
Expand the widget that is being labeled
Definition at line 80 of file vtkKWMenuButtonWithLabel.h.
vtkKWMenuButton* vtkKWMenuButtonWithLabel::Widget [protected] |
Internal widget
Definition at line 86 of file vtkKWMenuButtonWithLabel.h.
1.6.1