VR-Vantage API Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
ReplacementDialogPage Class Reference

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

Inheritance diagram for ReplacementDialogPage:
Inheritance graph
[legend]

Public Member Functions

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

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 is activated and shown.
virtual void deactivate ()
 Called by the pager when this page is deactivated and hidden.

Protected Attributes

makVrv::DtDemyDe
makVrv::DtPersistenceToolbarWidgetmyToolbar
DerivedDialogWidgetmyWidget
DerivedDialogLogicmyLogic
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe

Detailed Description

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

This page contains a widget and logic for that 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 is derived from DtLoaderSettingsWidget and is extended with an extra checkbox. The logic is derived from DtLoaderSettingsLogic and manages the events from the extra checkbox.

Examples

Constructor & Destructor Documentation

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

CTOR.

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

virtual ReplacementDialogPage::~ReplacementDialogPage ( )
virtual

DTOR.

This destructor destroys both the main widget and the logic for the ReplacementDialogPage.

Member Function Documentation

virtual QIcon ReplacementDialogPage::icon ( )
virtual

Get the icon of the page.

makVrv::DtPage requires this function to be implemented.

Implements makVrv::DtPage.

virtual QString ReplacementDialogPage::title ( )
virtual

Get the title of the page.

makVrv::DtPage requires this function to be implemented.

Implements makVrv::DtPage.

virtual const std::string& ReplacementDialogPage::pageClassName ( ) const
virtual

Get the class name of the page.

makVrv::DtPage requires this function to be implemented.

Implements makVrv::DtPage.

static const std::string& ReplacementDialogPage::thePageClassName ( )
static

Get the class name of the page.

makVrv::DtPageCreatorTemplate requires this function to be implemented.

virtual void ReplacementDialogPage::activate ( )
protectedvirtual

Called by the pager when this page is activated and shown.

This function creates the logic and connects it to the main widget. makVrv::DtPage requires this function to be implemented.

Implements makVrv::DtPage.

virtual void ReplacementDialogPage::deactivate ( )
protectedvirtual

Called by the pager when this page is deactivated and hidden.

This function disconnects the logic form the main widget then destroys the logic object. makVrv::DtPage requires this function to be implemented.

Implements makVrv::DtPage.

Member Data Documentation

makVrv::DtDe& ReplacementDialogPage::myDe
protected
makVrv::DtPersistenceToolbarWidget* ReplacementDialogPage::myToolbar
protected
DerivedDialogWidget* ReplacementDialogPage::myWidget
protected
DerivedDialogLogic* ReplacementDialogPage::myLogic
protected

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


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