VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrv::DtInstanceEditablePage Class Reference

This class is a specialized dialog page that will allow the dialog page to be editable in a stand-alone dialog. More...

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

Public Member Functions

 DtInstanceEditablePage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0)
 CTOR for a stand alone dialog.
virtual ~DtInstanceEditablePage ()
 DTOR.
virtual void editContents ()=0
 Enable page to be editable as per rules above.
virtual void commitChanges ()=0
 Move changes from local to system data.
- 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 QIcon icon ()=0
 Get the icon of the page.
virtual QString title ()=0
 Get the title of the page.
virtual const std::string & pageClassName () const =0
 Get the class name of the page.

Public Attributes

boost::signal< void()> signal_contentsCommitted
 Signal that is sent when commitChanges() is called.

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtPage
virtual void activate ()=0
 Called when the page is displayed.
virtual void deactivate ()=0
 Called when the page is hidden.
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe

Detailed Description

This class is a specialized dialog page that will allow the dialog page to be editable in a stand-alone dialog.

A dialog page is considered editable if.

1) It works with a local copy of the data, not the system copy 2) Data is not automatically saved 3) The persistent toolbar is not shown on the page (thereby enforcing the local nature of the data and no auto-saving) 4) The data can then be "committed" to the system data via a data merge

Constructor & Destructor Documentation

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

CTOR for a stand alone dialog.

virtual makVrv::DtInstanceEditablePage::~DtInstanceEditablePage ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtInstanceEditablePage::editContents ( )
pure virtual

Enable page to be editable as per rules above.

Implemented in makVrv::DtModelDefinitionEditorPage.

virtual void makVrv::DtInstanceEditablePage::commitChanges ( )
pure virtual

Move changes from local to system data.

Implemented in makVrv::DtModelDefinitionEditorPage.

Member Data Documentation

boost::signal<void ()> makVrv::DtInstanceEditablePage::signal_contentsCommitted

Signal that is sent when commitChanges() is called.

Should be sent by implementing class


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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)