VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
ExampleExtendDialogPage Class Reference

The example page that will be inserted into the Dialog. More...

Inheritance diagram for ExampleExtendDialogPage:
Inheritance graph
[legend]

Public Member Functions

 ExampleExtendDialogPage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~ExampleExtendDialogPage ()
 Virtual DTOR.
- Public Member Functions inherited from makVrv::DtLoaderSettingsPage
 DtLoaderSettingsPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0)
 CTOR.
virtual ~DtLoaderSettingsPage ()
 DTOR.
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.

Private Attributes

CheckBoxAddermyCheckBox

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
- Static Public Member Functions inherited from makVrv::DtLoaderSettingsPage
static const std::string & thePageClassName ()
 Get the class name of the class.
- Protected Member Functions inherited from makVrv::DtLoaderSettingsPage
void setupGui ()
 Create the widgets and layout.
virtual void activate ()
 Enable the contents in this page.
virtual void deactivate ()
 Disable the contents in this page.
- Protected Attributes inherited from makVrv::DtLoaderSettingsPage
DtLoaderSettingsLogicmyLogic
DtLoaderSettingsWidgetmyWidget
DtPersistenceToolbarWidgetmyToolbar
QLayout * myMainLayout

Detailed Description

The example page that will be inserted into the Dialog.

This page contains a widget that also implements the logic. The widget is created at construction of this page and destroyed with the page. For this example, the widget has a single check box and the logic just changes the label case on the check box while printing it to the console in upper/lower case when checked/unchecked respectively.

Examples

Constructor & Destructor Documentation

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

CTOR.

This constructor creates the main widget of the ExampleExtendDialogPage.

virtual ExampleExtendDialogPage::~ExampleExtendDialogPage ( )
virtual

Virtual DTOR.

Member Data Documentation

CheckBoxAdder* ExampleExtendDialogPage::myCheckBox
private

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)