![]() |
VR-Forces 4.3 Class Documentation
|
This class will override some basic functionality of the observer views logic in order to retrieve current observer views from the scenario. More...

Public Member Functions | |
| DtVrfObserverViewsWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor of the page. | |
| virtual | ~DtVrfObserverViewsWidget () |
| DTOR. | |
Public Member Functions inherited from makVrv::DtObserverViewsWidget | |
| virtual | ~DtObserverViewsWidget () |
| DTOR. | |
| virtual QIcon | icon () |
| Get the icon of the page. | |
| virtual QString | title () |
| Get the title of the page. | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. | |
| virtual std::string | currentObserverView () const |
| Returns the currently selected observer view. | |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| CTOR for page. | |
| virtual | ~DtPage () |
| DTOR for page. | |
Public Member Functions inherited from makVrv::DtObserverViewsWidgetInterface | |
| virtual | ~DtObserverViewsWidgetInterface () |
| Virtual DTOR. | |
Public Attributes | |
| QPushButton * | myAutoShowView |
Public Attributes inherited from makVrv::DtObserverViewsWidget | |
| QVBoxLayout * | myMainLayout |
| QHBoxLayout * | myButtonLayout |
| QTreeWidget * | myObserverViews |
| QPushButton * | myAddView |
| QPushButton * | myDeleteView |
| QPushButton * | mySaveViews |
| QPushButton * | mySaveSingle |
| QPushButton * | myLoadViews |
| QPushButton * | myLoadAndMakeViewsCurrent |
| QPushButton * | myClearViews |
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 Slots inherited from makVrv::DtObserverViewsWidget | |
| virtual void | onAddObserverView () |
| Calls down to logic to capture view and add it back here. | |
| virtual void | onClearObserverViews () |
| Calls down to logic to clear out observer views. | |
| virtual void | onSaveViews () |
| Puts up dialog to allow user to specify a file to save all current views in and calls down to logic to do the save. | |
| virtual void | onSaveSelectedView () |
| Puts up dialog to allow user to specify a file to save the currently selected view in and calls down to logic to do the save. | |
| virtual void | onDeleteSelectedView () |
| Calls down to logic to delete currently selected view. | |
| virtual void | onLoadViews () |
| Calls down to logic to load file and place view records found in there into the interface. | |
| virtual void | onLoadViewsAndMakeCurrent () |
| Calls down to logic to load file and place view records found in there into the interface. | |
Protected Member Functions | |
| virtual void | onSetObserverView () |
| If default observer view (or not) change the autoview button to update. | |
| virtual void | observerViewNameChanged () |
| Called when observer view name has changed, changed in record. | |
| 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 Member Functions inherited from makVrv::DtObserverViewsWidget | |
| DtObserverViewsWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor of the page. | |
| virtual void | activate () |
| Called when the page is displayed. | |
| virtual void | deactivate () |
| Called when the page is hidden. | |
| void | setupUi (QWidget *p) |
| Sets up the contents of the widget onto the supplied parent. | |
| virtual void | setViewStatesEnabled (bool) |
| Tells the interface to enable/disable buttons that manipulate the observer view (add, load, observers view) | |
| virtual void | clearObserverViews () |
| Clears out observer views list. | |
| virtual void | deleteView (const std::string &) |
| Removes the specified view from the observers view list. | |
Additional Inherited Members | |
Protected Attributes inherited from makVrv::DtObserverViewsWidget | |
| std::string | myClassName |
| DtObserverViewsWidgetLogic * | myLogic |
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
| makVrf::DtVrfObserverViewsWidget::DtVrfObserverViewsWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor of the page.
|
virtual |
DTOR.
|
protectedvirtual |
If default observer view (or not) change the autoview button to update.
Reimplemented from makVrv::DtObserverViewsWidget.
|
protectedvirtual |
Called when observer view name has changed, changed in record.
Reimplemented from makVrv::DtObserverViewsWidget.
|
protectedvirtual |
Adds a new observer view to the list of current views. If default view set font to bold.
Reimplemented from makVrv::DtObserverViewsWidget.
|
protectedvirtual |
Sets the new default observer view view.
|
protectedvirtual |
Updates the state of the buttons reflective of current selection.
|
protectedvirtual |
Renames the observer record from old name to new name.
Reimplemented from makVrv::DtObserverViewsWidget.
|
protectedvirtualslot |
Called when the auto view button is pressed. Change the current view.
|
protectedvirtualslot |
Called before the scenario information is saved in order to commit name edits.
| QPushButton* makVrf::DtVrfObserverViewsWidget::myAutoShowView |