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::DtDateAndTimePage Class Reference

A dialog page for setting the date and time. More...

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

Public Member Functions

 DtDateAndTimePage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0)
 CTOR. More...
 
virtual ~DtDateAndTimePage ()
 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 askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing. 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...
 
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing. More...
 
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing. More...
 

Static Public Member Functions

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

Protected Member Functions

void setupGui ()
 Setup the gui. More...
 
virtual void activate ()
 Called when the page is displayed. More...
 
virtual void deactivate ()
 Called when the page is hidden. More...
 

Protected Attributes

DtPersistenceToolbarWidgetmyToolbar
 
QVBoxLayout * myMainLayout
 
DtDateAndTimeLogicmyLogic
 
DtDateAndTimeWidgetmyWidget
 
- 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 page for setting the date and time.

Constructor & Destructor Documentation

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

CTOR.

virtual makVrv::DtDateAndTimePage::~DtDateAndTimePage ( )
virtual

DTOR.

Member Function Documentation

virtual QIcon makVrv::DtDateAndTimePage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtDateAndTimePage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

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

Get the class name of the page.

Implements makVrv::DtPage.

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

Get the class name of the page.

void makVrv::DtDateAndTimePage::setupGui ( )
protected

Setup the gui.

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

Called when the page is displayed.

Implements makVrv::DtPage.

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

Called when the page is hidden.

Implements makVrv::DtPage.

Member Data Documentation

DtPersistenceToolbarWidget* makVrv::DtDateAndTimePage::myToolbar
protected
QVBoxLayout* makVrv::DtDateAndTimePage::myMainLayout
protected
DtDateAndTimeLogic* makVrv::DtDateAndTimePage::myLogic
protected
DtDateAndTimeWidget* makVrv::DtDateAndTimePage::myWidget
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)