VR-Forces 4.7 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::DtExamplePage Class Reference

Example Page that goes into the example dialog. More...

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

Public Member Functions

 DtExamplePage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 Constructor.
virtual ~DtExamplePage ()
 Destructor.
virtual QIcon icon ()
 Get the icon of the page.
virtual QString title ()
 Get the title of the page.
virtual const std::string & pageClassName () const
 Get the class name of the page.
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page.
virtual ~DtPage ()
 DTOR for page.
virtual PageAction pageAction ()
 return the current action on the page
virtual void setPageAction (PageAction action)
 set the curret action on the page
virtual void setActionFlag (int flag)
 set the action flag of the page
virtual int actionFlag ()
 return the action flag of the page
virtual void setParentDialog (QWidget *paraentDialog)
 set the parent dialog that owns this page
virtual QWidget * parentDialog ()
 return the parent dialog that own this page
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
virtual void askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing.
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.
virtual void resumeLastAction ()
 resume the last action of the page
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing.
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing.

Static Public Member Functions

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

Protected Member Functions

void setupGui ()
 Creates the gui. Called by CTOR.
virtual void activate ()
 Called by the Pager when this page becomes active.
virtual void deactivate ()
 Called by the Pager when this page becomes active.

Protected Attributes

DtExampleWidgetmyWidget
DtPersistenceToolbarWidgetmyToolbar
DtExampleLogicmyLogic
- 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

Example Page that goes into the example dialog.

Constructor & Destructor Documentation

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

Constructor.

virtual makVrv::DtExamplePage::~DtExamplePage ( )
virtual

Destructor.

Member Function Documentation

virtual QIcon makVrv::DtExamplePage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtExamplePage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

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

Get the class name of the page.

Implements makVrv::DtPage.

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

Get the class name of the page.

void makVrv::DtExamplePage::setupGui ( )
protected

Creates the gui. Called by CTOR.

virtual void makVrv::DtExamplePage::activate ( )
protectedvirtual

Called by the Pager when this page becomes active.

Implements makVrv::DtPage.

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

Called by the Pager when this page becomes active.

Implements makVrv::DtPage.

Member Data Documentation

DtExampleWidget* makVrv::DtExamplePage::myWidget
protected
DtPersistenceToolbarWidget* makVrv::DtExamplePage::myToolbar
protected
DtExampleLogic* makVrv::DtExamplePage::myLogic
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)