VR-Forces 4.10 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::DtEntityMappingPage Class Reference

A dialog for configuring the entity type mapping. More...

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

Public Member Functions

 DtEntityMappingPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0)
 CTOR. More...
 
virtual ~DtEntityMappingPage ()
 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 entity mapping has been modified since startup More...
 
virtual void onSwitchEvent ()
 check if entity mapping has been modified since startup More...
 

Protected Attributes

DtEntityMappingEditorWidgetmyMapWidget
 
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

A dialog for configuring the entity type mapping.

Constructor & Destructor Documentation

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

CTOR.

virtual makVrv::DtEntityMappingPage::~DtEntityMappingPage ( )
virtual

DTOR.

Member Function Documentation

virtual QIcon makVrv::DtEntityMappingPage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtEntityMappingPage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

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

Get the class name of the page.

Implements makVrv::DtPage.

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

Get the class name of the class.

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

Called by the Pager when this page becomes active.

Implements makVrv::DtPage.

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

Called by the Pager when this page becomes active.

Implements makVrv::DtPage.

virtual void makVrv::DtEntityMappingPage::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::DtEntityMappingPage::onCloseEvent ( )
protectedvirtual

check if entity mapping has been modified since startup

Reimplemented from makVrv::DtPage.

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

check if entity mapping has been modified since startup

Reimplemented from makVrv::DtPage.

Member Data Documentation

DtEntityMappingEditorWidget* makVrv::DtEntityMappingPage::myMapWidget
protected
bool makVrv::DtEntityMappingPage::myShowRememberToSaveDialog
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)