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

Widget for osgEarth server settings. More...

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

List of all members.

Public Slots

User input slots (public).

Receives notification that the user has changed a widget's value.

virtual void onSaveClicked ()
 Called when user clicked "Connect".
virtual void onCancelClicked ()
 Called when user clicked "Cancel".

Public Member Functions

 DtOsgEarthSettingsWidget (DtDe &de, QWidget *parent)
 CTOR.
virtual ~DtOsgEarthSettingsWidget ()
 DTOR.
Field value setters.

Sets the values of the widget's corresponding fields.

virtual void setText (const std::string &desc)
 Called by the logic to set parameters for the current server.
virtual void addInstance (const std::string &name)
 Called by the logic to add an instance to the gui.
virtual void removeInstance (const std::string &name)
 Called by the logic to remove an instance to the gui.
virtual void clearInstances ()
 Called by the logic to remove all instances from the gui.

Protected Slots

User input slots (protected).

Receives notification that the user has changed a widget's value.

virtual void on_myContentsWidget_currentIndexChanged (int)
virtual void on_myContentsWidget_NewInstanceRequested ()
virtual void on_myContentsWidget_DeleteInstanceRequested ()
virtual void on_myContentsWidget_RenameInstanceRequested ()
virtual void onTextChanged ()

Protected Member Functions

void setupGui ()
 Sets up the widget's fields.
int saveOption ()

Protected Attributes

DtDemyDe
DtOsgEarthSettingsLogicmyLogic
std::string myContent
bool myChanged
QVBoxLayout * myMainLayout
QVBoxLayout * myContentsLayout
QHBoxLayout * myControlsLayout
DtSelectInstanceWidgetmySelectInstanceWidget
QPlainTextEdit * myDescriptionText
QPushButtonmySaveButton
QPushButtonmyCancelButton

Detailed Description

Widget for osgEarth server settings.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrv::DtOsgEarthSettingsWidget::setText ( const std::string &  desc) [virtual]

Called by the logic to set parameters for the current server.

Implements makVrv::DtOsgEarthSettingsInterface.

virtual void makVrv::DtOsgEarthSettingsWidget::addInstance ( const std::string &  name) [virtual]

Called by the logic to add an instance to the gui.

Implements makVrv::DtOsgEarthSettingsInterface.

virtual void makVrv::DtOsgEarthSettingsWidget::removeInstance ( const std::string &  name) [virtual]

Called by the logic to remove an instance to the gui.

Implements makVrv::DtOsgEarthSettingsInterface.

Called by the logic to remove all instances from the gui.

Implements makVrv::DtOsgEarthSettingsInterface.

virtual void makVrv::DtOsgEarthSettingsWidget::onSaveClicked ( ) [virtual, slot]

Called when user clicked "Connect".

virtual void makVrv::DtOsgEarthSettingsWidget::onCancelClicked ( ) [virtual, slot]

Called when user clicked "Cancel".

virtual void makVrv::DtOsgEarthSettingsWidget::on_myContentsWidget_currentIndexChanged ( int  ) [protected, virtual, slot]
virtual void makVrv::DtOsgEarthSettingsWidget::onTextChanged ( ) [protected, virtual, slot]

Sets up the widget's fields.

Non-virtual (Called from CTOR).


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)