VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtCockpitMappingPage Class Reference

Page for editing mappings between entities and cockpits. More...

Inheritance diagram for makVrv::DtCockpitMappingPage:
Inheritance graph
[legend]

Public Member Functions

 DtCockpitMappingPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0)
 CTOR. More...
 
virtual ~DtCockpitMappingPage ()
 DTOR. More...
 
virtual QIcon icon ()
 Get the icon of the page. More...
 
virtual QString title ()
 Get the title of the page. More...
 
virtual const std::string & pageClassName () const
 Get the class name of the page. More...
 
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page. More...
 
virtual ~DtPage ()
 DTOR for page. More...
 
virtual PageAction pageAction ()
 return the current action on the page More...
 
virtual void setPageAction (PageAction action)
 set the curret action on the page More...
 
virtual void setActionFlag (int flag)
 set the action flag of the page More...
 
virtual int actionFlag ()
 return the action flag of the page More...
 
virtual void setParentDialog (QWidget *paraentDialog)
 set the parent dialog that owns this page More...
 
virtual QWidget * parentDialog ()
 return the parent dialog that own this page More...
 
virtual bool shouldAskBeforeAction (PageAction action)
 test the action flag with the action, return true if we should ask before executing the action /param action the current page action More...
 
virtual void executeAfterAsk (bool revert)
 Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it. More...
 
virtual void resumeLastAction ()
 resume the last action of the page More...
 

Static Public Member Functions

static const std::string & thePageClassName ()
 Get the class name of the class. More...
 

Protected Member Functions

void setupGui ()
 
virtual void activate ()
 Called by the Pager when this page becomes active. More...
 
virtual void deactivate ()
 Called by the Pager when this page becomes active. More...
 
virtual void askBeforeAction ()
 Called when action flag of the page is set while the close button is hit or trying to switching to another page More...
 
virtual void onCloseEvent ()
 check if cockpit mapping has been modified since startup More...
 
virtual void onSwitchEvent ()
 check if cockpit mapping has been modified since startup More...
 
virtual void onCurrentInstanceChanged (QString definition)
 Override dialog page handlers. More...
 

Protected Attributes

DtCockpitMappingEditorWidgetmyMapWidget
 
bool myShowRememberToSaveDialog
 
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
 
QWidget * myParentDialog
 
PageAction myCurrentPageAction
 
int myActionFlag
 

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
 

Detailed Description

Page for editing mappings between entities and cockpits.

Constructor & Destructor Documentation

makVrv::DtCockpitMappingPage::DtCockpitMappingPage ( DtDe de,
QWidget *  parent,
Qt::WindowFlags  f = 0 
)

CTOR.

virtual makVrv::DtCockpitMappingPage::~DtCockpitMappingPage ( )
virtual

DTOR.

Member Function Documentation

virtual QIcon makVrv::DtCockpitMappingPage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtCockpitMappingPage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& makVrv::DtCockpitMappingPage::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrv::DtPage.

static const std::string& makVrv::DtCockpitMappingPage::thePageClassName ( )
static

Get the class name of the class.

void makVrv::DtCockpitMappingPage::setupGui ( )
protected
virtual void makVrv::DtCockpitMappingPage::activate ( )
protectedvirtual

Called by the Pager when this page becomes active.

Implements makVrv::DtPage.

virtual void makVrv::DtCockpitMappingPage::deactivate ( )
protectedvirtual

Called by the Pager when this page becomes active.

Implements makVrv::DtPage.

virtual void makVrv::DtCockpitMappingPage::askBeforeAction ( )
protectedvirtual

Called when action flag of the page is set while the close button is hit or trying to switching to another page

Reimplemented from makVrv::DtPage.

virtual void makVrv::DtCockpitMappingPage::onCloseEvent ( )
protectedvirtual

check if cockpit mapping has been modified since startup

Reimplemented from makVrv::DtPage.

virtual void makVrv::DtCockpitMappingPage::onSwitchEvent ( )
protectedvirtual

check if cockpit mapping has been modified since startup

Reimplemented from makVrv::DtPage.

virtual void makVrv::DtCockpitMappingPage::onCurrentInstanceChanged ( QString  definition)
protectedvirtual

Override dialog page handlers.

Member Data Documentation

DtCockpitMappingEditorWidget* makVrv::DtCockpitMappingPage::myMapWidget
protected
bool makVrv::DtCockpitMappingPage::myShowRememberToSaveDialog
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)