VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtVrfObserverViewsWidget Class Reference

This class will override some basic functionality of the observer views logic in order to retrieve current observer views from the scenario. More...

Inheritance diagram for makVrf::DtVrfObserverViewsWidget:
Inheritance graph
[legend]

Public Member Functions

 DtVrfObserverViewsWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor of the page.
virtual ~DtVrfObserverViewsWidget ()
 DTOR.

Protected Slots

virtual void onChangeAutoShowView ()
 Called when the auto view button is pressed. Change the current view.
virtual void onScenarioInformationAboutToBeSaved ()
 Called before the scenario information is saved in order to commit name edits.

Protected Member Functions

virtual void onSetObserverView ()
 If default observer view (or not) change the autoview button to update.
virtual void addObserverView (const std::string &)
 Adds a new observer view to the list of current views. If default view set font to bold.
virtual void onSetDefaultObserverView (std::string oldView, std::string newView)
 Sets the new default observer view view.
virtual void updateButtons ()
 Updates the state of the buttons reflective of current selection.
virtual void renameObserverRecord (const std::string &newName, const std::string &oldName)
 Renames the observer record from old name to new name.

Protected Attributes

QPushButtonmyAutoShowView

Detailed Description

This class will override some basic functionality of the observer views logic in order to retrieve current observer views from the scenario.

The widget is present simply to allow for the creation of the new logic

Constructor & Destructor Documentation

makVrf::DtVrfObserverViewsWidget::DtVrfObserverViewsWidget ( makVrv::DtDe &  de,
QWidget parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor of the page.

virtual makVrf::DtVrfObserverViewsWidget::~DtVrfObserverViewsWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtVrfObserverViewsWidget::onSetObserverView ( )
protectedvirtual

If default observer view (or not) change the autoview button to update.

virtual void makVrf::DtVrfObserverViewsWidget::addObserverView ( const std::string &  )
protectedvirtual

Adds a new observer view to the list of current views. If default view set font to bold.

virtual void makVrf::DtVrfObserverViewsWidget::onSetDefaultObserverView ( std::string  oldView,
std::string  newView 
)
protectedvirtual

Sets the new default observer view view.

virtual void makVrf::DtVrfObserverViewsWidget::updateButtons ( )
protectedvirtual

Updates the state of the buttons reflective of current selection.

virtual void makVrf::DtVrfObserverViewsWidget::renameObserverRecord ( const std::string &  newName,
const std::string &  oldName 
)
protectedvirtual

Renames the observer record from old name to new name.

virtual void makVrf::DtVrfObserverViewsWidget::onChangeAutoShowView ( )
protectedvirtualslot

Called when the auto view button is pressed. Change the current view.

virtual void makVrf::DtVrfObserverViewsWidget::onScenarioInformationAboutToBeSaved ( )
protectedvirtualslot

Called before the scenario information is saved in order to commit name edits.

Member Data Documentation

QPushButton* makVrf::DtVrfObserverViewsWidget::myAutoShowView
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)