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 Slots | Protected Member Functions | Protected Attributes
makVrv::DtDynamicTerrainPage Class Reference

The scene graph page displays the scene graph in a page. More...

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

Public Member Functions

 DtDynamicTerrainPage (DtDe &de, QWidget *pParent=0)
 CTOR.
virtual ~DtDynamicTerrainPage ()
virtual void executeInNewThread (const boost::function< void()> &callback)
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 bool processMouseEvent (const DtMouseEvent &ev, DtChannel &channel)
 Processes a mouse event on the channel.
virtual bool processKeyboardEvent (const DtKeyEvent &ev, DtChannel &channel)
 Processes a keyboard event on the channel.
virtual const std::string & className ()
 Returns the name of the processor class, to be used for identifying an event processor.
- 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 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.
- Public Member Functions inherited from makVrv::DtDynamicTerrainPageInterface
virtual ~DtDynamicTerrainPageInterface ()
- Public Member Functions inherited from makVrv::DtEventProcessorInterface
 DtEventProcessorInterface ()
 CTOR.
virtual ~DtEventProcessorInterface ()
 DTOR.
virtual bool processPinchGesture (const DtPinchGesture &ev, DtChannel &channel)
 Don't require a handler for pinch gestures, but make them available.
virtual void setEnabled (bool b)
 Get/set enabled flag.
bool enabled () const

Protected Slots

void selectIndex (QModelIndex)
void updateSize ()
void expandAll ()
void contextMenuAt (const QPoint &)

Protected Member Functions

void setupGui ()
void tearDownGui ()
virtual void activate ()
 On activate.
virtual void deactivate ()
 On deactivate.

Protected Attributes

std::string myClassName
QTreeViewmyTreeView
QPushButtonmyExpandAllButton
QCheckBoxmyResizeBox
QGridLayout * myLayout
QMenumyContextMenu
QSortFilterProxyModel * myProxyModel
boost::shared_ptr
< DtDynamicTerrainPageLogic
myLogic
bool myAddedToInputDriverFlag
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
QWidgetmyParentDialog
PageAction myCurrentPageAction
int myActionFlag
- Protected Attributes inherited from makVrv::DtEventProcessorInterface
bool myEnabled

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }

Detailed Description

The scene graph page displays the scene graph in a page.

Constructor & Destructor Documentation

makVrv::DtDynamicTerrainPage::DtDynamicTerrainPage ( DtDe de,
QWidget pParent = 0 
)

CTOR.

virtual makVrv::DtDynamicTerrainPage::~DtDynamicTerrainPage ( )
virtual

Member Function Documentation

virtual void makVrv::DtDynamicTerrainPage::executeInNewThread ( const boost::function< void()> &  callback)
virtual
virtual QIcon makVrv::DtDynamicTerrainPage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtDynamicTerrainPage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& makVrv::DtDynamicTerrainPage::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrv::DtPage.

virtual bool makVrv::DtDynamicTerrainPage::processMouseEvent ( const DtMouseEvent ev,
DtChannel channel 
)
virtual

Processes a mouse event on the channel.

Should return true if the event is handled successfully, and false to reject it and pass it on to the next event processor.

Implements makVrv::DtEventProcessorInterface.

virtual bool makVrv::DtDynamicTerrainPage::processKeyboardEvent ( const DtKeyEvent ev,
DtChannel channel 
)
virtual

Processes a keyboard event on the channel.

Should return true if the event is handled successfully, and false to reject it and pass it on to the next event processor.

Implements makVrv::DtEventProcessorInterface.

virtual const std::string& makVrv::DtDynamicTerrainPage::className ( )
virtual

Returns the name of the processor class, to be used for identifying an event processor.

Implements makVrv::DtEventProcessorInterface.

void makVrv::DtDynamicTerrainPage::selectIndex ( QModelIndex  )
protectedslot
void makVrv::DtDynamicTerrainPage::updateSize ( )
protectedslot
void makVrv::DtDynamicTerrainPage::expandAll ( )
protectedslot
void makVrv::DtDynamicTerrainPage::contextMenuAt ( const QPoint &  )
protectedslot
void makVrv::DtDynamicTerrainPage::setupGui ( )
protected
void makVrv::DtDynamicTerrainPage::tearDownGui ( )
protected
virtual void makVrv::DtDynamicTerrainPage::activate ( )
protectedvirtual

On activate.

Implements makVrv::DtPage.

virtual void makVrv::DtDynamicTerrainPage::deactivate ( )
protectedvirtual

On deactivate.

Implements makVrv::DtPage.

Member Data Documentation

std::string makVrv::DtDynamicTerrainPage::myClassName
protected
QTreeView* makVrv::DtDynamicTerrainPage::myTreeView
protected
QPushButton* makVrv::DtDynamicTerrainPage::myExpandAllButton
protected
QCheckBox* makVrv::DtDynamicTerrainPage::myResizeBox
protected
QGridLayout* makVrv::DtDynamicTerrainPage::myLayout
protected
QMenu* makVrv::DtDynamicTerrainPage::myContextMenu
protected
QSortFilterProxyModel* makVrv::DtDynamicTerrainPage::myProxyModel
protected
boost::shared_ptr<DtDynamicTerrainPageLogic> makVrv::DtDynamicTerrainPage::myLogic
protected
bool makVrv::DtDynamicTerrainPage::myAddedToInputDriverFlag
protected

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)