VR-Engage  2.3
Loading...
Searching...
No Matches
makVre::DtVreWaitingPage Class Reference

Detailed Description

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>

Inheritance diagram for makVre::DtVreWaitingPage:
[legend]

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
 

Constructor & Destructor Documentation

◆ DtVreWaitingPage()

makVre::DtVreWaitingPage::DtVreWaitingPage ( DtPlayerStationApp & app,
const std::string & target_window = "" )

Constructor.

Parameters
appReference to the player station application
target_windowName of the window to display in (empty for default)

◆ ~DtVreWaitingPage()

virtual makVre::DtVreWaitingPage::~DtVreWaitingPage ( )
overridevirtual

Destructor.

Member Function Documentation

◆ tick()

virtual void makVre::DtVreWaitingPage::tick ( double dt)
overridevirtual

Updates the waiting page each frame.

Parameters
dtTime in seconds since the last update

Implements makVre::DtVreBaseUI.

◆ initMain()

virtual void makVre::DtVreWaitingPage::initMain ( )
overridevirtual

Initializes the main content of the page.

Implements makVre::DtVreBaseUI.

◆ setVideoPlaying()

virtual void makVre::DtVreWaitingPage::setVideoPlaying ( bool visible)
virtual

Controls the background video playback.

Parameters
visibleTrue to play the video, false to pause it

◆ setVisibility()

virtual void makVre::DtVreWaitingPage::setVisibility ( bool visible)
overridevirtual

Sets the visibility of the waiting page.

Parameters
visibleTrue to show the page, false to hide it

Reimplemented from makVre::DtVreBaseUI.

◆ setMenuVisibility()

virtual void makVre::DtVreWaitingPage::setMenuVisibility ( bool visible)
virtual

Sets the visibility of the menu part of the page.

Parameters
visibleTrue to show the menu, false to hide it

◆ onConnectionClicked()

virtual void makVre::DtVreWaitingPage::onConnectionClicked ( )
overrideprotectedvirtual

Hides the menu before navigating to the connection page.

Reimplemented from makVre::DtVreBaseUI.


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