VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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

Return myField.

Return myValue.

virtual void makVrv::DtFieldValuePairDialog::onOkClicked ( ) [virtual, slot]

Called when user clicked "Ok".

virtual void makVrv::DtFieldValuePairDialog::onCancelClicked ( ) [virtual, slot]

Called when user clicked "Cancel".

virtual void makVrv::DtFieldValuePairDialog::onFieldComboChanged ( int  index) [virtual, slot]

Called when user chooses a field.

virtual void makVrv::DtFieldValuePairDialog::onValueComboChanged ( int  index) [virtual, slot]

Called when the user chooses a value.

Build Gui.

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


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)