VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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]

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.
- Public Member Functions inherited from makVrv::DtAddPropsInterface
virtual ~DtAddPropsInterface ()
 DTOR.

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

Additional Inherited Members

- Public Attributes inherited from makVrv::DtAddPropsInterface
boost::signal< void(const
makArchives::DtAddPropsRuleRecord
&rule)> 
signal_createAddPropRule
 Emitted by the widget when a rule has been built.

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.

virtual makVrv::DtAddPropsWidget::~DtAddPropsWidget ( )
virtual

DTOR.

Member Function Documentation

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.

Member Data Documentation

const int makVrv::DtAddPropsWidget::theFieldColumn = 0
staticprotected
const int makVrv::DtAddPropsWidget::theValueColumn = 1
staticprotected
DtFeatureFieldValueParser::FeatureFieldValueMap makVrv::DtAddPropsWidget::myFeatureFieldValueMap
protected
QTreeWidget* makVrv::DtAddPropsWidget::myFieldValueMapWidget
protected
QTreeWidget* makVrv::DtAddPropsWidget::myHistory
protected
DtPropTypeComboBox* makVrv::DtAddPropsWidget::myPropTypeCombo
protected
DtModelDefinitionComboBox* makVrv::DtAddPropsWidget::myModelDefCombo
protected
QComboBox* makVrv::DtAddPropsWidget::myGroundClampCombo
protected
QComboBox* makVrv::DtAddPropsWidget::myRotationCombo
protected
DtDe& makVrv::DtAddPropsWidget::myDe
protected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)