VR-Vantage 1.4.1 API Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes
HumbleDialogPage Class Reference

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

Inheritance diagram for HumbleDialogPage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 HumbleDialogPage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~HumbleDialogPage ()
 Virtual 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.

Static Public Member Functions

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

Protected Member Functions

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

Private Attributes

makVrv::DtDemyDe
HumbleDialogWidgetmyWidget
HumbleDialogLogicmyLogic

Detailed Description

The example page that will be inserted into the example dialog.

This page contains a widget and logic for the widget. The widget is created at construction of this page and destroyed with the page. The logic is created when this page is activated (shown) and destroyed when this page is deactivated (hidden). For this example, the widget has a single editable text box and the logic just prints any text entered in the widget to the console.

Examples

Constructor & Destructor Documentation

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

CTOR.

This constructor creates the main widget of the HumbleDialogPage. The logic is created at a later time.

virtual HumbleDialogPage::~HumbleDialogPage ( ) [virtual]

Virtual DTOR.


Member Function Documentation

virtual QIcon HumbleDialogPage::icon ( ) [virtual]

Get the icon of the page.

DtPage requires this function to be implemented.

Implements makVrv::DtPage.

virtual QString HumbleDialogPage::title ( ) [virtual]

Get the title of the page.

DtPage requires this function to be implemented.

Implements makVrv::DtPage.

virtual const std::string& HumbleDialogPage::pageClassName ( ) const [virtual]

Get the class name of the page.

DtPage requires this function to be implemented.

Implements makVrv::DtPage.

static const std::string& HumbleDialogPage::thePageClassName ( ) [static]

Get the class name of the page.

DtPageCreatorTemplate requires this function to be implemented.

virtual void HumbleDialogPage::activate ( ) [protected, virtual]

Called by the Pager when this page becomes active.

Called when the HumbleDialogPage is shown, this function creates and connects the logic to the main widget. DtPage requires this function to be implemented.

Implements makVrv::DtPage.

virtual void HumbleDialogPage::deactivate ( ) [protected, virtual]

Called by the Pager when this page becomes active.

Called when the HumbleDialogPage is hidden, this function disconnects and destroys the logic from the main widget. DtPage requires this function to be implemented.

Implements makVrv::DtPage.


Member Data Documentation

Reimplemented from makVrv::DtPage.


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


Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)