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

Qt implementation of scene graph tree interface. More...

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

Public Member Functions

virtual ~DtSceneGraphTreeWidget ()
 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 clear ()
 Clear this window.
virtual bool insertTreeWidgetItem (QTreeWidgetItem *pItem, QTreeWidgetItem *pParent)
 Insert pItem, under pParent.
virtual QTreeWidgetItemrootItem ()
 Returns QTreeWidget::invisibleRootItem()
virtual void onActivate ()
 On activate.
virtual void onDeactivate ()
 On deactivate.
- 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 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::DtSceneGraphTreeWidgetInterface
virtual ~DtSceneGraphTreeWidgetInterface ()

Protected Slots

void updateSize ()
void refresh ()
void expandAll ()

Protected Member Functions

 DtSceneGraphTreeWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor of the page.
virtual void activate ()
 Called when the page is displayed.
virtual void deactivate ()
 Called when the page is hidden.
virtual void showEvent (QShowEvent *)
void setupGui ()

Protected Attributes

std::string myClassName
QTreeWidgetmyTreeWidget
QPushButtonmyRefreshButton
QPushButtonmyExpandAllButton
QCheckBoxmyResizeBox
DtSceneGraphTreeLogicmyLogic
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
QWidget * myParentDialog
PageAction myCurrentPageAction
int myActionFlag

Friends

class DtSceneGraphTreeWidgetCreator
 Let the creator create the page.

Additional Inherited Members

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

Detailed Description

Qt implementation of scene graph tree interface.

Constructor & Destructor Documentation

virtual makVrv::DtSceneGraphTreeWidget::~DtSceneGraphTreeWidget ( )
virtual

DTOR.

makVrv::DtSceneGraphTreeWidget::DtSceneGraphTreeWidget ( DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
protected

Constructor of the page.

Member Function Documentation

virtual QIcon makVrv::DtSceneGraphTreeWidget::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtSceneGraphTreeWidget::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

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

Get the class name of the page.

Implements makVrv::DtPage.

virtual void makVrv::DtSceneGraphTreeWidget::clear ( )
virtual

Clear this window.

Implements makVrv::DtSceneGraphTreeWidgetInterface.

virtual bool makVrv::DtSceneGraphTreeWidget::insertTreeWidgetItem ( QTreeWidgetItem pItem,
QTreeWidgetItem pParent 
)
virtual

Insert pItem, under pParent.

Implements makVrv::DtSceneGraphTreeWidgetInterface.

virtual QTreeWidgetItem* makVrv::DtSceneGraphTreeWidget::rootItem ( )
virtual

Returns QTreeWidget::invisibleRootItem()

Implements makVrv::DtSceneGraphTreeWidgetInterface.

virtual void makVrv::DtSceneGraphTreeWidget::onActivate ( )
virtual

On activate.

virtual void makVrv::DtSceneGraphTreeWidget::onDeactivate ( )
virtual

On deactivate.

void makVrv::DtSceneGraphTreeWidget::updateSize ( )
protectedslot
void makVrv::DtSceneGraphTreeWidget::refresh ( )
protectedslot
void makVrv::DtSceneGraphTreeWidget::expandAll ( )
protectedslot
virtual void makVrv::DtSceneGraphTreeWidget::activate ( )
protectedvirtual

Called when the page is displayed.

Implements makVrv::DtPage.

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

Called when the page is hidden.

Implements makVrv::DtPage.

virtual void makVrv::DtSceneGraphTreeWidget::showEvent ( QShowEvent *  )
protectedvirtual
void makVrv::DtSceneGraphTreeWidget::setupGui ( )
protected

Friends And Related Function Documentation

friend class DtSceneGraphTreeWidgetCreator
friend

Let the creator create the page.

Member Data Documentation

std::string makVrv::DtSceneGraphTreeWidget::myClassName
protected
QTreeWidget* makVrv::DtSceneGraphTreeWidget::myTreeWidget
protected
QPushButton* makVrv::DtSceneGraphTreeWidget::myRefreshButton
protected
QPushButton* makVrv::DtSceneGraphTreeWidget::myExpandAllButton
protected
QCheckBox* makVrv::DtSceneGraphTreeWidget::myResizeBox
protected
DtSceneGraphTreeLogic* makVrv::DtSceneGraphTreeWidget::myLogic
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)