VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrv::DtObserverViewsWidgetInterface Class Reference

Abstract interface for the observer views widget. More...

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

Public Member Functions

virtual ~DtObserverViewsWidgetInterface ()
 Virtual DTOR.
virtual void insertObserverView (int index, const DtObserverViewInfoViewerData &observerData)=0
 Adds a new observer view to the list of current views.
virtual void clearObserverViews ()=0
 Clears out observer views list.
virtual void deleteView (const std::string &, DtObserverViewsManager::ViewProjection)=0
 Removes the specified view from the observers view list.
virtual void setDefaultView (const std::string &, DtObserverViewsManager::ViewProjection)=0
 Set a view as default.
virtual void unSetDefaultView (const std::string &, DtObserverViewsManager::ViewProjection)=0
 unset a default view
virtual void renameObserverRecord (const std::string &newName, const std::string &oldName)=0
 Renames the observer record from old name to new name.
virtual void showSaveChangesMessage ()=0
 pops up an action confirmation message when the user is modifying the observers in the list
virtual void showClearWarningMessage ()=0
 Raises a confirmation message box to clear the contents of the observer views list.
virtual void showAssociateWarningMessage ()=0
 Raises a confirmation message box to associate the current contents of the observer views list with the currently loaded terrain.
virtual void showDissociateWarningMessage ()=0
 Raises a confirmation message box to dissociate any observer views that are currently associated with the currently loaded terrain.
virtual void requestSaveFilename ()=0
 Raises a message box offering options to 'Save As' or 'Don't Save'.
virtual void contextItemRequestSaveFilename ()=0
 saves a single observer view from the observ view table widget
virtual void enableObserverViewsList (bool enabled)=0
 enables the observer views list
virtual void enableAddViewButton (bool enabled)=0
 enables the "add view" button
virtual void enableAssociateViewsToTerrainButton (bool enabled)=0
 enables the "associate views to terrain" button
virtual void enableSaveToFileButton (bool enabled)=0
 enables the "save views to file" button
virtual void enableDissociateViewsButton (bool enabled)=0
 enables the "dissociate views" button
virtual void enableLoadAndMergeViewsButton (bool enabled)=0
 enables the "load views" button
virtual void enableClearViewsButton (bool enabled)=0
virtual void enableSaveButton (bool enabled)=0
 If this is true, the dialog that is used when the export icon is pressed will contain a Save button (in addition to the Save As...) button.
virtual void setAssociateViewsToTerrainButtonOnExitMessageVisible (bool visible)=0
virtual void setSavedChangesButtonOnExitMessageVisible (bool visible)=0
virtual int viewListSize ()=0
virtual void dissociateViewFromTerrain (const std::string &viewName)=0
virtual void resizeColumns ()=0

Public Attributes

boost::signal< void()> signal_captureAndObserverView
 Signals.
boost::signal< void(const
DtUnicode
&, DtObserverViewsManager::ViewProjection,
bool) > 
signal_setObserverViewbyNameAndMode
 Called when the user click on a view and the system load it.
boost::signal< void()> signal_clearObserverViews
 Called when the user cleans observer view's list form the widget.
boost::signal< void()> signal_associateObserverViewsToCurrentTerrain
 Called when the user confirms to associate views with the current terrain from observer view's list form the widget.
boost::signal< void()> signal_dissociateObserverViewsToCurrentTerrain
 Called when the user confirms to dissociate views with the current terrain from observer view's list form the widget.
boost::signal< void(const
DtUnicode &)> 
signal_saveObserverViewsFileAs
 Called when the user presses the saveObserverViews button.
boost::signal< void()> signal_saveObserverViewsFile
boost::signal< void(const
DtUnicode &)> 
signal_saveSingleObserverViewsFile
 Called when the user saves a single observer view into a file.
boost::signal< void(const
DtUnicode &)> 
signal_loadObserverViewsFile
 Called when the user loads observer views from a file.
boost::signal< bool(const
DtUnicode &, const DtUnicode
&, DtObserverViewsManager::ViewProjection)> 
signal_renameObserverRecord
 Called when the user rename a observer view.
boost::signal< void(const
std::string
&, DtObserverViewsManager::ViewProjection)> 
signal_rightClickedOnObserverView
 Called when to save the data of a right clicked observer view.
boost::signal< void()> signal_saveLoadedFile
 Called when the user rename a observer view.

Detailed Description

Abstract interface for the observer views widget.

Constructor & Destructor Documentation

virtual makVrv::DtObserverViewsWidgetInterface::~DtObserverViewsWidgetInterface ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtObserverViewsWidgetInterface::insertObserverView ( int  index,
const DtObserverViewInfoViewerData observerData 
)
pure virtual

Adds a new observer view to the list of current views.

Implemented in makVrv::DtObserverViewsWidget, and makVrf::DtVrfObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::clearObserverViews ( )
pure virtual

Clears out observer views list.

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::deleteView ( const std::string &  ,
DtObserverViewsManager::ViewProjection   
)
pure virtual

Removes the specified view from the observers view list.

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::setDefaultView ( const std::string &  ,
DtObserverViewsManager::ViewProjection   
)
pure virtual

Set a view as default.

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::unSetDefaultView ( const std::string &  ,
DtObserverViewsManager::ViewProjection   
)
pure virtual

unset a default view

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::renameObserverRecord ( const std::string &  newName,
const std::string &  oldName 
)
pure virtual

Renames the observer record from old name to new name.

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::showSaveChangesMessage ( )
pure virtual

pops up an action confirmation message when the user is modifying the observers in the list

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::showClearWarningMessage ( )
pure virtual

Raises a confirmation message box to clear the contents of the observer views list.

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::showAssociateWarningMessage ( )
pure virtual

Raises a confirmation message box to associate the current contents of the observer views list with the currently loaded terrain.

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::showDissociateWarningMessage ( )
pure virtual

Raises a confirmation message box to dissociate any observer views that are currently associated with the currently loaded terrain.

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::requestSaveFilename ( )
pure virtual

Raises a message box offering options to 'Save As' or 'Don't Save'.

If the mySaveEnabled flag is true, the box will also contain the 'Save' option. If 'Save As' is chosen, it will call DtStaticFileDialog::getSaveFileNameWithExtension to request a file name, followed by a signal_saveObserverViewsFileAs if a filename has been selected; 'Save' generates a signal_saveObserverViewsFile.

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::contextItemRequestSaveFilename ( )
pure virtual

saves a single observer view from the observ view table widget

Implemented in makVrv::DtObserverViewsWidget.

virtual void makVrv::DtObserverViewsWidgetInterface::enableObserverViewsList ( bool  enabled)
pure virtual

enables the observer views list

virtual void makVrv::DtObserverViewsWidgetInterface::enableAddViewButton ( bool  enabled)
pure virtual

enables the "add view" button

virtual void makVrv::DtObserverViewsWidgetInterface::enableAssociateViewsToTerrainButton ( bool  enabled)
pure virtual

enables the "associate views to terrain" button

virtual void makVrv::DtObserverViewsWidgetInterface::enableSaveToFileButton ( bool  enabled)
pure virtual

enables the "save views to file" button

virtual void makVrv::DtObserverViewsWidgetInterface::enableDissociateViewsButton ( bool  enabled)
pure virtual

enables the "dissociate views" button

virtual void makVrv::DtObserverViewsWidgetInterface::enableLoadAndMergeViewsButton ( bool  enabled)
pure virtual

enables the "load views" button

virtual void makVrv::DtObserverViewsWidgetInterface::enableClearViewsButton ( bool  enabled)
pure virtual
virtual void makVrv::DtObserverViewsWidgetInterface::enableSaveButton ( bool  enabled)
pure virtual

If this is true, the dialog that is used when the export icon is pressed will contain a Save button (in addition to the Save As...) button.

virtual void makVrv::DtObserverViewsWidgetInterface::setAssociateViewsToTerrainButtonOnExitMessageVisible ( bool  visible)
pure virtual
virtual void makVrv::DtObserverViewsWidgetInterface::setSavedChangesButtonOnExitMessageVisible ( bool  visible)
pure virtual
virtual int makVrv::DtObserverViewsWidgetInterface::viewListSize ( )
pure virtual
virtual void makVrv::DtObserverViewsWidgetInterface::dissociateViewFromTerrain ( const std::string &  viewName)
pure virtual
virtual void makVrv::DtObserverViewsWidgetInterface::resizeColumns ( )
pure virtual

Member Data Documentation

boost::signal<void()> makVrv::DtObserverViewsWidgetInterface::signal_captureAndObserverView

Signals.

Called when the user adds an observer view.

boost::signal< void(const DtUnicode&, DtObserverViewsManager::ViewProjection, bool) > makVrv::DtObserverViewsWidgetInterface::signal_setObserverViewbyNameAndMode

Called when the user click on a view and the system load it.

boost::signal< void()> makVrv::DtObserverViewsWidgetInterface::signal_clearObserverViews

Called when the user cleans observer view's list form the widget.

boost::signal<void()> makVrv::DtObserverViewsWidgetInterface::signal_associateObserverViewsToCurrentTerrain

Called when the user confirms to associate views with the current terrain from observer view's list form the widget.

boost::signal<void()> makVrv::DtObserverViewsWidgetInterface::signal_dissociateObserverViewsToCurrentTerrain

Called when the user confirms to dissociate views with the current terrain from observer view's list form the widget.

boost::signal<void(const DtUnicode&)> makVrv::DtObserverViewsWidgetInterface::signal_saveObserverViewsFileAs

Called when the user presses the saveObserverViews button.

Called when the user saves all the observer views into a file

boost::signal<void()> makVrv::DtObserverViewsWidgetInterface::signal_saveObserverViewsFile
boost::signal<void(const DtUnicode&)> makVrv::DtObserverViewsWidgetInterface::signal_saveSingleObserverViewsFile

Called when the user saves a single observer view into a file.

boost::signal<void(const DtUnicode&)> makVrv::DtObserverViewsWidgetInterface::signal_loadObserverViewsFile

Called when the user loads observer views from a file.

boost::signal<bool(const DtUnicode&, const DtUnicode&, DtObserverViewsManager::ViewProjection)> makVrv::DtObserverViewsWidgetInterface::signal_renameObserverRecord

Called when the user rename a observer view.

boost::signal<void(const std::string&, DtObserverViewsManager::ViewProjection)> makVrv::DtObserverViewsWidgetInterface::signal_rightClickedOnObserverView

Called when to save the data of a right clicked observer view.

boost::signal<void()> makVrv::DtObserverViewsWidgetInterface::signal_saveLoadedFile

Called when the user rename a observer view.


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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)