VR-Forces 4.0.4 Class Documentation
Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtSessionStartupDialog Class Reference
Inheritance diagram for makVrf::DtSessionStartupDialog:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSessionStartupDialog (makVrv::DtDe &de, QWidget *parent=0, const Qt::WindowFlags &flags=0)
virtual ~DtSessionStartupDialog ()
virtual void activate ()
 Activates the dialog and creates the logic.
virtual void deactivate ()
 Deactivates the dialog by deleting the logic.
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 removeServer (const std::string &desc)
 Removes a server.
virtual void setStartupPreference (StartupPreference)
 Sets the initial radio button selected.
virtual void setAllowNewScenarioOnLocal (bool)
 Sets whether or not to allow a new scenario to be created on a local terrain.
virtual void setAllowNewScenarioOnVR (bool)
 Sets whether or not to allow a new scenario to be created on a VR-TheWorld terrain.
virtual void setAllowLoadScenario (bool)
 Sets whether or not a scenario can be loaded.

Public Attributes

QVBoxLayout * myMainLayout
QLabelmyNewScenarioVRIcon
QRadioButton * myNewScenarioVR
QLabelmyNewScenarioIcon
QRadioButton * myNewScenario
QLabelmyLoadScenarioIcon
QRadioButton * myLoadScenario
QLabelmyServerStatus
QLabelmyServersLabel
QComboBoxmyServers
QGridLayout * myServerLayout
QCheckBoxmyNeverShowAgain
QPushButtonmyOk
QPushButtonmyCancel
QHBoxLayout * myButtonLayout
DtSessionStartupTitleBar * myTitleBar
QImage myStartupImage
QLabelmyWebLink

Protected Slots

virtual void currentServerChanged ()

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 ()
 Cancels dialog.
virtual void paintEvent (QPaintEvent *)

Protected Attributes

makVrv::DtDemyDe
DtSessionStartupDialogLogicmyLogic

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void makVrf::DtSessionStartupDialog::activate ( ) [virtual]

Activates the dialog and creates the logic.

virtual void makVrf::DtSessionStartupDialog::deactivate ( ) [virtual]

Deactivates the dialog by deleting the logic.

virtual void makVrf::DtSessionStartupDialog::setServerAvailability ( const std::string &  ,
ServerStatus  ,
const std::string &  reason 
) [virtual]

Sets the availability of the selected server.

Implements makVrf::DtSessionStartupDialogInterface.

virtual void makVrf::DtSessionStartupDialog::setCurrentServer ( const std::string &  ) [virtual]

Sets the currently selected server.

Implements makVrf::DtSessionStartupDialogInterface.

virtual void makVrf::DtSessionStartupDialog::addServer ( const std::string &  desc) [virtual]

Adds a new server.

Implements makVrf::DtSessionStartupDialogInterface.

virtual void makVrf::DtSessionStartupDialog::removeServer ( const std::string &  desc) [virtual]

Removes a server.

Implements makVrf::DtSessionStartupDialogInterface.

Sets the initial radio button selected.

Implements makVrf::DtSessionStartupDialogInterface.

Sets whether or not to allow a new scenario to be created on a local terrain.

Sets whether or not to allow a new scenario to be created on a VR-TheWorld terrain.

Sets whether or not a scenario can be loaded.

virtual void makVrf::DtSessionStartupDialog::currentServerChanged ( ) [protected, virtual, slot]

Creates the user interface. Called from constructor.

virtual void makVrf::DtSessionStartupDialog::accept ( ) [protected, virtual]

Accept dialog and emit signal that logic will capture as to what to do.

virtual void makVrf::DtSessionStartupDialog::reject ( ) [protected, virtual]

Cancels dialog.

If do not show again button is checked, will still apply that

virtual void makVrf::DtSessionStartupDialog::paintEvent ( QPaintEvent *  ) [protected, virtual]

Member Data Documentation

DtSessionStartupTitleBar* makVrf::DtSessionStartupDialog::myTitleBar

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)