VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtOsgEarthSettingsWidget Class Reference

Widget for osgEarth server settings.

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 ()
 
virtual void onCancelClicked ()
 

Public Member Functions

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

Sets the values of the widget's corresponding fields.

virtual void setText (const std::string &desc)
 
virtual void addInstance (const std::string &name, bool select=false)
 
virtual void removeInstance (const std::string &name)
 
virtual void clearInstances ()
 
- 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 ()
 
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::signalslib::signal
< void(const std::string &)> 
signal_saveFile
 
boost::signalslib::signal
< void(const std::string &)> 
signal_renameFile
 
boost::signalslib::signal
< void(const std::string &)> 
signal_newFile
 
boost::signalslib::signal< void()> signal_deleteFile
 
boost::signalslib::signal
< void(const std::string &)> 
signal_currentServerChanged
 

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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)