![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtAddPropsWidget lets users see add props to a DtFeatureLayer. More...

Public Slots | |
User input slots. | |
Receives notification that the user has changed a widget's value. | |
| void | on_plusButton_clicked () |
| Called when the user clicks the "+" button. | |
| void | on_minusButton_clicked () |
| Called when the user clicks the "-" button. | |
| void | onAddPropsButtonClicked () |
| Called when the "Add Props" button is clicked. | |
Public Member Functions | |
| DtAddPropsWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual | ~DtAddPropsWidget () |
| DTOR. | |
Field value setters. | |
Sets the values of the widget's corresponding fields. | |
| virtual void | setFeatureFieldValuePairs (const DtFeatureFieldValueParser::FeatureFieldValueMap &featureFieldValueMap) |
| Set the field/ value pairs in the gui. | |
| virtual void | addRuleToHistory (const makArchives::DtAddPropsRuleRecord &rule) |
| Called by the logic to update the gui. | |
| virtual void | fillInRotationComboBox () |
| Called by the setFeatureFieldValuePairs to set up the field values for the rotation combo box. | |
| void | clear () |
| Clears everything. | |
Protected Member Functions | |
| void | setupGui () |
| Sets up the widget's fields. | |
| QStringList | ruleToStringList (const makArchives::DtAddPropsRuleRecord &rule) |
| Build a QStringList from a rule. | |
Protected Attributes | |
| DtFeatureFieldValueParser::FeatureFieldValueMap | myFeatureFieldValueMap |
| QTreeWidget * | myFieldValueMapWidget |
| QTreeWidget * | myHistory |
| DtPropTypeComboBox * | myPropTypeCombo |
| DtModelDefinitionComboBox * | myModelDefCombo |
| QComboBox * | myGroundClampCombo |
| QComboBox * | myRotationCombo |
| DtDe & | myDe |
Static Protected Attributes | |
| static const int | theFieldColumn = 0 |
| static const int | theValueColumn = 1 |
The DtAddPropsWidget lets users see add props to a DtFeatureLayer.
| makVrv::DtAddPropsWidget::DtAddPropsWidget | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | flags = 0 |
||
| ) |
CTOR.
| virtual makVrv::DtAddPropsWidget::~DtAddPropsWidget | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtAddPropsWidget::setFeatureFieldValuePairs | ( | const DtFeatureFieldValueParser::FeatureFieldValueMap & | featureFieldValueMap | ) | [virtual] |
Set the field/ value pairs in the gui.
Implements makVrv::DtAddPropsInterface.
| virtual void makVrv::DtAddPropsWidget::addRuleToHistory | ( | const makArchives::DtAddPropsRuleRecord & | rule | ) | [virtual] |
Called by the logic to update the gui.
Implements makVrv::DtAddPropsInterface.
| virtual void makVrv::DtAddPropsWidget::fillInRotationComboBox | ( | ) | [virtual] |
Called by the setFeatureFieldValuePairs to set up the field values for the rotation combo box.
| void makVrv::DtAddPropsWidget::clear | ( | ) |
Clears everything.
| void makVrv::DtAddPropsWidget::on_plusButton_clicked | ( | ) | [slot] |
Called when the user clicks the "+" button.
| void makVrv::DtAddPropsWidget::on_minusButton_clicked | ( | ) | [slot] |
Called when the user clicks the "-" button.
| void makVrv::DtAddPropsWidget::onAddPropsButtonClicked | ( | ) | [slot] |
Called when the "Add Props" button is clicked.
| void makVrv::DtAddPropsWidget::setupGui | ( | ) | [protected] |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
| QStringList makVrv::DtAddPropsWidget::ruleToStringList | ( | const makArchives::DtAddPropsRuleRecord & | rule | ) | [protected] |
Build a QStringList from a rule.
const int makVrv::DtAddPropsWidget::theFieldColumn = 0 [static, protected] |
const int makVrv::DtAddPropsWidget::theValueColumn = 1 [static, protected] |
DtFeatureFieldValueParser::FeatureFieldValueMap makVrv::DtAddPropsWidget::myFeatureFieldValueMap [protected] |
QTreeWidget* makVrv::DtAddPropsWidget::myHistory [protected] |
QComboBox* makVrv::DtAddPropsWidget::myGroundClampCombo [protected] |
QComboBox* makVrv::DtAddPropsWidget::myRotationCombo [protected] |
DtDe& makVrv::DtAddPropsWidget::myDe [protected] |