![]() |
VR-Forces 4.0.4 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. | |
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 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 |
A dialog page for controlling the GDB surfaces.
typedef std::map<DtTerrainPatch::GdbSurface, QListWidgetItem*> makVrv::DtGdbSurfacesPage::SurfaceItemMap [protected] |
typedef std::map<DtTerrainPatch::GdbSurface, QString> makVrv::DtGdbSurfacesPage::SurfaceNameMap [protected] |
| makVrv::DtGdbSurfacesPage::DtGdbSurfacesPage | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
| virtual makVrv::DtGdbSurfacesPage::~DtGdbSurfacesPage | ( | ) | [virtual] |
Virtual DTOR.
| virtual QIcon makVrv::DtGdbSurfacesPage::icon | ( | ) | [virtual] |
Get the icon of the page.
Implements makVrv::DtPage.
| virtual QString makVrv::DtGdbSurfacesPage::title | ( | ) | [virtual] |
Get the title of the page.
Implements makVrv::DtPage.
| virtual const std::string& makVrv::DtGdbSurfacesPage::pageClassName | ( | ) | const [virtual] |
Get the class name of the page.
Implements makVrv::DtPage.
| static const std::string& makVrv::DtGdbSurfacesPage::thePageClassName | ( | ) | [static] |
Get the class name of the class.
| virtual void makVrv::DtGdbSurfacesPage::setSurfaceState | ( | DtTerrainPatch::GdbSurface | surfaceId, |
| bool | state | ||
| ) | [virtual] |
Set the surface state checkbox.
Implements makVrv::DtGdbSurfacesInterface.
| virtual void makVrv::DtGdbSurfacesPage::addGdbSurface | ( | DtTerrainPatch::GdbSurface | surfaceId, |
| bool | state | ||
| ) | [virtual] |
Add a surface state checkbox to the gui.
Implements makVrv::DtGdbSurfacesInterface.
| virtual void makVrv::DtGdbSurfacesPage::onCurrentInstanceChanged | ( | QString | def | ) | [virtual] |
Called the current instance changes.
Reimplemented from makVrv::DtSelectedInstanceDialogPage.
| virtual void makVrv::DtGdbSurfacesPage::onItemChanged | ( | QListWidgetItem * | item | ) | [virtual, slot] |
Qt slot called when an item is changed.
| virtual void makVrv::DtGdbSurfacesPage::onTogglePushed | ( | ) | [virtual, slot] |
Qt slot called when the toggle button is pushed.
| void makVrv::DtGdbSurfacesPage::setupGui | ( | ) | [protected, virtual] |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
Reimplemented from makVrv::DtTerrainPatchDialogPage.
| virtual void makVrv::DtGdbSurfacesPage::activate | ( | ) | [protected, virtual] |
Activate the contents of the page.
Reimplemented from makVrv::DtTerrainPatchDialogPage.
| virtual void makVrv::DtGdbSurfacesPage::deactivate | ( | ) | [protected, virtual] |
Disable the contents of the page.
Reimplemented from makVrv::DtTerrainPatchDialogPage.
| void makVrv::DtGdbSurfacesPage::updateWidget | ( | ) | [protected] |
bool makVrv::DtGdbSurfacesPage::addingItem [protected] |
Set to true during list item creation to prevent item changed calls from going to the logic.
DtGdbSurfacesLogic* makVrv::DtGdbSurfacesPage::myLogic [protected] |
SurfaceItemMap makVrv::DtGdbSurfacesPage::myItemMap [protected] |
QListWidget* makVrv::DtGdbSurfacesPage::myList [protected] |
QPushButton* makVrv::DtGdbSurfacesPage::toggleButton [protected] |
QVBoxLayout* makVrv::DtGdbSurfacesPage::myMainLayout [protected] |
QVBoxLayout* makVrv::DtGdbSurfacesPage::myGroupLayout [protected] |