VR-Vantage
Loading...
Searching...
No Matches
DtMfcMainWindow Class Reference

Simple MFC based Main Window. More...

Inheritance diagram for DtMfcMainWindow:

Public Member Functions

 DtMfcMainWindow (makVrv::DtDe &de)
virtual void setApplicationTitle (const std::string &appName)
 Set the application's name, typically for the Title Bar.
virtual std::string applicationTitle () const
 Get the application's name.
virtual void setApplicationIcon (const std::string &iconName)
 Set the application's icon, typically use a resource name.
virtual void setShowQuitDialogOnClose (bool value)
 Set whether or not to show quit dialog on close if this is the last window.
virtual void destroyWindow ()
 Destroy the window.
virtual void setSplashScreen (makVrv::DtDeSplashScreen *splashScreen)
 Not supported in this example.
virtual void setStatusBarVisible (bool visible)
 Shows or hides the background status bar dock widget.
virtual bool isStatusBarVisible () const
 Returns whether the background status bar dock widget is currently visible.
virtual void showBasedOnSettings ()
 Show the main window based on application settings. This also handles the creation of the startup dialog.
virtual void quit ()
 Quit the application.
Public Member Functions inherited from makVrv::DtDeMainWindow
virtual ~DtDeMainWindow ()
 Virtual destructor.
DtDe & de ()

Protected Attributes

bool myShowQuitFlag
Protected Attributes inherited from makVrv::DtDeMainWindow
DtDe & myDe

Additional Inherited Members

Public Attributes inherited from makVrv::DtDeMainWindow
boost::signalslib::signal< void(bool)> signal_fullScreenModeChanged
Protected Member Functions inherited from makVrv::DtDeMainWindow
 DtDeMainWindow (DtDe &de)
 The constructor for the abstract base class is protected.

Detailed Description

Simple MFC based Main Window.

Constructor & Destructor Documentation

◆ DtMfcMainWindow()

DtMfcMainWindow::DtMfcMainWindow ( makVrv::DtDe & de)

Member Function Documentation

◆ setApplicationTitle()

virtual void DtMfcMainWindow::setApplicationTitle ( const std::string & appName)
virtual

Set the application's name, typically for the Title Bar.

Implements makVrv::DtDeMainWindow.

◆ applicationTitle()

virtual std::string DtMfcMainWindow::applicationTitle ( ) const
virtual

Get the application's name.

Implements makVrv::DtDeMainWindow.

◆ setApplicationIcon()

virtual void DtMfcMainWindow::setApplicationIcon ( const std::string & iconName)
virtual

Set the application's icon, typically use a resource name.

Implements makVrv::DtDeMainWindow.

◆ setShowQuitDialogOnClose()

virtual void DtMfcMainWindow::setShowQuitDialogOnClose ( bool value)
virtual

Set whether or not to show quit dialog on close if this is the last window.

◆ destroyWindow()

virtual void DtMfcMainWindow::destroyWindow ( )
virtual

Destroy the window.

Implements makVrv::DtDeMainWindow.

◆ setSplashScreen()

virtual void DtMfcMainWindow::setSplashScreen ( makVrv::DtDeSplashScreen * splashScreen)
virtual

Not supported in this example.

Implements makVrv::DtDeMainWindow.

◆ setStatusBarVisible()

virtual void DtMfcMainWindow::setStatusBarVisible ( bool visible)
virtual

Shows or hides the background status bar dock widget.

Parameters
visiblePass true to show the status bar; false to hide it.
Note
This is not implemented.

Implements makVrv::DtDeMainWindow.

◆ isStatusBarVisible()

virtual bool DtMfcMainWindow::isStatusBarVisible ( ) const
virtual

Returns whether the background status bar dock widget is currently visible.

Returns
True if the status bar is visible; false otherwise.
Note
This is not implemented.

Implements makVrv::DtDeMainWindow.

◆ showBasedOnSettings()

virtual void DtMfcMainWindow::showBasedOnSettings ( )
virtual

Show the main window based on application settings. This also handles the creation of the startup dialog.

Implements makVrv::DtDeMainWindow.

◆ quit()

virtual void DtMfcMainWindow::quit ( )
virtual

Quit the application.

Implements makVrv::DtDeMainWindow.

Member Data Documentation

◆ myShowQuitFlag

bool DtMfcMainWindow::myShowQuitFlag
protected

The documentation for this class was generated from the following file: