![]() |
VR-Forces 4.7 Class Documentation
|
The Qt main window. More...

Signals | |
| void | signal_fullScreenToggled () |
| Emitted by the main window, when toggleFullScreen() is called. | |
Public Member Functions | |
| virtual | ~DtQtDeMainWindow () |
| DTOR. | |
| virtual void | setApplicationTitle (const std::string &appName) |
| Set the application name. | |
| virtual std::string | applicationTitle () const |
| Get the application name. | |
| virtual void | setApplicationIcon (const std::string &iconName) |
| Set the application icon. | |
| virtual void | setShowQuitDialogOnClose (bool) |
| Set whether or not to show quit dialog if this is the last main window. | |
| virtual QDockWidget * | dockComponent (QWidget *component, Qt::DockWidgetArea area=Qt::LeftDockWidgetArea) |
| Dock widget to left side dock. Returns the QDockWidget that it creates. | |
| virtual QToolBar * | dockComponent (QWidget *component, Qt::ToolBarArea area=Qt::LeftToolBarArea) |
| Toolbar widget to left side dock. Returns the QToolBar that it creates. | |
| virtual void | setMainWidget (QWidget *widget, DtQtKeyAdapter *keyAdapter=0) |
| Set the main widget. | |
| virtual void | removeMainWidget () |
| Remove the main widget. | |
| virtual QWidget * | mainWidget () |
| virtual void | destroyWindow () |
| Destroys the window. | |
| virtual void | quit () |
| Quit the application. | |
| virtual bool | isToggledAsFullScreen () |
| Returns myFullScreen;. | |
| virtual void | toggleFullScreen () |
| If gui is fullscreen make it embedded normally, otherwise make gui fullscreen. | |
| virtual void | slot_onDisplayEngineConfigurationRealized (const std::string &igName, const std::string &displayName) |
| Called when a display configuration is realized. | |
| virtual int | screenNumber () const |
| Get the screen number of the screen that this window is on. | |
| virtual void | showStartupDialog () |
| Show the startup dialog which lets the user pick a terrain. | |
| virtual void | hideStartupDialog () |
| Hide startup dialog. | |
Public Member Functions inherited from makVrv::DtDeMainWindow | |
| virtual | ~DtDeMainWindow () |
| Virtual destructor. | |
| DtDe & | de () |
Static Public Attributes | |
| static const char * | ContainerPlaceHolderString |
Protected Member Functions | |
| DtQtDeMainWindow (DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| Constructor protected. Use the provider. | |
| virtual bool | event (QEvent *event) |
| virtual void | keyPressEvent (QKeyEvent *event) |
| virtual void | keyReleaseEvent (QKeyEvent *event) |
| virtual void | closeEvent (QCloseEvent *event) |
| Closing the main window, causes the DtDe instance to be destroyed. | |
| void | slot_onWindowToBeDestroyed () |
| Called when a window is going to be destroyed. | |
| void | displayLabelInCentralWidget () |
| Displays a message label in the central widget describing the state of the de. | |
| void | slot_onWindowCreated () |
| Called when a window is created. | |
| void | hideAllVisibleDockableWidgets () |
| Hide all the visible dock widgets when going to fullscreen mode. | |
| void | showAllVisibleDockableWidgets () |
| Show all the dock widgets that were hidden when the gui went into fullscreen mode. | |
| void | configureTabbedDockComponents () |
| Set up dock options based on the guiConfig at the time of creation. | |
Protected Member Functions inherited from makVrv::DtDeMainWindow | |
| DtDeMainWindow (DtDe &de) | |
| The constructor for the abstract base class is protected. | |
Protected Attributes | |
| DtQtKeyAdapter * | myKeyAdapter |
| bool | myFullScreen |
| QRect | myRestoreRect |
| QPoint | myRestorePos |
| QObjectList | myVisibleButHiddenDockableWidgets |
| bool | myShowQuitDialogOnClose |
| DtStartupDialog * | myStartupDialog |
| int | myWindowStateBeforeFullscreen |
| int | myWindowXBeforeFullscreen |
| int | myWindowYBeforeFullscreen |
| int | myWindowWidthBeforeFullscreen |
| int | myWindowHeightBeforeFullscreen |
Protected Attributes inherited from makVrv::DtDeMainWindow | |
| DtDe & | myDe |
Friends | |
| class | DtQtDeMainWindowProvider |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtDeMainWindow | |
| boost::signal< void(bool)> | signal_fullScreenModeChanged |
The Qt main window.
There will be only one of these per DtDe instance. Note, this window will be destroyed by Qt when the QApp is destroyed.
|
virtual |
DTOR.
|
protected |
Constructor protected. Use the provider.
|
virtual |
Set the application name.
Implements makVrv::DtDeMainWindow.
|
virtual |
Get the application name.
Implements makVrv::DtDeMainWindow.
|
virtual |
Set the application icon.
Implements makVrv::DtDeMainWindow.
|
virtual |
Set whether or not to show quit dialog if this is the last main window.
Implements makVrv::DtDeMainWindow.
|
virtual |
Dock widget to left side dock. Returns the QDockWidget that it creates.
|
virtual |
Toolbar widget to left side dock. Returns the QToolBar that it creates.
|
virtual |
Set the main widget.
Reimplemented in makVrf::DtVrfQtDeMainWindow.
|
virtual |
Remove the main widget.
|
virtual |
|
virtual |
Destroys the window.
Implements makVrv::DtDeMainWindow.
|
virtual |
Quit the application.
Implements makVrv::DtDeMainWindow.
|
virtual |
Returns myFullScreen;.
|
virtual |
If gui is fullscreen make it embedded normally, otherwise make gui fullscreen.
Emits signal_toggleFullScreen.
Reimplemented in makVrf::DtVrfQtDeMainWindow.
|
virtual |
Called when a display configuration is realized.
|
virtual |
Get the screen number of the screen that this window is on.
|
virtual |
Show the startup dialog which lets the user pick a terrain.
|
virtual |
Hide startup dialog.
|
signal |
Emitted by the main window, when toggleFullScreen() is called.
Used to update the fullscreen menu item.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Closing the main window, causes the DtDe instance to be destroyed.
|
protected |
Called when a window is going to be destroyed.
The DtQtDeMainWindow needs to know so it can detect when there are no more windows, provide some intelligent message to the user.
|
protected |
Displays a message label in the central widget describing the state of the de.
|
protected |
Called when a window is created.
The DtQtDeMainWindow needs to know so it can remove any messages that were displayed when there weren't any windows.
|
protected |
Hide all the visible dock widgets when going to fullscreen mode.
|
protected |
Show all the dock widgets that were hidden when the gui went into fullscreen mode.
|
protected |
Set up dock options based on the guiConfig at the time of creation.
|
friend |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |