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();
94 virtual void toggleFullScreen();
97 virtual void slot_onDisplayEngineConfigurationRealized(
98 const std::string& igName,
const std::string& displayName);
101 virtual int screenNumber()
const;
104 virtual void showStartupDialog();
107 virtual void hideStartupDialog();
110 virtual void showHelpDialog();
113 virtual void hideHelpDialog();
119 void signal_fullScreenToggled();
123 virtual void remaximization();
130 virtual bool event(
QEvent* event)
override;
132 virtual void keyPressEvent( QKeyEvent* event )
override;
133 virtual void keyReleaseEvent( QKeyEvent* event )
override;
137 virtual void closeEvent(QCloseEvent *event)
override;
140 void onMainEmbeddedWindowPixelRatioChanged();
145 void slot_onWindowToBeDestroyed();
149 void displayLabelInCentralWidget();
154 void slot_onWindowCreated();
161 virtual void showBasedOnSettings();
164 void hideAllVisibleDockableWidgets();
168 void showAllVisibleDockableWidgets();
171 void configureTabbedDockComponents();
174 virtual void dragEnterEvent(QDragEnterEvent* event)
override;
177 virtual void dropEvent(QDropEvent* event)
override;
Qt::WindowStates myLastWindowState
Definition: DtQtDeMainWindow.h:199
DtDeSplashScreen * mySplashScreen
Definition: DtQtDeMainWindow.h:181
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:185
int myOldDevicePixelRatio
Definition: DtQtDeMainWindow.h:202
Contains makVrv::DtSubjectObserver class.
bool myFullScreen
Definition: DtQtDeMainWindow.h:184
DtStartupDialog * myStartupDialog
Definition: DtQtDeMainWindow.h:188
int myWindowXBeforeFullscreen
Definition: DtQtDeMainWindow.h:193
int myWindowHeightBeforeFullscreen
Definition: DtQtDeMainWindow.h:196
DtQtKeyAdapter * myKeyAdapter
Definition: DtQtDeMainWindow.h:183
int myWindowWidthBeforeFullscreen
Definition: DtQtDeMainWindow.h:195
The abstract main window provider.
Definition: DtDeMainWindow.h:74
DtHelpDialog * myHelpDialog
Definition: DtQtDeMainWindow.h:189
#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:192
Contains makVrv::DtObserverObject class declaration.
DtQtDeMainWindowProvider lazily creates and provides access to the DtQtDeMainWindow.
Definition: DtQtDeMainWindow.h:208
QPoint myRestorePos
Definition: DtQtDeMainWindow.h:186
QObjectList myVisibleButHiddenDockableWidgets
Definition: DtQtDeMainWindow.h:187
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:194
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.
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:198