VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
makVrv::DtInstanceEditablePage Class Referenceabstract

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

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

Public Member Functions

 DtInstanceEditablePage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0)
 
virtual ~DtInstanceEditablePage ()
 
virtual void editContents ()=0
 
virtual void commitChanges ()=0
 
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~DtPage ()
 
virtual QIcon icon ()=0
 
virtual DtQIconConfigurations qIconConfigurations () const =0
 
virtual QString title ()=0
 
virtual const std::string & pageClassName () const =0
 
virtual PageAction pageAction ()
 
virtual void setPageAction (PageAction action)
 
virtual void setActionFlag (int flag)
 
virtual int actionFlag ()
 
virtual void setParentDialog (QWidget *paraentDialog)
 
virtual QWidget * parentDialog ()
 
virtual void activate ()=0
 
virtual void deactivate ()=0
 
virtual bool shouldAskBeforeAction (PageAction action)
 
virtual void askBeforeAction ()
 
virtual void executeAfterAsk (bool revert)
 
virtual void resumeLastAction ()
 
virtual void onCloseEvent ()
 
virtual void onSwitchEvent ()
 

Public Attributes

boost::signalslib::signal< void()> signal_contentsCommitted
 

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
 
- Protected Member Functions inherited from makVrv::DtPage
virtual QWidget * wrapPageWithScrollArea (QWidget *scrollableWidget, bool isHorizontalScrollingEnabled=false, bool isVerticalScrollingEnabled=true)
 
virtual DtPageScrollAreacreateScrollArea (QWidget *scrollableWidget, QWidget *parent, bool isHorizontalScrollingEnabled=false, bool isVerticalScrollingEnabled=true)
 
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
 
QWidget * myParentDialog
 
PageAction myCurrentPageAction
 
int myActionFlag
 

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::signalslib::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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)