VR-Forces 4.8 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
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. More...
 
virtual ~DtSceneGraphPage ()
 DTOR. More...
 
virtual void clear ()
 Clear this window. More...
 
virtual bool insertTreeWidgetItem (QTreeWidgetItem *pItem, QTreeWidgetItem *pParent)
 Insert pItem, under pParent. More...
 
virtual QTreeWidgetItemrootItem ()
 Returns QTreeWidget::invisibleRootItem() More...
 
virtual QIcon icon ()
 Get the icon of the page. More...
 
virtual QString title ()
 Get the title of the page. More...
 
virtual const std::string & pageClassName () const
 Get the class name of the page. More...
 
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page. More...
 
virtual ~DtPage ()
 DTOR for page. More...
 
virtual PageAction pageAction ()
 return the current action on the page More...
 
virtual void setPageAction (PageAction action)
 set the curret action on the page More...
 
virtual void setActionFlag (int flag)
 set the action flag of the page More...
 
virtual int actionFlag ()
 return the action flag of the page More...
 
virtual void setParentDialog (QWidget *paraentDialog)
 set the parent dialog that owns this page More...
 
virtual QWidget * parentDialog ()
 return the parent dialog that own this page More...
 
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 More...
 
virtual void askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing. More...
 
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. More...
 
virtual void resumeLastAction ()
 resume the last action of the page More...
 
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing. More...
 
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing. More...
 
- Public Member Functions inherited from makVrv::DtSceneGraphTreeWidgetInterface
virtual ~DtSceneGraphTreeWidgetInterface ()
 

Protected Slots

void updateSize ()
 
void refresh ()
 
void expandAll ()
 
void findPrevious ()
 
void findNext ()
 
void contextMenuAt (const QPoint &point)
 

Protected Member Functions

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

Protected Attributes

std::string myClassName
 
bool myExpandingAll
 
QGridLayout * myLayout
 
QTreeWidgetmyTreeWidget
 
QPushButtonmyRefreshButton
 
QPushButtonmyExpandAllButton
 
QLineEditmySearchStatusText
 
QLineEditmySearchTextField
 
QPushButtonmyFindNextButton
 
QPushButtonmyFindPrevButton
 
QCheckBoxmyResizeBox
 
QComboBoxmyRootSelector
 
DtSceneGraphTreeLogicmyLogic
 
QMenumyContextMenu
 
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
 
QWidget * myParentDialog
 
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::findPrevious ( )
protectedslot
void makVrv::DtSceneGraphPage::findNext ( )
protectedslot
void makVrv::DtSceneGraphPage::contextMenuAt ( const QPoint &  point)
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
QLineEdit* makVrv::DtSceneGraphPage::mySearchStatusText
protected
QLineEdit* makVrv::DtSceneGraphPage::mySearchTextField
protected
QPushButton* makVrv::DtSceneGraphPage::myFindNextButton
protected
QPushButton* makVrv::DtSceneGraphPage::myFindPrevButton
protected
QCheckBox* makVrv::DtSceneGraphPage::myResizeBox
protected
QComboBox* makVrv::DtSceneGraphPage::myRootSelector
protected
DtSceneGraphTreeLogic* makVrv::DtSceneGraphPage::myLogic
protected
QMenu* makVrv::DtSceneGraphPage::myContextMenu
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)