|
VR-Engage
2.2
|
This class manages the UI for selecting observer views (roles) in VR-Engage. It displays a list of available roles, handles user selection, and provides mechanisms for filtering and navigating the available views.
#include <vreChooseRolePage.h>
Public Slots | |
| virtual void | slot_exitOpened () override |
| virtual void | slot_exitClosed () override |
| virtual void | slot_helpOpened () override |
| virtual void | slot_helpClosed () override |
| virtual void | slot_settingsOpened () override |
| virtual void | slot_settingsClosed () override |
| virtual void | slot_connectionClicked () override |
Public Slots inherited from makVre::DtVreHeaderFooterUIBase | |
| virtual void | slot_settingsOpened () |
| virtual void | slot_settingsClosed () |
| virtual void | slot_displayEngineConfigClicked () |
| virtual void | slot_weatherAndEnvClicked () |
| virtual void | slot_advancedVisualSettingsClicked () |
| virtual void | slot_aboutClicked () |
| virtual void | slot_soundVolumeChanged (qreal volume) |
| virtual void | slot_soundEnabledChanged (bool enabled) |
| virtual void | slot_exitOpened () |
| virtual void | slot_exitClosed () |
| virtual void | slot_exitAccepted () |
| virtual void | slot_exitRejected () |
| virtual void | slot_playClicked () |
| virtual void | slot_pauseClicked () |
| virtual void | slot_rewindClicked () |
| virtual void | slot_connectionClicked () |
| virtual void | slot_helpOpened () |
| virtual void | slot_helpClosed () |
| virtual void | slot_backClicked () |
Public Member Functions | |
| DtVreChooseRolePage (DtPlayerStationApp &app, const std::string &target_window="") | |
| virtual | ~DtVreChooseRolePage () override |
| virtual void | tick (double dt) override |
| virtual void | initMain () override |
| virtual void | setChooseRoleBackgroundVisibility (bool visible) |
| virtual void | setObserverViewsVisibility (bool visible) |
| virtual void | setLockdownModeIndicatorVisibility (bool visible, bool overrideLockdown=false) |
| virtual void | setLockdownModeIndicatorText (const QString &text) |
| virtual Q_INVOKABLE void | observerViewClicked (QString observerName, bool animated=false) |
| virtual void | setVisibility (bool visible) override |
| virtual void | appModeUpdated (const std::string &newAppMode, const std::string &oldAppMode) override |
Public Member Functions inherited from makVre::DtVreHeaderFooterUIBase | |
| DtVreHeaderFooterUIBase (DtPlayerStationApp &app, const std::string &file, const std::string &target_window="") | |
| DtVreHeaderFooterUIBase (DtPlayerStationApp &app, const std::string &file, const std::string &headerId, const std::string &footerId, const std::string &mainContentId, const std::string &target_window) | |
| virtual | ~DtVreHeaderFooterUIBase () override |
| QQuickItem * | root () |
| virtual bool | isVisible () |
| virtual void | close () |
| virtual void | open () |
| virtual void | initHeader () |
| virtual bool | isHeaderVisible () |
| virtual void | setHeaderVisiblility (bool visible) |
| virtual void | setMenuTitle (const QString &title) |
| virtual void | setShowCutoutVisible (bool visible) |
| virtual void | setButtonEnabled (const std::string &id, bool enabled) |
| virtual bool | isButtonEnabled (const std::string &id) |
| virtual void | setAllCutoutControlsEnabled (bool enabled) |
| virtual void | setShowTopRightControlsVisible (bool visible) |
| virtual void | initFooter () |
| virtual bool | isFooterVisible () |
| virtual void | setFooterVisiblility (bool visible) |
| virtual void | setShowBottomBackButtonVisible (bool visible) |
| virtual bool | isMainContentVisible () |
| virtual void | setMainContentVisibility (bool visible) |
| virtual void | registerMessageHandlers () |
| virtual void | deregisterMessageHandlers () |
| DtVreMessageResult | handleBackButtonClicked (DtVreMessage *msg) |
| DtVreMessageResult | handleEscapeMessage (DtVreMessage *msg) |
Protected Member Functions | |
| DtVreMessageResult | handleBackButtonClicked (DtVreMessage *msg) |
| virtual void | slot_observerViewsChanged (const makArchives::DtObserverStateRecordsList &observerViewList) |
| virtual void | slot_observerViewsCleared () |
| virtual void | slot_observerViewAdded (const makArchives::DtObserverStateRecord &observerView) |
| virtual void | slot_observerViewRemoved (const makArchives::DtObserverStateRecord &observerView) |
| virtual void | slot_observerViewRenamed (const std::string &oldName, const makArchives::DtObserverStateRecord &observerView) |
Protected Member Functions inherited from makVre::DtVreHeaderFooterUIBase | |
| virtual void | runningStateUpdated (bool runState) |
| virtual void | closeAllSettingsPages (std::string pageName="") |
| virtual void | updateModalState (bool open) |
| DtVreMessageResult | handleApplicationMode (DtVreMessage *msg) |
| DtVreMessageResult | handleSessionPlayState (DtVreMessage *msg) |
| DtVreMessageResult | handleToggleHelp (DtVreMessage *msg) |
Protected Attributes | |
| DtObserverViewsQmlModel | myObserverViewsModel |
| makVrv::DtObserverViewsManager & | myObserverViewsManager |
Protected Attributes inherited from makVre::DtVreHeaderFooterUIBase | |
| DtPlayerStationApp & | myApp |
| QQuickItem * | myRoot |
| std::string | myTargetWindow |
| std::string | myTargetFile |
| std::string | myHeaderId |
| std::string | myFooterId |
| std::string | myMainContentId |
| makVre::DtVreChooseRolePage::DtVreChooseRolePage | ( | DtPlayerStationApp & | app, |
| const std::string & | target_window = "" ) |
Constructor.
| app | Reference to the player station application |
| target_window | The target window name (optional) |
Creates a new choose role page for the specified application and window.
|
overridevirtual |
Destructor.
Cleans up resources used by the choose role page.
|
overridevirtual |
Updates the page state.
| dt | The time elapsed since the last update in seconds |
Performs periodic updates of the page state and components.
Implements makVre::DtVreHeaderFooterUIBase.
|
overridevirtual |
Initializes the main UI components.
Sets up the initial state of the page and its components.
Implements makVre::DtVreHeaderFooterUIBase.
|
virtual |
Sets the visibility of the role selection background.
| visible | True to show the background, false to hide it |
|
virtual |
Sets the visibility of the observer views list.
| visible | True to show the observer views, false to hide them |
|
virtual |
Sets the visibility of the lockdown mode indicator.
| visible | True to show the indicator, false to hide it |
| overrideLockdown | If true, shows the indicator even if not in lockdown mode |
|
virtual |
Sets the text of the lockdown mode indicator.
| text | The text to display in the lockdown mode indicator |
|
virtual |
Handles a click on an observer view.
| observerName | The name of the observer view that was clicked |
| animated | Whether to animate the transition (default: false) |
This method is invokable from QML and handles selection of an observer view.
|
overridevirtual |
Sets the visibility of the page.
| visible | True to show the page, false to hide it \override Override of the base class method with additional functionality |
Reimplemented from makVre::DtVreHeaderFooterUIBase.
|
overridevirtual |
Handles application mode changes.
| newAppMode | The new application mode |
| oldAppMode | The previous application mode \override Override of the base class method to update UI based on app mode |
Reimplemented from makVre::DtVreHeaderFooterUIBase.
|
overridevirtualslot |
Handles the exit dialog being opened \override Override of the base class method.
|
overridevirtualslot |
Handles the exit dialog being closed \override Override of the base class method.
|
overridevirtualslot |
Handles the help dialog being opened \override Override of the base class method.
|
overridevirtualslot |
Handles the help dialog being closed \override Override of the base class method.
|
overridevirtualslot |
Handles the settings dialog being opened \override Override of the base class method.
|
overridevirtualslot |
Handles the settings dialog being closed \override Override of the base class method.
|
overridevirtualslot |
Handles the connection button being clicked \override Override of the base class method.
|
protected |
Handles back button clicks.
| msg | The message containing back button click information |
|
protectedvirtual |
Handles changes to the observer views list.
| observerViewList | The updated list of observer views |
|
protectedvirtual |
Handles clearing of all observer views.
|
protectedvirtual |
Handles addition of a new observer view.
| observerView | The observer view that was added |
|
protectedvirtual |
Handles removal of an observer view.
| observerView | The observer view that was removed |
|
protectedvirtual |
Handles renaming of an observer view.
| oldName | The previous name of the observer view |
| observerView | The observer view with its new name |
|
protected |
Model containing the observer views to display.
|
protected |
Reference to the manager of observer views.