![]() |
VR-Forces 4.8 Class Documentation
|
The DtTerrainContentsWidget displays the terrain Contents that were used to compose the current terrain. More...

Public Member Functions | |
| virtual | ~DtVrfTerrainContentsWidget () |
| DTOR. More... | |
Public Member Functions inherited from makVrv::DtTerrainContentsWidget | |
| virtual | ~DtTerrainContentsWidget () |
| DTOR. More... | |
| virtual void | addItem (int id, LayerType layerType, const DtUnicode &name, bool visualized) |
| Call to add a terrain patch/ feature layer to the widget. More... | |
| virtual void | removeItem (int id) |
| Call to remove a terrain patch/ feature layer to the widget. More... | |
| virtual void | setAddOceanButtonState (bool enabled) |
| Called to set the state of the AddOceanFeatureLayer button. More... | |
| virtual void | clear () |
| Called to clear all the terrain patches, feature layers in the widget. More... | |
| QVBoxLayout * | mainLayout () |
| Accessor for the main layout. More... | |
| QHBoxLayout * | buttonLayout () |
| Accessor for the button layout. More... | |
| QPushButton * | addTerrainPatchButton () |
| Accessor for the add Terrain Patch button. More... | |
| QPushButton * | addFeatureLayerButton () |
| Accessor for the add Feature Layer button. More... | |
| QPushButton * | addOceanLayerButton () |
| Accessor for the add Ocean Layer button. More... | |
| QTreeWidget * | contentsTreeWidget () |
| Accessor for the contents tree widget. More... | |
| int | oceanLayerId () |
| Return the id of the GUI's ocean layer (or 0 if none) More... | |
Protected Slots | |
| virtual void | on_addSimFeatureLayerBtn_clicked () |
Protected Slots inherited from makVrv::DtTerrainContentsWidget | |
| virtual void | on_addTerrainPatchBtn_clicked () |
| virtual void | on_addFeatureLayerBtn_clicked () |
| virtual void | on_addOceanLayerBtn_clicked () |
| virtual void | on_removeBtn_clicked () |
| virtual void | on_contentsTreeWidget_itemSelectionChanged () |
Protected Member Functions | |
| DtVrfTerrainContentsWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| Protected CTOR. Only callable by DtTerrainContentsWidgetCreator. More... | |
| void | setupGui () |
| Build the gui. Non-virtual because it is called from the constructor. More... | |
Protected Member Functions inherited from makVrv::DtTerrainContentsWidget | |
| DtTerrainContentsWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| Protected CTOR. Only callable by DtTerrainContentsWidgetCreator. More... | |
| void | setupGui () |
| Build the gui. Non-virtual because it is called from the constructor. More... | |
Protected Attributes | |
| QPushButton * | myAddSimFeatureLayerButton |
| Add Sim Feature Layer button. More... | |
Protected Attributes inherited from makVrv::DtTerrainContentsWidget | |
| DtDe & | myDe |
| ItemMap | myItemMap |
| QTreeWidget * | myContentsTreeWidget |
| QHBoxLayout * | myButtonLayout |
| QVBoxLayout * | myMainLayout |
| QPushButton * | myAddTerrainPatchButton |
| Add Terrain Patch button. More... | |
| QPushButton * | myAddFeatureLayerButton |
| QPushButton * | myAddOceanLayerButton |
| int | myOceanLayerId |
Friends | |
| class | DtVrfTerrainContentsWidgetCreator |
| Let the creator create the page. More... | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtTerrainContentsWidget | |
| typedef std::map< int, QTreeWidgetItem * > | ItemMap |
| Map of id's to the QTreeWidgetItem that represents them. More... | |
Public Types inherited from makVrv::DtTerrainContentsInterface | |
| enum | LayerType { TerrainPatch, FeatureLayer, OceanLayer } |
Public Attributes inherited from makVrv::DtTerrainContentsInterface | |
| boost::signal< void(int)> | signal_remove |
| emitted by the widget when the user chooses remove a layer. More... | |
Static Public Attributes inherited from makVrv::DtTerrainContentsWidget | |
| static boost::signal< void(DtDe &, DtTerrainContentsWidget *)> | signal_setupGui |
| Signal raised when the GUI is initialized. More... | |
| static boost::signal< void(std::string)> | signal_selectTreeItemChanged |
| Signal raised when the current selection tree item changed. More... | |
| static boost::signal< void()> | signal_pageClosed |
| Signal raised when the page closed. More... | |
Static Protected Attributes inherited from makVrv::DtTerrainContentsWidget | |
| static const int | theInputTypeColumn = 0 |
| static const int | theNameColumn = 1 |
| static const int | theStatusColumn = 2 |
| static const int | theIdColumn = 3 |
The DtTerrainContentsWidget displays the terrain Contents that were used to compose the current terrain.
|
virtual |
DTOR.
|
protected |
Protected CTOR. Only callable by DtTerrainContentsWidgetCreator.
|
protectedvirtualslot |
|
protected |
Build the gui. Non-virtual because it is called from the constructor.
|
friend |
Let the creator create the page.
|
protected |
Add Sim Feature Layer button.