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::DtSceneGraphPage Class Reference

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

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

Public Member Functions

 DtSceneGraphPage (DtDe &de, QWidget *pParent=0)
 CTOR.
virtual ~DtSceneGraphPage ()
 DTOR.
virtual void clear ()
 Clear this window.
virtual bool insertTreeWidgetItem (QTreeWidgetItem *pItem, QTreeWidgetItem *pParent)
 Insert pItem, under pParent.
virtual QTreeWidgetItemrootItem ()
 Returns QTreeWidget::invisibleRootItem()
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.
- 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::DtSceneGraphTreeWidgetInterface
virtual ~DtSceneGraphTreeWidgetInterface ()

Protected Slots

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

Protected Member Functions

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

Protected Attributes

std::string myClassName
bool myExpandingAll
QGridLayout * myLayout
QTreeWidgetmyTreeWidget
QPushButtonmyRefreshButton
QPushButtonmyExpandAllButton
QCheckBoxmyResizeBox
QComboBoxmyRootSelector
DtSceneGraphTreeLogicmyLogic
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
QWidgetmyParentDialog
PageAction myCurrentPageAction
int myActionFlag

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::DtSceneGraphPage::DtSceneGraphPage ( DtDe de,
QWidget pParent = 0 
)

CTOR.

virtual makVrv::DtSceneGraphPage::~DtSceneGraphPage ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtSceneGraphPage::clear ( )
virtual

Clear this window.

Implements makVrv::DtSceneGraphTreeWidgetInterface.

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

Insert pItem, under pParent.

Implements makVrv::DtSceneGraphTreeWidgetInterface.

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

Returns QTreeWidget::invisibleRootItem()

Implements makVrv::DtSceneGraphTreeWidgetInterface.

virtual QIcon makVrv::DtSceneGraphPage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtSceneGraphPage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

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

Get the class name of the page.

Implements makVrv::DtPage.

void makVrv::DtSceneGraphPage::updateSize ( )
protectedslot
void makVrv::DtSceneGraphPage::refresh ( )
protectedslot
void makVrv::DtSceneGraphPage::expandAll ( )
protectedslot
void makVrv::DtSceneGraphPage::setupGui ( )
protected
void makVrv::DtSceneGraphPage::tearDownGui ( )
protected
virtual void makVrv::DtSceneGraphPage::activate ( )
protectedvirtual

On activate.

Implements makVrv::DtPage.

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

On deactivate.

Implements makVrv::DtPage.

Member Data Documentation

std::string makVrv::DtSceneGraphPage::myClassName
protected
bool makVrv::DtSceneGraphPage::myExpandingAll
protected
QGridLayout* makVrv::DtSceneGraphPage::myLayout
protected
QTreeWidget* makVrv::DtSceneGraphPage::myTreeWidget
protected
QPushButton* makVrv::DtSceneGraphPage::myRefreshButton
protected
QPushButton* makVrv::DtSceneGraphPage::myExpandAllButton
protected
QCheckBox* makVrv::DtSceneGraphPage::myResizeBox
protected
QComboBox* makVrv::DtSceneGraphPage::myRootSelector
protected
DtSceneGraphTreeLogic* makVrv::DtSceneGraphPage::myLogic
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)