VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
makVrv::DtAddPropsWidget Class Reference

The DtAddPropsWidget lets users see add props to a DtFeatureLayer. More...

Inheritance diagram for makVrv::DtAddPropsWidget:
Inheritance graph
[legend]

List of all members.

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
QTreeWidgetmyFieldValueMapWidget
QTreeWidgetmyHistory
DtPropTypeComboBoxmyPropTypeCombo
DtModelDefinitionComboBoxmyModelDefCombo
QComboBoxmyGroundClampCombo
QComboBoxmyRotationCombo
DtDemyDe

Static Protected Attributes

static const int theFieldColumn = 0
static const int theValueColumn = 1

Detailed Description

The DtAddPropsWidget lets users see add props to a DtFeatureLayer.


Constructor & Destructor Documentation

makVrv::DtAddPropsWidget::DtAddPropsWidget ( DtDe de,
QWidget parent = 0,
Qt::WindowFlags  flags = 0 
)

CTOR.

DTOR.


Member Function Documentation

Set the field/ value pairs in the gui.

Implements makVrv::DtAddPropsInterface.

Called by the logic to update the gui.

Implements makVrv::DtAddPropsInterface.

Called by the setFeatureFieldValuePairs to set up the field values for the rotation combo box.

Clears everything.

Called when the user clicks the "+" button.

Called when the user clicks the "-" button.

Called when the "Add Props" button is clicked.

void makVrv::DtAddPropsWidget::setupGui ( ) [protected]

Sets up the widget's fields.

Non-virtual (Called from CTOR).

Build a QStringList from a rule.


Member Data Documentation

const int makVrv::DtAddPropsWidget::theFieldColumn = 0 [static, protected]
const int makVrv::DtAddPropsWidget::theValueColumn = 1 [static, protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)