VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtSessionStartupDialog Class Reference
Inheritance diagram for makVrf::DtSessionStartupDialog:
Inheritance graph
[legend]

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 Member Functions inherited from makVrf::DtSessionStartupDialogInterface
virtual ~DtSessionStartupDialogInterface ()

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
- Public Attributes inherited from makVrf::DtSessionStartupDialogInterface
boost::signal< void(const
std::string &)> 
signal_requestServerAvailability
boost::signal< void()> signal_neverShowAgain
boost::signal< void(const
std::string &)> 
signal_newScenarioVR
boost::signal< void()> signal_newScenario
boost::signal< void()> signal_loadScenario
boost::signal< void()> signal_sessionStartupComplete

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

Additional Inherited Members

- Public Types inherited from makVrf::DtSessionStartupDialogInterface
enum  ServerStatus { Available = 0, Requesting, Unavailable }
enum  StartupPreference { NewScenarioOnVR = 0, NewScenario, LoadScenario }

Constructor & Destructor Documentation

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

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.

virtual void makVrf::DtSessionStartupDialog::setStartupPreference ( StartupPreference  )
virtual

Sets the initial radio button selected.

Implements makVrf::DtSessionStartupDialogInterface.

virtual void makVrf::DtSessionStartupDialog::setAllowNewScenarioOnLocal ( bool  )
virtual

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

virtual void makVrf::DtSessionStartupDialog::setAllowNewScenarioOnVR ( bool  )
virtual

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

virtual void makVrf::DtSessionStartupDialog::setAllowLoadScenario ( bool  )
virtual

Sets whether or not a scenario can be loaded.

virtual void makVrf::DtSessionStartupDialog::currentServerChanged ( )
protectedvirtualslot
void makVrf::DtSessionStartupDialog::setupGui ( )
protected

Creates the user interface. Called from constructor.

virtual void makVrf::DtSessionStartupDialog::accept ( )
protectedvirtual

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

virtual void makVrf::DtSessionStartupDialog::reject ( )
protectedvirtual

Cancels dialog.

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

virtual void makVrf::DtSessionStartupDialog::paintEvent ( QPaintEvent *  )
protectedvirtual

Member Data Documentation

QVBoxLayout* makVrf::DtSessionStartupDialog::myMainLayout
QLabel* makVrf::DtSessionStartupDialog::myNewScenarioVRIcon
QRadioButton* makVrf::DtSessionStartupDialog::myNewScenarioVR
QLabel* makVrf::DtSessionStartupDialog::myNewScenarioIcon
QRadioButton* makVrf::DtSessionStartupDialog::myNewScenario
QLabel* makVrf::DtSessionStartupDialog::myLoadScenarioIcon
QRadioButton* makVrf::DtSessionStartupDialog::myLoadScenario
QLabel* makVrf::DtSessionStartupDialog::myServerStatus
QLabel* makVrf::DtSessionStartupDialog::myServersLabel
QComboBox* makVrf::DtSessionStartupDialog::myServers
QGridLayout* makVrf::DtSessionStartupDialog::myServerLayout
QCheckBox* makVrf::DtSessionStartupDialog::myNeverShowAgain
QPushButton* makVrf::DtSessionStartupDialog::myOk
QPushButton* makVrf::DtSessionStartupDialog::myCancel
QHBoxLayout* makVrf::DtSessionStartupDialog::myButtonLayout
DtSessionStartupTitleBar* makVrf::DtSessionStartupDialog::myTitleBar
QImage makVrf::DtSessionStartupDialog::myStartupImage
QLabel* makVrf::DtSessionStartupDialog::myWebLink
makVrv::DtDe& makVrf::DtSessionStartupDialog::myDe
protected
DtSessionStartupDialogLogic* makVrf::DtSessionStartupDialog::myLogic
protected

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)