![]() |
VR-Forces Development_Version Class Documentation
|
A dialog page for controlling the GDB surfaces. More...

Public Slots | |
| virtual void | onItemChanged (QListWidgetItem *item) |
| Qt slot called when an item is changed. | |
| virtual void | onTogglePushed () |
| Qt slot called when the toggle button is pushed. | |
Public Member Functions | |
| DtGdbSurfacesPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. | |
| virtual | ~DtGdbSurfacesPage () |
| Virtual DTOR. | |
| virtual QIcon | icon () |
| Get the icon of the page. | |
| virtual QString | title () |
| Get the title of the page. | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. | |
| virtual void | setSurfaceState (DtTerrainPatch::GdbSurface surfaceId, bool state) |
| Set the surface state checkbox. | |
| virtual void | addGdbSurface (DtTerrainPatch::GdbSurface surfaceId, bool state) |
| Add a surface state checkbox to the gui. | |
| virtual void | onCurrentInstanceChanged (QString def) |
| Called the current instance changes. | |
Public Member Functions inherited from makVrv::DtTerrainPatchDialogPage | |
| DtTerrainPatchDialogPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. | |
| virtual | ~DtTerrainPatchDialogPage () |
| DTOR. | |
| virtual void | onNewInstanceRequested () |
| virtual void | onDeleteInstanceRequested () |
Public Member Functions inherited from makVrv::DtSelectedInstanceDialogPage | |
| DtSelectedInstanceDialogPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. | |
| virtual | ~DtSelectedInstanceDialogPage () |
| DTOR. | |
| virtual void | addInstance (const std::string &) |
| Add an instance. | |
| virtual void | removeInstance (const std::string &) |
| Remove an instance. | |
| virtual QString | currentInstance () |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| CTOR for page. | |
| virtual | ~DtPage () |
| DTOR for page. | |
Public Member Functions inherited from makVrv::DtGdbSurfacesInterface | |
| virtual | ~DtGdbSurfacesInterface () |
| Destructor. | |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
| Get the class name of the class. | |
Protected Types | |
| typedef std::map < DtTerrainPatch::GdbSurface, QListWidgetItem * > | SurfaceItemMap |
| typedef std::map < DtTerrainPatch::GdbSurface, QString > | SurfaceNameMap |
Protected Member Functions | |
| void | setupGui () |
| Sets up the widget's fields. | |
| virtual void | activate () |
| Activate the contents of the page. | |
| virtual void | deactivate () |
| Disable the contents of the page. | |
| void | updateWidget () |
Protected Member Functions inherited from makVrv::DtTerrainPatchDialogPage | |
| virtual void | addTerrain (const DtTerrainPatch &terrainPatch) |
| virtual void | removeTerrain (const DtTerrainPatch &terrainPatch) |
Protected Attributes | |
| bool | addingItem |
| Set to true during list item creation to prevent item changed calls from going to the logic. | |
| DtGdbSurfacesLogic * | myLogic |
| SurfaceItemMap | myItemMap |
| SurfaceNameMap | mySurfaceNames |
| DtPersistenceToolbarWidget * | myTitle |
| QListWidget * | myList |
| QPushButton * | toggleButton |
| QVBoxLayout * | myMainLayout |
| QVBoxLayout * | myGroupLayout |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtGdbSurfacesInterface | |
| boost::signal< void(DtTerrainPatch::GdbSurface id, bool isOn)> | signal_surfaceChanged |
| Boost signal emitted when a surface is turned on or off in the gui. | |
Protected Slots inherited from makVrv::DtSelectedInstanceDialogPage | |
| virtual void | onCurrentInstanceChanged (int) |
| virtual void | onRenameInstanceRequested () |
A dialog page for controlling the GDB surfaces.
|
protected |
|
protected |
| makVrv::DtGdbSurfacesPage::DtGdbSurfacesPage | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
Get the title of the page.
Implements makVrv::DtPage.
|
virtual |
Get the class name of the page.
Implements makVrv::DtPage.
|
static |
Get the class name of the class.
|
virtual |
Set the surface state checkbox.
Implements makVrv::DtGdbSurfacesInterface.
|
virtual |
Add a surface state checkbox to the gui.
Implements makVrv::DtGdbSurfacesInterface.
|
virtual |
Called the current instance changes.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
|
virtualslot |
Qt slot called when an item is changed.
|
virtualslot |
Qt slot called when the toggle button is pushed.
|
protectedvirtual |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
Reimplemented from makVrv::DtTerrainPatchDialogPage.
|
protectedvirtual |
Activate the contents of the page.
Reimplemented from makVrv::DtTerrainPatchDialogPage.
|
protectedvirtual |
Disable the contents of the page.
Reimplemented from makVrv::DtTerrainPatchDialogPage.
|
protected |
|
protected |
Set to true during list item creation to prevent item changed calls from going to the logic.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |