vtkKWMenuButtonWithLabel Class Reference
[KWWidgets Auto-Generated Classes: Widget With label]

a vtkKWMenuButton associated to a vtkKWLabel More...

#include <vtkKWMenuButtonWithLabel.h>

Inheritance diagram for vtkKWMenuButtonWithLabel:
Inheritance graph
[legend]
Collaboration diagram for vtkKWMenuButtonWithLabel:
Collaboration graph
[legend]

List of all members.

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 vtkKWMenuButtonGetWidget ()
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 vtkKWMenuButtonWithLabelNew ()
static int IsTypeOf (const char *type)
static vtkKWMenuButtonWithLabelSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWMenuButtonWithLabel ()
 ~vtkKWMenuButtonWithLabel ()
virtual void CreateWidget ()
virtual void Pack ()

Protected Attributes

int ExpandWidget
vtkKWMenuButtonWidget

Detailed Description

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.

Attention:
This class and the corresponding code were generated automatically by instantiating the 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.
See also:
vtkKWWidgetWithLabel vtkKWMenuButton

Definition at line 42 of file vtkKWMenuButtonWithLabel.h.


Member Typedef Documentation

Reimplemented from vtkKWWidgetWithLabel.

Reimplemented in vtkKWColorPresetMenu.

Definition at line 46 of file vtkKWMenuButtonWithLabel.h.


Constructor & Destructor Documentation

vtkKWMenuButtonWithLabel::vtkKWMenuButtonWithLabel (  )  [protected]
vtkKWMenuButtonWithLabel::~vtkKWMenuButtonWithLabel (  )  [protected]

Member Function Documentation

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]

Create the widget

Reimplemented from vtkKWWidgetWithLabel.

Reimplemented in vtkKWColorPresetMenu.

virtual void vtkKWMenuButtonWithLabel::Pack (  )  [protected, virtual]

Pack or repack the widget. To be implemented by subclasses.

Reimplemented from vtkKWWidgetWithLabel.


Member Data Documentation

Expand the widget that is being labeled

Definition at line 80 of file vtkKWMenuButtonWithLabel.h.

Internal widget

Definition at line 86 of file vtkKWMenuButtonWithLabel.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Apr 27 02:35:36 2010 for KWWidgets by  doxygen 1.6.1