Class to define a trigger button.
More...
#include <Inventor/dialog/PoXtTriggerButtonData.h>
Public Member Functions | |
| PoXtTriggerButtonData (const SbString &label="", const SbString &buttonLabel="") | |
| virtual | ~PoXtTriggerButtonData () |
| SoNONUNICODE void | setLabel (const char *label) |
| void | setLabel (const SbString &label) |
| SbString | getLabel () const |
| SoNONUNICODE void | setButtonLabel (const char *label) |
| void | setButtonLabel (const SbString &label) |
| SbString | getButtonLabel () const |
| virtual TypeXtElement | getType () const |
| virtual PoXtElementData * | copy () const |
Class to define a trigger button.
This element is composed of a label on the left and by a button. By default the text of the label and the text of the button is an empty string.
| PoXtTriggerButtonData::PoXtTriggerButtonData | ( | const SbString & | label = "", |
|
| const SbString & | buttonLabel = "" | |||
| ) |
Constructor.
| virtual PoXtTriggerButtonData::~PoXtTriggerButtonData | ( | ) | [virtual] |
Destructor.
| virtual PoXtElementData* PoXtTriggerButtonData::copy | ( | ) | const [virtual] |
Creates and returns a new Xt element which is a copy of this Xt element.
Implements PoXtElementData.
| SbString PoXtTriggerButtonData::getButtonLabel | ( | ) | const |
Gets the label of the button.
| SbString PoXtTriggerButtonData::getLabel | ( | ) | const |
Gets the text of the label on the left of the button.
| virtual TypeXtElement PoXtTriggerButtonData::getType | ( | ) | const [virtual] |
Returns the type of the Xt element.
Reimplemented from PoXtElementData.
| void PoXtTriggerButtonData::setButtonLabel | ( | const SbString & | label | ) |
Sets the label of the button.
| SoNONUNICODE void PoXtTriggerButtonData::setButtonLabel | ( | const char * | label | ) |
Sets the label of the button.
| void PoXtTriggerButtonData::setLabel | ( | const SbString & | label | ) |
Sets the text of the label on the left of the button.
| SoNONUNICODE void PoXtTriggerButtonData::setLabel | ( | const char * | label | ) |
Sets the text of the label on the left of the button.