|
VR-Engage
2.3
|
DtVreWaitingPage provides a UI page that is displayed when the user is waiting for a connection or operation to complete. It typically shows a waiting indicator or animation and provides the ability to cancel the operation and go back to the previous screen. This page follows the standard header/footer UI layout of VR-Engage.
#include <vreWaitingPage.h>
Public Member Functions | |
| DtVreWaitingPage (DtPlayerStationApp &app, const std::string &target_window="") | |
| virtual | ~DtVreWaitingPage () override |
| virtual void | tick (double dt) override |
| virtual void | initMain () override |
| virtual void | setVideoPlaying (bool visible) |
| virtual void | setVisibility (bool visible) override |
| virtual void | setMenuVisibility (bool visible) |
Public Member Functions inherited from makVre::DtVreBaseUI | |
| DtVreBaseUI (DtPlayerStationApp &app, const std::string &file, const std::string &target_window="") | |
| virtual | ~DtVreBaseUI () override |
| QQuickItem * | root () |
| DtVreHeaderFooterUI * | headerFooterUI () |
| virtual bool | isVisible () |
| virtual void | close () |
| virtual void | open () |
| virtual bool | isMainContentVisible () |
| virtual void | setMainContentVisibility (bool visible) |
| DtVreMessageResult | handleBackButtonClicked (DtVreMessage *msg) |
| DtVreMessageResult | handleEscapeMessage (DtVreMessage *msg) |
Protected Member Functions | |
| virtual void | onConnectionClicked () override |
Protected Member Functions inherited from makVre::DtVreBaseUI | |
| virtual void | connectToHeaderFooter () |
| virtual void | onPopupOpened () |
| virtual void | onPopupClosed () |
| virtual void | onAppModeChanged (const std::string &newAppMode, const std::string &oldAppMode) |
Additional Inherited Members | |
Protected Attributes inherited from makVre::DtVreBaseUI | |
| DtPlayerStationApp & | myApp |
| QQuickItem * | myRoot |
| std::string | myTargetWindow |
| std::string | myTargetFile |
| std::string | myMainContentId |
| makVre::DtVreWaitingPage::DtVreWaitingPage | ( | DtPlayerStationApp & | app, |
| const std::string & | target_window = "" ) |
Constructor.
| app | Reference to the player station application |
| target_window | Name of the window to display in (empty for default) |
|
overridevirtual |
Destructor.
|
overridevirtual |
Updates the waiting page each frame.
| dt | Time in seconds since the last update |
Implements makVre::DtVreBaseUI.
|
overridevirtual |
Initializes the main content of the page.
Implements makVre::DtVreBaseUI.
|
virtual |
Controls the background video playback.
| visible | True to play the video, false to pause it |
|
overridevirtual |
Sets the visibility of the waiting page.
| visible | True to show the page, false to hide it |
Reimplemented from makVre::DtVreBaseUI.
|
virtual |
Sets the visibility of the menu part of the page.
| visible | True to show the menu, false to hide it |
|
overrideprotectedvirtual |
Hides the menu before navigating to the connection page.
Reimplemented from makVre::DtVreBaseUI.