![]() |
VR-Forces Developer's Guide
|
DtStartupDialog provides a dialog to be displayed on VR-Vantage startup to allow the user to choose what server to connect to or which terrain to load.

Public Member Functions | |
| DtStartupDialog (DtDe &de, QWidget *parent=0, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtStartupDialog () |
| virtual void | activate () |
| virtual void | deactivate () |
| virtual void | addTerrain (const std::string &desc) |
| virtual void | addRecentTerrain (const std::string &desc) |
| virtual void | setStartupPreference (StartupPreference) |
| virtual void | setNeverShowAgain (bool neverShow) |
| virtual void | showDialog () |
| virtual void | clear () |
| virtual void | setDescription (const std::string &description) |
Public Member Functions inherited from makVrv::DtStartupDialogInterface | |
| virtual | ~DtStartupDialogInterface () |
Public Attributes | |
| QVBoxLayout * | myMainLayout |
| QLabel * | myRecentTerrainIcon |
| QRadioButton * | myRecentTerrainButton |
| QLabel * | myLocalTerrainIcon |
| QRadioButton * | myLocalTerrainButton |
| QComboBox * | myRecentTerrains |
| QGridLayout * | myRecentTerrainLayout |
| QComboBox * | myTerrains |
| QGridLayout * | myTerrainLayout |
| QCheckBox * | myNeverShowAgain |
| QPushButton * | myOk |
| QPushButton * | myCancelButton |
| QHBoxLayout * | myButtonLayout |
| QTextEdit * | myDescriptionText |
Public Attributes inherited from makVrv::DtStartupDialogInterface | |
| boost::signalslib::signal < void(bool)> | signal_neverShowAgain |
| boost::signalslib::signal < void(const std::string &, const int)> | signal_loadTerrain |
| boost::signalslib::signal < void(const std::string &, const int)> | signal_selectedTerrainChanged |
Protected Slots | |
| virtual void | recentTerrainComboActivated () |
| virtual void | terrainComboActivated () |
| virtual void | selectedTerrainChanged () |
| virtual void | neverShowAgainToggled (bool toggled) |
Protected Member Functions | |
| void | setupGui () |
| virtual void | accept () |
| virtual void | reject () |
| void | setupTerrainGui () |
| void | setupRecentTerrainsGui () |
Protected Attributes | |
| DtDe & | myDe |
| DtVirtualBaseClass * | myLogic |
Additional Inherited Members | |
Public Types inherited from makVrv::DtStartupDialogInterface | |
| enum | ServerStatus { Available = 0, Requesting, Unavailable } |
| enum | StartupPreference { LoadRecentTerrain = 0, LoadLocalTerrain, LoadNoTerrain } |
| makVrv::DtStartupDialog::DtStartupDialog | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Update the content in the widget;.
|
virtual |
|
virtual |
Adds a new Terrain to the list of terrains.
Implements makVrv::DtStartupDialogInterface.
|
virtual |
Adds a recently used terrain to the list of recent terrains.
Implements makVrv::DtStartupDialogInterface.
|
virtual |
Sets the initial radio button selected.
Implements makVrv::DtStartupDialogInterface.
|
virtual |
Sets the state of the Never show again check box.
Implements makVrv::DtStartupDialogInterface.
|
virtual |
close the dialog
Implements makVrv::DtStartupDialogInterface.
|
virtual |
Clear the contents of the dropdowns.
Implements makVrv::DtStartupDialogInterface.
|
virtual |
Set the description text for the dialog.
Implements makVrv::DtStartupDialogInterface.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protected |
Creates the user interface. Called from constructor.
|
protectedvirtual |
Accept dialog and emit signal that logic will capture as to what to do.
|
protectedvirtual |
|
protected |
Sets up the terrain list portion of the Gui.
|
protected |
Sets up the recent terrain list portion of the Gui.
| QVBoxLayout* makVrv::DtStartupDialog::myMainLayout |
| QLabel* makVrv::DtStartupDialog::myRecentTerrainIcon |
| QRadioButton* makVrv::DtStartupDialog::myRecentTerrainButton |
| QLabel* makVrv::DtStartupDialog::myLocalTerrainIcon |
| QRadioButton* makVrv::DtStartupDialog::myLocalTerrainButton |
| QComboBox* makVrv::DtStartupDialog::myRecentTerrains |
| QGridLayout* makVrv::DtStartupDialog::myRecentTerrainLayout |
| QComboBox* makVrv::DtStartupDialog::myTerrains |
| QGridLayout* makVrv::DtStartupDialog::myTerrainLayout |
| QCheckBox* makVrv::DtStartupDialog::myNeverShowAgain |
| QPushButton* makVrv::DtStartupDialog::myOk |
| QPushButton* makVrv::DtStartupDialog::myCancelButton |
| QHBoxLayout* makVrv::DtStartupDialog::myButtonLayout |
| QTextEdit* makVrv::DtStartupDialog::myDescriptionText |
|
protected |
|
protected |