![]() |
VR-Forces 4.10 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. More... | |
| virtual void | onTogglePushed () |
| Qt slot called when the toggle button is pushed. More... | |
Public Member Functions | |
| DtGdbSurfacesPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. More... | |
| virtual | ~DtGdbSurfacesPage () |
| Virtual DTOR. More... | |
| virtual QIcon | icon () |
| Get the icon of the page. More... | |
| virtual QString | title () |
| Get the title of the page. More... | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. More... | |
| virtual void | setSurfaceState (DtTerrainPatch::GdbSurface surfaceId, bool state) |
| Set the surface state checkbox. More... | |
| virtual void | addGdbSurface (DtTerrainPatch::GdbSurface surfaceId, bool state) |
| Add a surface state checkbox to the gui. More... | |
| virtual void | onCurrentInstanceChanged (QString def) |
| Called the current instance changes. More... | |
Public Member Functions inherited from makVrv::DtTerrainPatchDialogPage | |
| DtTerrainPatchDialogPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. More... | |
| virtual | ~DtTerrainPatchDialogPage () |
| DTOR. More... | |
| virtual void | onNewInstanceRequested () |
| virtual void | onDeleteInstanceRequested () |
Public Member Functions inherited from makVrv::DtSelectedInstanceDialogPage | |
| DtSelectedInstanceDialogPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. More... | |
| virtual | ~DtSelectedInstanceDialogPage () |
| DTOR. More... | |
| virtual void | addInstance (const std::string &) |
| Add an instance. More... | |
| virtual void | removeInstance (const std::string &) |
| Remove an instance. More... | |
| virtual QString | currentInstance () |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| CTOR for page. More... | |
| virtual | ~DtPage () |
| DTOR for page. More... | |
| virtual PageAction | pageAction () |
| return the current action on the page More... | |
| virtual void | setPageAction (PageAction action) |
| set the curret action on the page More... | |
| virtual void | setActionFlag (int flag) |
| set the action flag of the page More... | |
| virtual int | actionFlag () |
| return the action flag of the page More... | |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| set the parent dialog that owns this page More... | |
| virtual QWidget * | parentDialog () |
| return the parent dialog that own this page More... | |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| test the action flag with the action, return true if we should ask before executing the action /param action the current page action More... | |
| virtual void | askBeforeAction () |
| Called when the action flag is set and before the action is beind executed, default do nothing. More... | |
| virtual void | executeAfterAsk (bool revert) |
| Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it. More... | |
| virtual void | resumeLastAction () |
| resume the last action of the page More... | |
| virtual void | onCloseEvent () |
| will be called when user hit the close button of this page, default do nothing. More... | |
| virtual void | onSwitchEvent () |
| will be called when user try switch to another page, default do nothing. More... | |
Public Member Functions inherited from makVrv::DtGdbSurfacesInterface | |
| virtual | ~DtGdbSurfacesInterface () |
| Destructor. More... | |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
| Get the class name of the class. More... | |
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. More... | |
| virtual void | activate () |
| Activate the contents of the page. More... | |
| virtual void | deactivate () |
| Disable the contents of the page. More... | |
| void | updateWidget () |
Protected Member Functions inherited from makVrv::DtTerrainPatchDialogPage | |
| virtual void | addTerrain (const DtTerrainPatch &terrainPatch) |
| virtual void | removeTerrain (const DtTerrainPatch &terrainPatch) |
Protected Member Functions inherited from makVrv::DtSelectedInstanceDialogPage | |
| void | setupGui () |
Protected Attributes | |
| bool | addingItem |
| Set to true during list item creation to prevent item changed calls from going to the logic. More... | |
| DtGdbSurfacesLogic * | myLogic |
| SurfaceItemMap | myItemMap |
| SurfaceNameMap | mySurfaceNames |
| DtPersistenceToolbarWidget * | myTitle |
| QListWidget * | myList |
| QPushButton * | toggleButton |
| QVBoxLayout * | myMainLayout |
| QVBoxLayout * | myGroupLayout |
Protected Attributes inherited from makVrv::DtSelectedInstanceDialogPage | |
| DtSelectInstanceWidget * | mySelectInstanceWidget |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
Public Attributes inherited from makVrv::DtGdbSurfacesInterface | |
| boost::signalslib::signal < void(DtTerrainPatch::GdbSurface id, bool isOn)> | signal_surfaceChanged |
| Boost signal emitted when a surface is turned on or off in the gui. More... | |
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 |