14 #if !defined(Q_MOC_RUN)
24 #include <QtCore/QRect>
33 class DtDriverManager;
36 class DtStartupDialog;
38 class DtDeSplashScreen;
58 virtual void setApplicationTitle(
const std::string& appName);
61 virtual std::string applicationTitle()
const;
64 virtual void setApplicationIcon(
const std::string& iconName);
67 virtual QDockWidget* dockComponent(QWidget* component,
68 Qt::DockWidgetArea area = Qt::LeftDockWidgetArea);
71 virtual QToolBar* dockComponent(QWidget* component,
72 Qt::ToolBarArea area = Qt::LeftToolBarArea);
75 virtual void setMainWidget(QWidget* widget,
DtQtKeyAdapter* keyAdapter = 0);
78 virtual void removeMainWidget();
80 virtual QWidget* mainWidget();
83 virtual void destroyWindow();
89 virtual bool isToggledAsFullScreen();
95 virtual void setStatusBarVisible(
bool visible);
100 virtual bool isStatusBarVisible()
const;
105 virtual void toggleFullScreen();
108 virtual void slot_onDisplayEngineConfigurationRealized(
109 const std::string& igName,
const std::string& displayName);
112 virtual int screenNumber()
const;
115 virtual void showStartupDialog();
118 virtual void hideStartupDialog();
121 virtual void showHelpDialog();
124 virtual void hideHelpDialog();
130 void signal_fullScreenToggled();
133 void signal_statusBarVisibilityChanged();
137 virtual void remaximization();
144 virtual bool event(
QEvent* event)
override;
146 virtual void keyPressEvent( QKeyEvent* event )
override;
147 virtual void keyReleaseEvent( QKeyEvent* event )
override;
151 virtual void closeEvent(QCloseEvent *event)
override;
154 void onMainEmbeddedWindowPixelRatioChanged();
159 void slot_onWindowToBeDestroyed();
163 void displayLabelInCentralWidget();
168 void slot_onWindowCreated();
175 virtual void showBasedOnSettings();
178 void hideAllVisibleDockableWidgets();
182 void showAllVisibleDockableWidgets();
185 void configureTabbedDockComponents();
188 virtual void dragEnterEvent(QDragEnterEvent* event)
override;
191 virtual void dropEvent(QDropEvent* event)
override;
Qt::WindowStates myLastWindowState
Definition: DtQtDeMainWindow.h:213
DtDeSplashScreen * mySplashScreen
Definition: DtQtDeMainWindow.h:195
DtStartupDialog provides a dialog to be displayed on VR-Vantage startup to allow the user to choose w...
Definition: DtStartupDialog.h:37
QRect myRestoreRect
Definition: DtQtDeMainWindow.h:199
int myOldDevicePixelRatio
Definition: DtQtDeMainWindow.h:216
Contains makVrv::DtSubjectObserver class.
bool myFullScreen
Definition: DtQtDeMainWindow.h:198
DtStartupDialog * myStartupDialog
Definition: DtQtDeMainWindow.h:202
int myWindowXBeforeFullscreen
Definition: DtQtDeMainWindow.h:207
int myWindowHeightBeforeFullscreen
Definition: DtQtDeMainWindow.h:210
DtQtKeyAdapter * myKeyAdapter
Definition: DtQtDeMainWindow.h:197
int myWindowWidthBeforeFullscreen
Definition: DtQtDeMainWindow.h:209
The abstract main window provider.
Definition: DtDeMainWindow.h:84
DtHelpDialog * myHelpDialog
Definition: DtQtDeMainWindow.h:203
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
A styled QMainWindow that maintains color mappings for icons. This styled main window support mapping...
Definition: DtStyledQMainWindow.h:39
Contains makVrv::DtDeMainWindow class.
Abstract class to get Qt key events into OpenSceneGraph. Typically owned by DtDeMainWindowEmbeddedOsg...
Definition: DtQtKeyAdapter.h:20
int myWindowStateBeforeFullscreen
Definition: DtQtDeMainWindow.h:206
Contains makVrv::DtObserverObject class declaration.
DtQtDeMainWindowProvider lazily creates and provides access to the DtQtDeMainWindow.
Definition: DtQtDeMainWindow.h:227
QPoint myRestorePos
Definition: DtQtDeMainWindow.h:200
QObjectList myVisibleButHiddenDockableWidgets
Definition: DtQtDeMainWindow.h:201
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The abstract main window class.
Definition: DtDeMainWindow.h:24
static const char * ContainerPlaceHolderString
Definition: DtQtDeMainWindow.h:50
Base class to provide boost signal/slot management.
int myWindowYBeforeFullscreen
Definition: DtQtDeMainWindow.h:208
The VR-Vantage Splash Screen Interface.
Definition: DtDeSplashScreen.h:34
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Contains makVrv::DtStyledQMainWindow class.
QDockWidget * myBgStatusDock
Non-owning pointer to the background status bar dock widget.
Definition: DtQtDeMainWindow.h:221
The help dialog class loads information about VR-Vantage and presents them to the user using a Qt dia...
Definition: DtHelpDialog.h:25
The Qt main window. There will be only one of these per DtDe instance. Note, this window will be dest...
Definition: DtQtDeMainWindow.h:44
DtSignalConnectionManager myConnections
Definition: DtQtDeMainWindow.h:212