VR-Forces 4.0.4 Class Documentation
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtAddTerrainPatchDialog Class Reference

Dialog for adding a terrain patch. More...

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

List of all members.

Public Slots

bool onBrowseClicked ()
 Called when user clicked "Browse".
virtual void onOkClicked ()
 Called when user clicked "Ok".
virtual void onCancelClicked ()
 Called when user clicked "Cancel".
virtual void onCoordSysComboChanged (int index)
 Called when user chooses a coordinate system from the combo box.
virtual void onDdsFlipChanged (int checkState)
 Called when the DDS flip checkbox changes.
static QString fileFilter (DtDe &de, const std::string &dialogType, const QString &allSpecifiedString, bool includeGlobal)
 Create a file filter from the extensions registered with the file extension manager If you want all the registered extensions shown on a single line (when there are multiple filter items) a non-null allSpecifiedString provides the description to use for that.

Public Member Functions

 DtAddTerrainPatchDialog (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Tool)
 CTOR.
virtual ~DtAddTerrainPatchDialog ()
 DTOR.
virtual void displayErrorMessage (ErrorMessage msg)
virtual void setFileLabel (const std::string &filePath)
 Called by the logic to set the current file label.
virtual void setCoordSystemComboBox (TerrainCoordinateSystemEnum index)
 Called by the logic to set the combo boxes item.
virtual void setCoordSystemParams (const std::string &params)
 Called by the logic to set the coord sys params.
virtual void setOkEnabled (bool flag)
 Called by the logic to enable the "OK" button.

Protected Member Functions

void setupGui ()
 Build Gui.

Protected Attributes

DtDemyDe
DtAddTerrainPatchLogicmyLogic
QLineEditmyFilenameLabel
QComboBoxmyCoordSysCombo
QLineEditmyCoordSysParamsEdit
QPushButtonmyOkButton
QPushButtonmyCancelButton
QValidatormyUtmValidator
QValidatormyFlatEarthValidator
QValidatormyOriginOffsetValidator
QValidatormyLambertValidator
QLabelmyParamInstructions
QCheckBoxmyDdsFlipCheckbox

Detailed Description

Dialog for adding a terrain patch.


Constructor & Destructor Documentation

makVrv::DtAddTerrainPatchDialog::DtAddTerrainPatchDialog ( DtDe de,
QWidget parent,
Qt::WindowFlags  f = Qt::Tool 
)

CTOR.

DTOR.


Member Function Documentation

virtual void makVrv::DtAddTerrainPatchDialog::setFileLabel ( const std::string &  filePath) [virtual]

Called by the logic to set the current file label.

Implements makVrv::DtAddTerrainPatchInterface.

Called by the logic to set the combo boxes item.

Implements makVrv::DtAddTerrainPatchInterface.

virtual void makVrv::DtAddTerrainPatchDialog::setCoordSystemParams ( const std::string &  params) [virtual]

Called by the logic to set the coord sys params.

Implements makVrv::DtAddTerrainPatchInterface.

virtual void makVrv::DtAddTerrainPatchDialog::setOkEnabled ( bool  flag) [virtual]

Called by the logic to enable the "OK" button.

Implements makVrv::DtAddTerrainPatchInterface.

Called when user clicked "Browse".

Non virtual, called by CTOR.

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

Called when user clicked "Ok".

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

Called when user clicked "Cancel".

virtual void makVrv::DtAddTerrainPatchDialog::onCoordSysComboChanged ( int  index) [virtual, slot]

Called when user chooses a coordinate system from the combo box.

virtual void makVrv::DtAddTerrainPatchDialog::onDdsFlipChanged ( int  checkState) [virtual, slot]

Called when the DDS flip checkbox changes.

static QString makVrv::DtAddTerrainPatchDialog::fileFilter ( DtDe de,
const std::string &  dialogType,
const QString &  allSpecifiedString,
bool  includeGlobal 
) [static, slot]

Create a file filter from the extensions registered with the file extension manager If you want all the registered extensions shown on a single line (when there are multiple filter items) a non-null allSpecifiedString provides the description to use for that.

If includeGlobal is true, then a filter with "All (*.*)" is included at the end.

Build Gui.


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)