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

Dialog which shows the terrain patches. More...

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

Public Member Functions

 DtTerrainPatchDialogPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtTerrainPatchDialogPage ()
 DTOR.
virtual void onNewInstanceRequested ()
virtual void onDeleteInstanceRequested ()
- Public Member Functions inherited from makVrv::DtSelectedInstanceDialogPage
 DtSelectedInstanceDialogPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtSelectedInstanceDialogPage ()
 DTOR.
virtual void addInstance (const std::string &)
 Add an instance.
virtual void removeInstance (const std::string &)
 Remove an instance.
virtual QString currentInstance ()
- 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.
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 QWidgetparentDialog ()
 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 askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing.
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
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing.
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing.

Protected Member Functions

virtual void setupGui ()
virtual void addTerrain (const DtTerrainPatch &terrainPatch)
virtual void removeTerrain (const DtTerrainPatch &terrainPatch)
virtual void activate ()
 Called by the Pager when this page becomes active.
virtual void deactivate ()
 Called by the Pager when this page becomes active.

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
- Protected Slots inherited from makVrv::DtSelectedInstanceDialogPage
virtual void onCurrentInstanceChanged (QString definition)
virtual void onCurrentInstanceChanged (int)
virtual void onRenameInstanceRequested ()
- Protected Attributes inherited from makVrv::DtSelectedInstanceDialogPage
DtSelectInstanceWidgetmySelectInstanceWidget

Detailed Description

Dialog which shows the terrain patches.

Constructor & Destructor Documentation

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

CTOR.

virtual makVrv::DtTerrainPatchDialogPage::~DtTerrainPatchDialogPage ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtTerrainPatchDialogPage::onNewInstanceRequested ( )
virtual
virtual void makVrv::DtTerrainPatchDialogPage::onDeleteInstanceRequested ( )
virtual
virtual void makVrv::DtTerrainPatchDialogPage::setupGui ( )
protectedvirtual
virtual void makVrv::DtTerrainPatchDialogPage::addTerrain ( const DtTerrainPatch terrainPatch)
protectedvirtual
virtual void makVrv::DtTerrainPatchDialogPage::removeTerrain ( const DtTerrainPatch terrainPatch)
protectedvirtual
virtual void makVrv::DtTerrainPatchDialogPage::activate ( )
protectedvirtual
virtual void makVrv::DtTerrainPatchDialogPage::deactivate ( )
protectedvirtual

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)