![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Base class for GenericConfig widgets The superclass is generated from Qt Designer, and has a central QListView widget. More...
Inheritance diagram for DtGenericConfigWidget:
Collaboration diagram for DtGenericConfigWidget:Public Member Functions | |
| DtGenericConfigWidget (bool viewOnly, QWidget *parent=0) | |
| Construct a base GenericConfig widget. | |
| ~DtGenericConfigWidget () | |
| 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 |
| DtPropertyEditView * | propertyEditView () |
| Return a pointer to the internal DtPropertyEditView object. | |
| const DtPropertyEditView * | propertyEditView () const |
Protected Member Functions | |
| virtual void | init () |
| Initialize internal data. Called from the constructors. | |
Protected Attributes | |
| DtPropertyEditView * | myPropertyEditView |
| bool | myViewOnly |
| Ui_genericConfigWidgetUi * | myImpl |
Base class for GenericConfig widgets 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.
| DtGenericConfigWidget::DtGenericConfigWidget | ( | bool | viewOnly, |
| QWidget * | parent = 0 |
||
| ) |
Construct a base GenericConfig widget.
References init().
| DtGenericConfigWidget::~DtGenericConfigWidget | ( | ) |
Destructor.
References myImpl.
| void DtGenericConfigWidget::addProperty | ( | const DtProperty & | p | ) |
Add a DtProperty to the property list.
References DtPropertyListView::addProperty(), and myPropertyEditView.
Referenced by DtRidWidget::displayAllProperties(), and DtRidWidget::displaySubsetOnly().
| void DtGenericConfigWidget::addToProperty | ( | const DtProperty & | p | ) |
Extend existing DtProperty.
References DtPropertyListView::addToProperty(), and myPropertyEditView.
Referenced by DtRidWidget::displayAllProperties(), and DtRidWidget::displaySubsetOnly().
|
protectedvirtual |
Initialize internal data. Called from the constructors.
Reimplemented in DtRidWidget.
References myImpl, myPropertyEditView, myViewOnly, and DtPropertyEditView::setEditable().
Referenced by DtGenericConfigWidget().
|
virtual |
References myPropertyEditView, DtPropertyListView::property(), and DtProperty::value().
|
virtual |
References myPropertyEditView, DtPropertyListView::property(), and DtProperty::value().
|
virtual |
References myPropertyEditView, DtPropertyListView::property(), and DtProperty::value().
|
virtual |
References myPropertyEditView, DtPropertyListView::property(), and DtProperty::value().
|
virtual |
References myPropertyEditView, DtPropertyListView::property(), and DtProperty::value().
|
virtual |
References myPropertyEditView, and DtPropertyListView::property().
| DtPropertyEditView * DtGenericConfigWidget::propertyEditView | ( | ) |
Return a pointer to the internal DtPropertyEditView object.
References myPropertyEditView.
Referenced by DtRidWidget::displayAllProperties(), DtRidWidget::displaySubsetOnly(), DtRidWidget::DtRidWidget(), DtRidWidget::propHeaderClicked(), and DtRidWidget::refreshValues().
| const DtPropertyEditView * DtGenericConfigWidget::propertyEditView | ( | ) | const |
References myPropertyEditView.
| void DtGenericConfigWidget::setProperty | ( | QString | prop, |
| int | value | ||
| ) |
References myPropertyEditView, and DtPropertyListView::setProperty().
Referenced by DtRidWidget::changeSpecificProperty().
| void DtGenericConfigWidget::setProperty | ( | QString | prop, |
| QString | value | ||
| ) |
References myPropertyEditView, and DtPropertyListView::setProperty().
| void DtGenericConfigWidget::setProperty | ( | QString | prop, |
| bool | value | ||
| ) |
References myPropertyEditView, and DtPropertyListView::setProperty().
| void DtGenericConfigWidget::setProperty | ( | QString | prop, |
| double | value | ||
| ) |
References myPropertyEditView, and DtPropertyListView::setProperty().
| void DtGenericConfigWidget::setProperty | ( | QString | prop, |
| const QStringList & | value | ||
| ) |
References myPropertyEditView, and DtPropertyListView::setProperty().
|
protected |
|
protected |
|
protected |
Referenced by init(), and DtRidWidget::init().