14 #if !defined(Q_MOC_RUN)
24 #include <QtCore/QRect>
33 class DtDriverManager;
36 class DtStartupDialog;
57 virtual void setApplicationTitle(
const std::string& appName);
60 virtual std::string applicationTitle()
const;
63 virtual void setApplicationIcon(
const std::string& iconName);
66 virtual QDockWidget* dockComponent(QWidget* component,
67 Qt::DockWidgetArea area = Qt::LeftDockWidgetArea);
70 virtual QToolBar* dockComponent(QWidget* component,
71 Qt::ToolBarArea area = Qt::LeftToolBarArea);
74 virtual void setMainWidget(QWidget* widget,
DtQtKeyAdapter* keyAdapter = 0);
77 virtual void removeMainWidget();
79 virtual QWidget* mainWidget();
82 virtual void destroyWindow();
88 virtual bool isToggledAsFullScreen();
93 virtual void toggleFullScreen();
96 virtual void slot_onDisplayEngineConfigurationRealized(
97 const std::string& igName,
const std::string& displayName);
100 virtual int screenNumber()
const;
103 virtual void showStartupDialog();
106 virtual void hideStartupDialog();
109 virtual void showHelpDialog();
112 virtual void hideHelpDialog();
118 void signal_fullScreenToggled();
122 virtual void remaximization();
129 virtual bool event(
QEvent* event);
131 virtual void keyPressEvent( QKeyEvent* event );
132 virtual void keyReleaseEvent( QKeyEvent* event );
136 virtual void closeEvent(QCloseEvent *event);
139 void onMainEmbeddedWindowPixelRatioChanged();
144 void slot_onWindowToBeDestroyed();
148 void displayLabelInCentralWidget();
153 void slot_onWindowCreated();
156 void hideAllVisibleDockableWidgets();
160 void showAllVisibleDockableWidgets();
163 void configureTabbedDockComponents();
166 virtual void dragEnterEvent(QDragEnterEvent* event)
override;
169 virtual void dropEvent(QDropEvent* event)
override;
Qt::WindowStates myLastWindowState
Definition: DtQtDeMainWindow.h:189
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:175
int myOldDevicePixelRatio
Definition: DtQtDeMainWindow.h:192
Contains makVrv::DtSubjectObserver class.
bool myFullScreen
Definition: DtQtDeMainWindow.h:174
DtStartupDialog * myStartupDialog
Definition: DtQtDeMainWindow.h:178
int myWindowXBeforeFullscreen
Definition: DtQtDeMainWindow.h:183
int myWindowHeightBeforeFullscreen
Definition: DtQtDeMainWindow.h:186
DtQtKeyAdapter * myKeyAdapter
Definition: DtQtDeMainWindow.h:173
int myWindowWidthBeforeFullscreen
Definition: DtQtDeMainWindow.h:185
The abstract main window provider.
Definition: DtDeMainWindow.h:66
DtHelpDialog * myHelpDialog
Definition: DtQtDeMainWindow.h:179
#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 clas for grabbing and handling adapter which is owned by the makVrv::DtOsgWindowQt.
Definition: DtQtKeyAdapter.h:20
int myWindowStateBeforeFullscreen
Definition: DtQtDeMainWindow.h:182
Contains makVrv::DtObserverObject class.
DtQtDeMainWindowProvider lazily creates and provides access to the DtQtDeMainWindow.
Definition: DtQtDeMainWindow.h:198
QPoint myRestorePos
Definition: DtQtDeMainWindow.h:176
QObjectList myVisibleButHiddenDockableWidgets
Definition: DtQtDeMainWindow.h:177
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The abstract main window class.
Definition: DtDeMainWindow.h:23
static const char * ContainerPlaceHolderString
Definition: DtQtDeMainWindow.h:49
Base class to provide boost signal/slot management.
int myWindowYBeforeFullscreen
Definition: DtQtDeMainWindow.h:184
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:70
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:43
DtSignalConnectionManager myConnections
Definition: DtQtDeMainWindow.h:188