![]() |
VR-Forces 4.6 Class Documentation
|
A dialog for editing model definitions. More...

Public Member Functions | |
| DtModelDefinitionEditorPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0) | |
| CTOR. | |
| virtual | ~DtModelDefinitionEditorPage () |
| 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. | |
| virtual void | editContents () |
| Enable page to be editable as per rules from DtInstanceEditableDialogPage class description. | |
| virtual void | commitChanges () |
| Move changes from local to system data. | |
Public Member Functions inherited from makVrv::DtInstanceEditablePage | |
| DtInstanceEditablePage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0) | |
| CTOR for a stand alone dialog. | |
| virtual | ~DtInstanceEditablePage () |
| DTOR. | |
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 | 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 | |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
| Get the class name of the class. | |
Protected Member Functions | |
| void | setupGui () |
| virtual void | activate () |
| Called by the Pager when this page becomes active. | |
| virtual void | deactivate () |
| Called by the Pager when this page becomes inactive. | |
| virtual void | askBeforeAction () |
| Called when action flag of the page is set while the close button is hit or trying to switching to another page | |
| virtual void | onCloseEvent () |
| check if model definition has been modified since startup | |
| virtual void | onSwitchEvent () |
| check if model definition has been modified since startup | |
Protected Attributes | |
| DtPersistenceToolbarWidget * | myToolbar |
| DtInstanceEditorWidget * | myInstanceWidget |
| DtModelDefinitionEditorWidget * | myMapWidget |
| QSplitter * | mySplitter |
| DtModelDefinitionEditorLogic * | myLogic |
| QLabel * | myLabel |
| bool | myShowRememberToSaveDialog |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
Public Attributes inherited from makVrv::DtInstanceEditablePage | |
| boost::signal< void()> | signal_contentsCommitted |
| Signal that is sent when commitChanges() is called. | |
A dialog for editing model definitions.
| makVrv::DtModelDefinitionEditorPage::DtModelDefinitionEditorPage | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
Get the title of the page.
Implements makVrv::DtPage.
|
virtual |
Get the class name of the page.
Implements makVrv::DtPage.
|
static |
Get the class name of the class.
|
virtual |
Enable page to be editable as per rules from DtInstanceEditableDialogPage class description.
Implements makVrv::DtInstanceEditablePage.
|
virtual |
Move changes from local to system data.
Implements makVrv::DtInstanceEditablePage.
|
protected |
|
protectedvirtual |
Called by the Pager when this page becomes active.
Implements makVrv::DtPage.
|
protectedvirtual |
Called by the Pager when this page becomes inactive.
Implements makVrv::DtPage.
|
protectedvirtual |
Called when action flag of the page is set while the close button is hit or trying to switching to another page
Reimplemented from makVrv::DtPage.
|
protectedvirtual |
check if model definition has been modified since startup
Reimplemented from makVrv::DtPage.
|
protectedvirtual |
check if model definition has been modified since startup
Reimplemented from makVrv::DtPage.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |