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

The DtTerrainContentsWidget displays the terrain Contents that were used to compose the current terrain. More...

Inheritance diagram for makVrf::DtVrfTerrainContentsWidget:
Inheritance graph
[legend]

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...
 
QPushButtonaddTerrainPatchButton ()
 Accessor for the add Terrain Patch button. More...
 
QPushButtonaddFeatureLayerButton ()
 Accessor for the add Feature Layer button. More...
 
QPushButtonaddOceanLayerButton ()
 Accessor for the add Ocean Layer button. More...
 
QTreeWidgetcontentsTreeWidget ()
 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

QPushButtonmyAddSimFeatureLayerButton
 Add Sim Feature Layer button. More...
 
- Protected Attributes inherited from makVrv::DtTerrainContentsWidget
DtDemyDe
 
ItemMap myItemMap
 
QTreeWidgetmyContentsTreeWidget
 
QHBoxLayout * myButtonLayout
 
QVBoxLayout * myMainLayout
 
QPushButtonmyAddTerrainPatchButton
 Add Terrain Patch button. More...
 
QPushButtonmyAddFeatureLayerButton
 
QPushButtonmyAddOceanLayerButton
 
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
 

Detailed Description

The DtTerrainContentsWidget displays the terrain Contents that were used to compose the current terrain.

Constructor & Destructor Documentation

virtual makVrf::DtVrfTerrainContentsWidget::~DtVrfTerrainContentsWidget ( )
virtual

DTOR.

makVrf::DtVrfTerrainContentsWidget::DtVrfTerrainContentsWidget ( makVrv::DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)
protected

Protected CTOR. Only callable by DtTerrainContentsWidgetCreator.

Member Function Documentation

virtual void makVrf::DtVrfTerrainContentsWidget::on_addSimFeatureLayerBtn_clicked ( )
protectedvirtualslot
void makVrf::DtVrfTerrainContentsWidget::setupGui ( )
protected

Build the gui. Non-virtual because it is called from the constructor.

Friends And Related Function Documentation

friend class DtVrfTerrainContentsWidgetCreator
friend

Let the creator create the page.

Member Data Documentation

QPushButton* makVrf::DtVrfTerrainContentsWidget::myAddSimFeatureLayerButton
protected

Add Sim Feature Layer button.


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)