64 virtual void tick(
double dt) = 0;
146 virtual void onAppModeChanged(
const std::string& newAppMode,
const std::string& oldAppMode);
Main singleton responsible for managing QML files in the VREngage system.
Top-level class representing the VR-Engage application.
Definition playerStationApp.h:155
std::string myTargetWindow
Target window name (empty for default)
Definition vreBaseUI.h:156
virtual void open()
Shows the page.
virtual void onAppModeChanged(const std::string &newAppMode, const std::string &oldAppMode)
Default handler for application-mode-changed signal.
std::string myMainContentId
Object name of the main content element in QML.
Definition vreBaseUI.h:162
virtual ~DtVreBaseUI() override
Virtual destructor.
virtual void close()
Hides the page.
std::string myTargetFile
Relative path to the QML file.
Definition vreBaseUI.h:159
DtPlayerStationApp & myApp
Reference to the player station application.
Definition vreBaseUI.h:150
DtVreHeaderFooterUI * myHeaderFooterUI
Cached pointer to the shared header/footer UI.
Definition vreBaseUI.h:166
virtual bool isMainContentVisible()
Main content visibility.
virtual void setVisibility(bool visible)
Visibility control.
virtual void initMain()=0
Initializes page-specific QML elements.
DtVreMessageResult handleBackButtonClicked(DtVreMessage *msg)
Connection-page back-navigation handlers.
QQuickItem * myRoot
Pointer to the root QML item (set asynchronously after load)
Definition vreBaseUI.h:153
virtual void tick(double dt)=0
Per-frame update.
DtVreHeaderFooterUI * headerFooterUI()
Provides access to the shared header/footer UI.
virtual void onConnectionClicked()
Default handler for the connection-clicked signal.
virtual void onPopupClosed()
Default handler for popup-closed signal.
virtual bool isVisible()
Checks whether this page is visible.
virtual void connectToHeaderFooter()
Called after initMain() in the QML load callback.
DtVreBaseUI(DtPlayerStationApp &app, const std::string &file, const std::string &target_window="")
Constructor.
virtual void onPopupOpened()
Default handler for popup-opened signal.
virtual void setMainContentVisibility(bool visible)
Main content visibility.
QQuickItem * root()
Provides access to the root QML item.
DtVreMessageResult handleEscapeMessage(DtVreMessage *msg)
Handles escape messages while the connection page is open.
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
!
Definition glsVreMessageUtil.h:50
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Defines the base class for all VREngage messages.