![]() |
VR-Forces 4.1 Class Documentation
|
Dialog for adding a terrain patch. More...

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 ¶ms) |
| 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. | |
Additional Inherited Members | |
Private Types inherited from makVrv::DtAddTerrainPatchInterface | |
| enum | TerrainCoordinateSystemEnum { None = 0, Geocentric, UTM, Lambert, FlatEarth, Cartesian } |
| enum | ErrorMessage { NoError = 0, UnsupportedMetaFlight = 1 } |
Private Member Functions inherited from makVrv::DtAddTerrainPatchInterface | |
| virtual void | displayErrorMessage (ErrorMessage msg)=0 |
| virtual void | setFileLabel (const std::string &filePath)=0 |
| Called by the logic to set the current file label. | |
| virtual void | setCoordSystemComboBox (TerrainCoordinateSystemEnum index)=0 |
| Called by the logic to set the combo boxes items. | |
| virtual void | setCoordSystemParams (const std::string ¶ms)=0 |
| Called by the logic to set the coord sys params. | |
| virtual void | setOkEnabled (bool flag)=0 |
| Called by the logic to enable the "OK" button. | |
Private Attributes inherited from makVrv::DtAddTerrainPatchInterface | |
| boost::signal< void()> | signal_addTerrainPatch |
| boost::signal< void(const std::string &)> | signal_terrainPatchFileChosen |
| boost::signal< void(const std::string &)> | signal_coordinateSystemChanged |
| boost::signal< void(const std::string &)> | signal_coordinateSystemParameters |
| boost::signal< void(bool)> | signal_ddsFlipChanged |
Dialog for adding a terrain patch.
| makVrv::DtAddTerrainPatchDialog::DtAddTerrainPatchDialog | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Tool |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
|
virtual |
Called by the logic to set the current file label.
|
virtual |
Called by the logic to set the combo boxes item.
|
virtual |
Called by the logic to set the coord sys params.
|
virtual |
Called by the logic to enable the "OK" button.
|
slot |
Called when user clicked "Browse".
Non virtual, called by CTOR.
|
virtualslot |
Called when user clicked "Ok".
|
virtualslot |
Called when user clicked "Cancel".
|
virtualslot |
Called when user chooses a coordinate system from the combo box.
|
virtualslot |
Called when the DDS flip checkbox changes.
|
staticslot |
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.
|
protected |
Build Gui.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |