![]() |
VR-Forces 5.0.2 Developer's Guide
|
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.

Public Member Functions | |
| DtVrfObserverViewsWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~DtVrfObserverViewsWidget () |
| virtual void | scenarioClosed () |
| virtual void | scenarioLoaded () |
| virtual void | onSetDefaultObserverView (std::string oldView, std::string newView) |
| virtual void | onScenarioInformationAboutToBeSaved () |
| virtual void | hideObserverView (const std::string &, bool) |
| virtual void | setDefaultScenarioView (const std::string &viewName, const std::string &observerMode) |
| virtual void | unSetDefaultScenarioView (const std::string &viewName, const std::string &observerMode) |
| virtual void | terrainViewsHidden (const std::set< std::string > &) |
Public Member Functions inherited from makVrv::DtObserverViewsWidget | |
| virtual | ~DtObserverViewsWidget () |
| virtual QIcon | icon () |
| virtual QString | title () |
| bool | getClickedObserverViewInfo (DtUnicode &viewName, DtObserverViewsManager::ViewProjection &projection) const |
| virtual void | showSaveChangesMessage () |
| virtual void | showClearWarningMessage () |
| virtual void | showAssociateWarningMessage () |
| virtual void | showDissociateWarningMessage () |
| virtual void | requestSaveFilename () |
| virtual void | contextItemRequestSaveFilename () |
| virtual void | resizeColumns () |
Public Member Functions inherited from makVrv::DtObserverViewsWidgetInterface | |
| virtual | ~DtObserverViewsWidgetInterface () |
| virtual void | enableObserverViewsList (bool enabled)=0 |
| virtual void | enableAddViewButton (bool enabled)=0 |
| virtual void | enableAssociateViewsToTerrainButton (bool enabled)=0 |
| virtual void | enableSaveToFileButton (bool enabled)=0 |
| virtual void | enableDissociateViewsButton (bool enabled)=0 |
| virtual void | enableLoadAndMergeViewsButton (bool enabled)=0 |
| virtual void | enableClearViewsButton (bool enabled)=0 |
| virtual void | enableSaveButton (bool enabled)=0 |
| virtual void | setAssociateViewsToTerrainButtonOnExitMessageVisible (bool visible)=0 |
| virtual void | setSavedChangesButtonOnExitMessageVisible (bool visible)=0 |
| virtual int | viewListSize ()=0 |
| virtual void | dissociateViewFromTerrain (const std::string &viewName)=0 |
Protected Member Functions | |
| virtual void | insertObserverView (int index, const makVrv::DtObserverViewInfoViewerData &observerViewData) override |
| virtual std::string | observerViewProjectionMode (const makArchives::DtObserverStateRecord &record) const |
| virtual std::string | observerViewProjectionMode (const std::string &obsMode) const |
Protected Member Functions inherited from makVrv::DtObserverViewsWidget | |
| DtObserverViewsWidget (DtDe &de, QWidget *parent=0) | |
| virtual void | activate () |
| virtual void | deactivate () |
| void | setupUi (QWidget *p) |
| virtual void | clearObserverViews () |
| virtual void | deleteView (const std::string &, DtObserverViewsManager::ViewProjection projection) |
| virtual void | renameObserverRecord (const std::string &newName, const std::string &oldName) |
| virtual void | setDefaultView (const std::string &viewName, DtObserverViewsManager::ViewProjection projection) |
| virtual void | unSetDefaultView (const std::string &viewName, DtObserverViewsManager::ViewProjection projection) |
| virtual bool | eventFilter (QObject *obj, QEvent *event) override |
| virtual void | dragEnterEvent (QDragEnterEvent *event) override |
| virtual void | dropEvent (QDropEvent *event) override |
Protected Attributes | |
| makVrv::DtSignalConnectionManager | myConnections |
Protected Attributes inherited from makVrv::DtObserverViewsWidget | |
| QVBoxLayout * | myMainLayout |
| QHBoxLayout * | myButtonLayout |
| DtQtreeView * | myObserverViewsList |
| QPushButton * | myAddView |
| QPushButton * | myDissociateViews |
| QPushButton * | myAssociateViewsToTerrain |
| QPushButton * | mySaveToFile |
| QPushButton * | myLoadViews |
| QPushButton * | myClearViews |
| double | myLastSelectionChangedSimTime |
| int | myItemLeftClickedIndex |
| DtDe & | myDe |
| QMessageBox * | myMessageBox |
| QPushButton * | mySavedChangesExitMessageButton |
| QPushButton * | mySavedAsChangesExitMessageButton |
| QPushButton * | myDontSaveChangesExitMessageButton |
| QPushButton * | myAssociateViewsToTerrainExitMessageButton |
| bool | mySaveEnabled |
| int | myIconColumnSize |
| makVrf::DtVrfObserverViewsWidget::DtVrfObserverViewsWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor of the page.
|
virtual |
DTOR.
|
virtual |
|
virtual |
|
virtual |
Sets the new default observer view view.
|
virtual |
Called before the scenario information is saved in order to commit name edits.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
overrideprotectedvirtual |
Adds a new observer view to the list of current views. If default view set font to bold.
Reimplemented from makVrv::DtObserverViewsWidget.
|
protectedvirtual |
|
protectedvirtual |
|
protected |