VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtFieldValuePairDialog Class Reference

A DtFieldValuePairDialog provides a simple dialog to choose a field/ value pair. More...

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

Public Slots

virtual void onOkClicked ()
 Called when user clicked "Ok".
virtual void onCancelClicked ()
 Called when user clicked "Cancel".
virtual void onFieldComboChanged (int index)
 Called when user chooses a field.
virtual void onValueComboChanged (int index)
 Called when the user chooses a value.

Public Member Functions

 DtFieldValuePairDialog (const DtFeatureFieldValueParser::FeatureFieldValueMap &featureFieldValueMap, QWidget *parent, Qt::WindowFlags f=Qt::Tool)
 CTOR.
QString field ()
 Return myField.
QString value ()
 Return myValue.

Protected Member Functions

void setupGui ()
 Build Gui.
QStringList fields (const DtFeatureFieldValueParser::FeatureFieldValueMap &fieldValueMap)
 Return the list of fields in myFeatureFieldValueMap;.
QStringList values (const DtFeatureFieldValueParser::FeatureFieldValueMap &fieldValueMap, QString field)
 Return a list of feature values for the given field.

Protected Attributes

DtFeatureFieldValueParser::FeatureFieldValueMap myFeatureFieldValueMap
QComboBoxmyFieldCombo
QComboBoxmyValueCombo
QPushButtonmyOkButton
QPushButtonmyCancelButton
QString myField
QString myValue

Detailed Description

A DtFieldValuePairDialog provides a simple dialog to choose a field/ value pair.

Constructor & Destructor Documentation

makVrv::DtFieldValuePairDialog::DtFieldValuePairDialog ( const DtFeatureFieldValueParser::FeatureFieldValueMap featureFieldValueMap,
QWidget *  parent,
Qt::WindowFlags  f = Qt::Tool 
)

CTOR.

Member Function Documentation

QString makVrv::DtFieldValuePairDialog::field ( )

Return myField.

QString makVrv::DtFieldValuePairDialog::value ( )

Return myValue.

virtual void makVrv::DtFieldValuePairDialog::onOkClicked ( )
virtualslot

Called when user clicked "Ok".

virtual void makVrv::DtFieldValuePairDialog::onCancelClicked ( )
virtualslot

Called when user clicked "Cancel".

virtual void makVrv::DtFieldValuePairDialog::onFieldComboChanged ( int  index)
virtualslot

Called when user chooses a field.

virtual void makVrv::DtFieldValuePairDialog::onValueComboChanged ( int  index)
virtualslot

Called when the user chooses a value.

void makVrv::DtFieldValuePairDialog::setupGui ( )
protected

Build Gui.

QStringList makVrv::DtFieldValuePairDialog::fields ( const DtFeatureFieldValueParser::FeatureFieldValueMap fieldValueMap)
protected

Return the list of fields in myFeatureFieldValueMap;.

QStringList makVrv::DtFieldValuePairDialog::values ( const DtFeatureFieldValueParser::FeatureFieldValueMap fieldValueMap,
QString  field 
)
protected

Return a list of feature values for the given field.

Member Data Documentation

DtFeatureFieldValueParser::FeatureFieldValueMap makVrv::DtFieldValuePairDialog::myFeatureFieldValueMap
protected
QComboBox* makVrv::DtFieldValuePairDialog::myFieldCombo
protected
QComboBox* makVrv::DtFieldValuePairDialog::myValueCombo
protected
QPushButton* makVrv::DtFieldValuePairDialog::myOkButton
protected
QPushButton* makVrv::DtFieldValuePairDialog::myCancelButton
protected
QString makVrv::DtFieldValuePairDialog::myField
protected
QString makVrv::DtFieldValuePairDialog::myValue
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)