![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Base class for GenericConfig dialogs The superclass is generated from Qt Designer, and has a central QListView widget. More...
Inheritance diagram for DtGenericConfigDialog:
Collaboration diagram for DtGenericConfigDialog:Public Member Functions | |
| DtGenericConfigDialog (bool viewOnly, QWidget *parent=0) | |
| Construct a base GenericConfig dialog. | |
| ~DtGenericConfigDialog () | |
| Destructor. | |
| void | addProperty (const DtProperty &p) |
| Add a DtProperty to the property list. | |
| void | addToProperty (const DtProperty &p) |
| Extend existing DtProperty. | |
| void | setProperty (QString prop, int value) |
| void | setProperty (QString prop, QString value) |
| void | setProperty (QString prop, bool value) |
| void | setProperty (QString prop, double value) |
| void | setProperty (QString prop, const QStringList &value) |
| virtual bool | property (QString name, int &value) const |
| virtual bool | property (QString name, QString &value) const |
| virtual bool | property (QString name, double &value) const |
| virtual bool | property (QString name, bool &value) const |
| virtual bool | property (QString name, QStringList &value) const |
| virtual bool | property (QString name) const |
| MAKCommonWidgets::DtPropertyEditView * | propertyEditView () |
| Return a pointer to the internal DtPropertyEditView object. | |
| const MAKCommonWidgets::DtPropertyEditView * | propertyEditView () const |
Protected Member Functions | |
| virtual void | init () |
| Initialize internal data. Called from the constructors. | |
Protected Attributes | |
| MAKCommonWidgets::DtPropertyEditView * | myPropertyEditView |
| bool | myViewOnly |
| Ui_genericConfigDialogUi * | myImpl |
Base class for GenericConfig dialogs The superclass is generated from Qt Designer, and has a central QListView widget.
This class adds some convenience functions for setting important data properties. This class is not intended to be used on its own, but rather provide a base interface.
| DtGenericConfigDialog::DtGenericConfigDialog | ( | bool | viewOnly, |
| QWidget * | parent = 0 |
||
| ) |
Construct a base GenericConfig dialog.
References init().
Destructor.
References myImpl.
| void DtGenericConfigDialog::addProperty | ( | const DtProperty & | p | ) |
Add a DtProperty to the property list.
References myPropertyEditView.
| void DtGenericConfigDialog::addToProperty | ( | const DtProperty & | p | ) |
Extend existing DtProperty.
References myPropertyEditView.
| void DtGenericConfigDialog::init | ( | ) | [protected, virtual] |
Initialize internal data. Called from the constructors.
References connect(), myImpl, myPropertyEditView, and myViewOnly.
Referenced by DtGenericConfigDialog().
| bool DtGenericConfigDialog::property | ( | QString | name, |
| int & | value | ||
| ) | const [virtual] |
References myPropertyEditView.
| bool DtGenericConfigDialog::property | ( | QString | name, |
| QString & | value | ||
| ) | const [virtual] |
References myPropertyEditView.
| bool DtGenericConfigDialog::property | ( | QString | name, |
| double & | value | ||
| ) | const [virtual] |
References myPropertyEditView.
| bool DtGenericConfigDialog::property | ( | QString | name, |
| bool & | value | ||
| ) | const [virtual] |
References myPropertyEditView.
| bool DtGenericConfigDialog::property | ( | QString | name, |
| QStringList & | value | ||
| ) | const [virtual] |
References myPropertyEditView.
| bool DtGenericConfigDialog::property | ( | QString | name | ) | const [virtual] |
References myPropertyEditView.
| MAKCommonWidgets::DtPropertyEditView * DtGenericConfigDialog::propertyEditView | ( | ) |
Return a pointer to the internal DtPropertyEditView object.
References myPropertyEditView.
| const MAKCommonWidgets::DtPropertyEditView * DtGenericConfigDialog::propertyEditView | ( | ) | const |
References myPropertyEditView.
| void DtGenericConfigDialog::setProperty | ( | QString | prop, |
| int | value | ||
| ) |
References myPropertyEditView.
| void DtGenericConfigDialog::setProperty | ( | QString | prop, |
| QString | value | ||
| ) |
References myPropertyEditView.
| void DtGenericConfigDialog::setProperty | ( | QString | prop, |
| bool | value | ||
| ) |
References myPropertyEditView.
| void DtGenericConfigDialog::setProperty | ( | QString | prop, |
| double | value | ||
| ) |
References myPropertyEditView.
| void DtGenericConfigDialog::setProperty | ( | QString | prop, |
| const QStringList & | value | ||
| ) |
References myPropertyEditView.
Ui_genericConfigDialogUi* DtGenericConfigDialog::myImpl [protected] |
Referenced by init(), and ~DtGenericConfigDialog().
MAKCommonWidgets::DtPropertyEditView* DtGenericConfigDialog::myPropertyEditView [protected] |
Referenced by addProperty(), addToProperty(), init(), property(), propertyEditView(), and setProperty().
bool DtGenericConfigDialog::myViewOnly [protected] |
Referenced by init().