![]() |
VR-Forces 5.0.2 Developer's Guide
|
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.

Public Slots | |
| virtual void | remaximization () |
Signals | |
| void | signal_fullScreenToggled () |
Public Member Functions | |
| virtual | ~DtQtDeMainWindow () |
| virtual void | setApplicationTitle (const std::string &appName) |
| virtual std::string | applicationTitle () const |
| virtual void | setApplicationIcon (const std::string &iconName) |
| virtual QDockWidget * | dockComponent (QWidget *component, Qt::DockWidgetArea area=Qt::LeftDockWidgetArea) |
| virtual QToolBar * | dockComponent (QWidget *component, Qt::ToolBarArea area=Qt::LeftToolBarArea) |
| virtual void | setMainWidget (QWidget *widget, DtQtKeyAdapter *keyAdapter=0) |
| virtual void | removeMainWidget () |
| virtual QWidget * | mainWidget () |
| virtual void | destroyWindow () |
| virtual void | quit () |
| virtual bool | isToggledAsFullScreen () |
| virtual void | toggleFullScreen () |
| virtual void | slot_onDisplayEngineConfigurationRealized (const std::string &igName, const std::string &displayName) |
| virtual int | screenNumber () const |
| virtual void | showStartupDialog () |
| virtual void | hideStartupDialog () |
| virtual void | showHelpDialog () |
| virtual void | hideHelpDialog () |
Public Member Functions inherited from makVrv::DtStyledQMainWindow | |
| virtual std::vector< std::pair < QColor, QColor > > | iconColorMappings (QIcon::Mode modeToGetMappingsFor, QIcon::State stateToGetMappingsFor) const |
| virtual void | invalidateIconColorMappings () |
Public Member Functions inherited from makVrv::DtDeMainWindow | |
| virtual | ~DtDeMainWindow () |
| DtDe & | de () |
Static Public Attributes | |
| static const char * | ContainerPlaceHolderString |
Protected Member Functions | |
| DtQtDeMainWindow (DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| virtual bool | event (QEvent *event) |
| virtual void | keyPressEvent (QKeyEvent *event) |
| virtual void | keyReleaseEvent (QKeyEvent *event) |
| virtual void | closeEvent (QCloseEvent *event) |
| void | onMainEmbeddedWindowPixelRatioChanged () |
| void | slot_onWindowToBeDestroyed () |
| void | displayLabelInCentralWidget () |
| void | slot_onWindowCreated () |
| void | hideAllVisibleDockableWidgets () |
| void | showAllVisibleDockableWidgets () |
| void | configureTabbedDockComponents () |
| virtual void | dragEnterEvent (QDragEnterEvent *event) override |
| virtual void | dropEvent (QDropEvent *event) override |
Protected Member Functions inherited from makVrv::DtStyledQMainWindow | |
| DtStyledQMainWindow (QWidget *parent=0, Qt::WindowFlags flags=0) | |
Protected Member Functions inherited from makVrv::DtDeMainWindow | |
| DtDeMainWindow (DtDe &de) | |
Friends | |
| class | DtQtDeMainWindowProvider |
|
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 |
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.
|
virtual |
Show the help dialog.
|
virtual |
Hide the help dialog.
|
signal |
Emitted by the main window, when toggleFullScreen() is called. Used to update the fullscreen menu item.
|
virtualslot |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Closing the main window, causes the DtDe instance to be destroyed.
|
protected |
Called when the main embedded window pixel ratio changed.
|
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.
|
overrideprotectedvirtual |
override for the QWidget drawEnterEvent function, used to determine if the dropped item is an mtf file.
|
overrideprotectedvirtual |
override for the QWidget dropEvent function, used to load the dropped mtf file.
|
friend |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |