VR-Forces 4.0.4 Class Documentation
Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtOsgEarthStartupDialog Class Reference

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...

Inheritance diagram for makVrv::DtOsgEarthStartupDialog:
Inheritance graph
[legend]

List of all members.

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
QLabelmyServerConnectIcon
QRadioButton * myServerConnectButton
QLabelmyLocalTerrainIcon
QRadioButton * myLocalTerrainButton
QLabelmyDoNothingIcon
QRadioButton * myDoNothingButton
QLabelmyServerStatus
QLabelmyServersLabel
QComboBoxmyServers
QGridLayout * myServerLayout
QLabelmyTerrainsLabel
QComboBoxmyTerrains
QGridLayout * myTerrainLayout
QCheckBoxmyNeverShowAgain
QPushButtonmyOk
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

DtDemyDe
DtVirtualBaseClassmyLogic

Detailed Description

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.


Constructor & Destructor Documentation

makVrv::DtOsgEarthStartupDialog::DtOsgEarthStartupDialog ( DtDe de,
QWidget parent = 0,
const Qt::WindowFlags &  flags = 0 
)

Constructor.

Destructor.


Member Function Documentation

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.

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]

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.

Sets up the server list portion of the GUI.

Sets up the terrain list portion of the Gui.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)