VR-Forces 4.1 Class Documentation
List of all members | 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]

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, bool select=false)
 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.
- Public Member Functions inherited from makVrv::DtOsgEarthSettingsInterface
virtual ~DtOsgEarthSettingsInterface ()

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

Additional Inherited Members

- Public Attributes inherited from makVrv::DtOsgEarthSettingsInterface
boost::signal< void(const
std::string &)> 
signal_saveFile
boost::signal< void(const
std::string &)> 
signal_renameFile
boost::signal< void(const
std::string &)> 
signal_newFile
boost::signal< void()> signal_deleteFile
boost::signal< void(const
std::string &)> 
signal_currentServerChanged

Detailed Description

Widget for osgEarth server settings.

Constructor & Destructor Documentation

makVrv::DtOsgEarthSettingsWidget::DtOsgEarthSettingsWidget ( DtDe de,
QWidget parent 
)

CTOR.

virtual makVrv::DtOsgEarthSettingsWidget::~DtOsgEarthSettingsWidget ( )
virtual

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,
bool  select = false 
)
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.

virtual void makVrv::DtOsgEarthSettingsWidget::clearInstances ( )
virtual

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

Implements makVrv::DtOsgEarthSettingsInterface.

virtual void makVrv::DtOsgEarthSettingsWidget::onSaveClicked ( )
virtualslot

Called when user clicked "Connect".

virtual void makVrv::DtOsgEarthSettingsWidget::onCancelClicked ( )
virtualslot

Called when user clicked "Cancel".

virtual void makVrv::DtOsgEarthSettingsWidget::on_myContentsWidget_currentIndexChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthSettingsWidget::on_myContentsWidget_NewInstanceRequested ( )
protectedvirtualslot
virtual void makVrv::DtOsgEarthSettingsWidget::on_myContentsWidget_DeleteInstanceRequested ( )
protectedvirtualslot
virtual void makVrv::DtOsgEarthSettingsWidget::on_myContentsWidget_RenameInstanceRequested ( )
protectedvirtualslot
virtual void makVrv::DtOsgEarthSettingsWidget::onTextChanged ( )
protectedvirtualslot
void makVrv::DtOsgEarthSettingsWidget::setupGui ( )
protected

Sets up the widget's fields.

Non-virtual (Called from CTOR).

int makVrv::DtOsgEarthSettingsWidget::saveOption ( )
protected

Member Data Documentation

DtDe& makVrv::DtOsgEarthSettingsWidget::myDe
protected
DtOsgEarthSettingsLogic* makVrv::DtOsgEarthSettingsWidget::myLogic
protected
std::string makVrv::DtOsgEarthSettingsWidget::myContent
protected
bool makVrv::DtOsgEarthSettingsWidget::myChanged
protected
QVBoxLayout* makVrv::DtOsgEarthSettingsWidget::myMainLayout
protected
QVBoxLayout* makVrv::DtOsgEarthSettingsWidget::myContentsLayout
protected
QHBoxLayout* makVrv::DtOsgEarthSettingsWidget::myControlsLayout
protected
DtSelectInstanceWidget* makVrv::DtOsgEarthSettingsWidget::mySelectInstanceWidget
protected
QPlainTextEdit* makVrv::DtOsgEarthSettingsWidget::myDescriptionText
protected
QPushButton* makVrv::DtOsgEarthSettingsWidget::mySaveButton
protected
QPushButton* makVrv::DtOsgEarthSettingsWidget::myCancelButton
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)