![]() |
VR-Forces 4.0.4 Class Documentation
|
DtOsgEarthStartupDialog 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. More...

Public Member Functions | |
| DtOsgEarthStartupDialog (DtDe &de, QWidget *parent=0, const Qt::WindowFlags &flags=0) | |
| Constructor. | |
| virtual | ~DtOsgEarthStartupDialog () |
| Destructor. | |
| virtual void | activate () |
| Update the content in the widget;. | |
| virtual void | deactivate () |
| virtual void | setServerAvailability (const std::string &, ServerStatus, const std::string &reason) |
| Sets the availability of the selected server. | |
| virtual void | setCurrentServer (const std::string &) |
| Sets the currently selected server. | |
| virtual void | addServer (const std::string &desc) |
| Adds a new server. | |
| virtual void | addTerrain (const std::string &desc) |
| Add a local terrain to the terrain list. | |
| virtual void | setStartupPreference (StartupPreference) |
| Sets the initial radio button selected. | |
| virtual void | setNeverShowAgain (bool neverShow) |
| Sets the state of the Never show again check box. | |
| virtual void | showDialog () |
| close the dialog | |
| virtual void | clear () |
| Clear the contents of the dropdowns. | |
Public Attributes | |
| QVBoxLayout * | myMainLayout |
| QLabel * | myServerConnectIcon |
| QRadioButton * | myServerConnectButton |
| QLabel * | myLocalTerrainIcon |
| QRadioButton * | myLocalTerrainButton |
| QLabel * | myDoNothingIcon |
| QRadioButton * | myDoNothingButton |
| QLabel * | myServerStatus |
| QLabel * | myServersLabel |
| QComboBox * | myServers |
| QGridLayout * | myServerLayout |
| QLabel * | myTerrainsLabel |
| QComboBox * | myTerrains |
| QGridLayout * | myTerrainLayout |
| QCheckBox * | myNeverShowAgain |
| QPushButton * | myOk |
| QHBoxLayout * | myButtonLayout |
| QImage | myStartupImage |
Protected Slots | |
| virtual void | currentServerChanged () |
| virtual void | serverComboActivated () |
| virtual void | terrainComboActivated () |
Protected Member Functions | |
| void | setupGui () |
| Creates the user interface. Called from constructor. | |
| virtual void | accept () |
| Accept dialog and emit signal that logic will capture as to what to do. | |
| virtual void | reject () |
| virtual void | paintEvent (QPaintEvent *) |
| Overridden method to draw background image. | |
| void | setupServersGui () |
| Sets up the server list portion of the GUI. | |
| void | setupTerrainGui () |
| Sets up the terrain list portion of the Gui. | |
Protected Attributes | |
| DtDe & | myDe |
| DtVirtualBaseClass * | myLogic |
DtOsgEarthStartupDialog 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.
| makVrv::DtOsgEarthStartupDialog::DtOsgEarthStartupDialog | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
Constructor.
| virtual makVrv::DtOsgEarthStartupDialog::~DtOsgEarthStartupDialog | ( | ) | [virtual] |
Destructor.
| virtual void makVrv::DtOsgEarthStartupDialog::activate | ( | ) | [virtual] |
Update the content in the widget;.
| virtual void makVrv::DtOsgEarthStartupDialog::deactivate | ( | ) | [virtual] |
| virtual void makVrv::DtOsgEarthStartupDialog::setServerAvailability | ( | const std::string & | , |
| ServerStatus | , | ||
| const std::string & | reason | ||
| ) | [virtual] |
Sets the availability of the selected server.
Implements makVrv::DtOsgEarthStartupDialogInterface.
| virtual void makVrv::DtOsgEarthStartupDialog::setCurrentServer | ( | const std::string & | ) | [virtual] |
Sets the currently selected server.
Implements makVrv::DtOsgEarthStartupDialogInterface.
| virtual void makVrv::DtOsgEarthStartupDialog::addServer | ( | const std::string & | desc | ) | [virtual] |
Adds a new server.
Implements makVrv::DtOsgEarthStartupDialogInterface.
| virtual void makVrv::DtOsgEarthStartupDialog::addTerrain | ( | const std::string & | desc | ) | [virtual] |
Add a local terrain to the terrain list.
Implements makVrv::DtOsgEarthStartupDialogInterface.
| virtual void makVrv::DtOsgEarthStartupDialog::setStartupPreference | ( | StartupPreference | ) | [virtual] |
Sets the initial radio button selected.
Implements makVrv::DtOsgEarthStartupDialogInterface.
| virtual void makVrv::DtOsgEarthStartupDialog::setNeverShowAgain | ( | bool | neverShow | ) | [virtual] |
Sets the state of the Never show again check box.
Implements makVrv::DtOsgEarthStartupDialogInterface.
| virtual void makVrv::DtOsgEarthStartupDialog::showDialog | ( | ) | [virtual] |
close the dialog
Implements makVrv::DtOsgEarthStartupDialogInterface.
| virtual void makVrv::DtOsgEarthStartupDialog::clear | ( | ) | [virtual] |
Clear the contents of the dropdowns.
Implements makVrv::DtOsgEarthStartupDialogInterface.
| virtual void makVrv::DtOsgEarthStartupDialog::currentServerChanged | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtOsgEarthStartupDialog::serverComboActivated | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtOsgEarthStartupDialog::terrainComboActivated | ( | ) | [protected, virtual, slot] |
| void makVrv::DtOsgEarthStartupDialog::setupGui | ( | ) | [protected] |
Creates the user interface. Called from constructor.
| virtual void makVrv::DtOsgEarthStartupDialog::accept | ( | ) | [protected, virtual] |
Accept dialog and emit signal that logic will capture as to what to do.
| virtual void makVrv::DtOsgEarthStartupDialog::reject | ( | ) | [protected, virtual] |
| virtual void makVrv::DtOsgEarthStartupDialog::paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
Overridden method to draw background image.
| void makVrv::DtOsgEarthStartupDialog::setupServersGui | ( | ) | [protected] |
Sets up the server list portion of the GUI.
| void makVrv::DtOsgEarthStartupDialog::setupTerrainGui | ( | ) | [protected] |
Sets up the terrain list portion of the Gui.
| QVBoxLayout* makVrv::DtOsgEarthStartupDialog::myMainLayout |
| QRadioButton* makVrv::DtOsgEarthStartupDialog::myServerConnectButton |
| QRadioButton* makVrv::DtOsgEarthStartupDialog::myLocalTerrainButton |
| QRadioButton* makVrv::DtOsgEarthStartupDialog::myDoNothingButton |
| QGridLayout* makVrv::DtOsgEarthStartupDialog::myServerLayout |
| QGridLayout* makVrv::DtOsgEarthStartupDialog::myTerrainLayout |
| QHBoxLayout* makVrv::DtOsgEarthStartupDialog::myButtonLayout |
DtDe& makVrv::DtOsgEarthStartupDialog::myDe [protected] |