![]() |
VR-Forces 4.0.4 Class Documentation
|

Signals | |
| void | typeChanged (const DtRangedObjectType &) |
Public Member Functions | |
| DtEnumerationSelectionWidget (QWidget *parent=NULL, const Qt::WindowFlags &flags=0) | |
| default constructor | |
| virtual | ~DtEnumerationSelectionWidget () |
| destructor | |
| virtual bool | init (DtDisDictionary *disDictionary, bool showEnumInText=false) |
| Sets up the comboboxes based on the given DtDisDictionary. | |
| virtual void | clear () |
| Clears out any current UI elements. | |
| virtual void | clearEnumeration (int) |
| Clears the enumeration values of the specified enumeration combo. | |
| virtual void | objectType (DtRangedObjectType &) const |
| Fills in the object type based on combo settings. | |
| virtual void | objectType (DtObjectType &) const |
| virtual void | setKindEnabled (bool) |
| void | setOnlyValidKind (int) |
| int | onlyValidKind () const |
| If only one valid kind is supported, returns it. | |
| void | setAllowRange (bool) |
| bool | allowRange () const |
| void | setAllowWildcard (bool v) |
| bool | allowWildCard () const |
| Returns whether or not wild cards are allowed. | |
| virtual int | numberOfEnumerations () const |
| Returns the number of enumerations supported by this widget. | |
| virtual void | setEnumerationEnabled (int, bool) |
| Sets whether or not the enumeration combo is enabled. | |
| virtual bool | enumerationEnabled (int) const |
| Returns whether or not enumeration is enabled. | |
| virtual QHash< QString, int > | supportedEnumerations (int) const |
| Returns a map of the enumerations supported for the enumeration type. | |
| virtual void | setSelectedEnumeration (int enumeration, const QString &) |
| Sets the enumeration to be selected. | |
| virtual QString | selectedEnumeration (int) const |
| Returns the enumeration selected. | |
| virtual void | setEnumerationText (int, const QString &) |
| Sets the text of the enumeration line edit. | |
| virtual bool | showEnumInText () const |
| Returns true if the enumeration should be shown with the text. | |
| virtual void | addEnumeration (int enumeration, int id, const QString &) |
| For the given enumeration, add the enumeration value and string respresentation. | |
| virtual void | signalTypeChanged (const DtRangedObjectType &) |
| Signal that the type has changed to the supplied type. | |
| virtual void | setObjectType (const DtRangedObjectType &) |
| virtual void | setObjectType (const DtObjectType &) |
Public Attributes | |
| Ui_DtEnumerationSelectionUI | myUiImpl |
Protected Types | |
| typedef std::pair< QComboBox *, QLineEdit * > | EnumerationInformation |
| typedef std::vector < EnumerationInformation > | EnumerationInformationVector |
Protected Slots | |
| virtual void | comboChanged (int) |
| virtual void | enumerationChanged (const QString &) |
Protected Member Functions | |
| virtual void | setupCombo (int) |
Protected Attributes | |
| DtEnumerationSelectionWidgetLogic * | myLogic |
| EnumerationInformationVector | myComboMappings |
| int | myOnlyValidKind |
| QIntValidator | myValidator |
| bool | myAllowRange |
| bool | myShowEnumInText |
| bool | myAllowWildCard |
Private Member Functions | |
| DtEnumerationSelectionWidget (const DtEnumerationSelectionWidget &orig) | |
| copy constructor; not implemented | |
| DtEnumerationSelectionWidget & | operator= (const DtEnumerationSelectionWidget &rhs) |
| assignment operator; not implemented | |
typedef std::pair<QComboBox*, QLineEdit*> makVrf::DtEnumerationSelectionWidget::EnumerationInformation [protected] |
typedef std::vector<EnumerationInformation> makVrf::DtEnumerationSelectionWidget::EnumerationInformationVector [protected] |
| makVrf::DtEnumerationSelectionWidget::DtEnumerationSelectionWidget | ( | QWidget * | parent = NULL, |
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
default constructor
| virtual makVrf::DtEnumerationSelectionWidget::~DtEnumerationSelectionWidget | ( | ) | [virtual] |
destructor
| makVrf::DtEnumerationSelectionWidget::DtEnumerationSelectionWidget | ( | const DtEnumerationSelectionWidget & | orig | ) | [private] |
copy constructor; not implemented
| virtual bool makVrf::DtEnumerationSelectionWidget::init | ( | DtDisDictionary * | disDictionary, |
| bool | showEnumInText = false |
||
| ) | [virtual] |
Sets up the comboboxes based on the given DtDisDictionary.
If showEnumInText is set to true, the enumeration number is prepended to its corresponding text description.
| virtual void makVrf::DtEnumerationSelectionWidget::clearEnumeration | ( | int | ) | [virtual] |
Clears the enumeration values of the specified enumeration combo.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual void makVrf::DtEnumerationSelectionWidget::objectType | ( | DtRangedObjectType & | o | ) | const [virtual] |
Fills in the object type based on combo settings.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual void makVrf::DtEnumerationSelectionWidget::objectType | ( | DtObjectType & | ) | const [virtual] |
| virtual void makVrf::DtEnumerationSelectionWidget::setKindEnabled | ( | bool | ) | [virtual] |
| int makVrf::DtEnumerationSelectionWidget::onlyValidKind | ( | ) | const [virtual] |
If only one valid kind is supported, returns it.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| bool makVrf::DtEnumerationSelectionWidget::allowWildCard | ( | ) | const [virtual] |
Returns whether or not wild cards are allowed.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual int makVrf::DtEnumerationSelectionWidget::numberOfEnumerations | ( | ) | const [virtual] |
Returns the number of enumerations supported by this widget.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual void makVrf::DtEnumerationSelectionWidget::setEnumerationEnabled | ( | int | , |
| bool | |||
| ) | [virtual] |
Sets whether or not the enumeration combo is enabled.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual bool makVrf::DtEnumerationSelectionWidget::enumerationEnabled | ( | int | ) | const [virtual] |
Returns whether or not enumeration is enabled.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual QHash<QString, int> makVrf::DtEnumerationSelectionWidget::supportedEnumerations | ( | int | ) | const [virtual] |
Returns a map of the enumerations supported for the enumeration type.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual void makVrf::DtEnumerationSelectionWidget::setSelectedEnumeration | ( | int | enumeration, |
| const QString & | |||
| ) | [virtual] |
Sets the enumeration to be selected.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual QString makVrf::DtEnumerationSelectionWidget::selectedEnumeration | ( | int | ) | const [virtual] |
Returns the enumeration selected.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual void makVrf::DtEnumerationSelectionWidget::setEnumerationText | ( | int | , |
| const QString & | |||
| ) | [virtual] |
Sets the text of the enumeration line edit.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual bool makVrf::DtEnumerationSelectionWidget::showEnumInText | ( | ) | const [virtual] |
Returns true if the enumeration should be shown with the text.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual void makVrf::DtEnumerationSelectionWidget::addEnumeration | ( | int | enumeration, |
| int | id, | ||
| const QString & | |||
| ) | [virtual] |
For the given enumeration, add the enumeration value and string respresentation.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual void makVrf::DtEnumerationSelectionWidget::signalTypeChanged | ( | const DtRangedObjectType & | ) | [virtual] |
Signal that the type has changed to the supplied type.
Implements makVrf::DtEnumerationSelectionWidgetInterface.
| virtual void makVrf::DtEnumerationSelectionWidget::setObjectType | ( | const DtRangedObjectType & | ) | [virtual] |
| virtual void makVrf::DtEnumerationSelectionWidget::setObjectType | ( | const DtObjectType & | ) | [virtual] |
| virtual void makVrf::DtEnumerationSelectionWidget::setupCombo | ( | int | ) | [protected, virtual] |
| void makVrf::DtEnumerationSelectionWidget::typeChanged | ( | const DtRangedObjectType & | ) | [signal] |
| virtual void makVrf::DtEnumerationSelectionWidget::comboChanged | ( | int | ) | [protected, virtual, slot] |
| virtual void makVrf::DtEnumerationSelectionWidget::enumerationChanged | ( | const QString & | ) | [protected, virtual, slot] |
| DtEnumerationSelectionWidget& makVrf::DtEnumerationSelectionWidget::operator= | ( | const DtEnumerationSelectionWidget & | rhs | ) | [private] |
assignment operator; not implemented
| Ui_DtEnumerationSelectionUI makVrf::DtEnumerationSelectionWidget::myUiImpl |
int makVrf::DtEnumerationSelectionWidget::myOnlyValidKind [protected] |
QIntValidator makVrf::DtEnumerationSelectionWidget::myValidator [protected] |