SHAPER  9.13.0
XGUI_DataTree Class Reference

Implementation of Data Tree object for Object Browser. More...

Inheritance diagram for XGUI_DataTree:
Inheritance graph

Public Slots

virtual void clear ()
 Clear content of data tree. More...
 

Signals

void contextMenuRequested (QContextMenuEvent *theEvent)
 Emited on context menu request. More...
 

Public Member Functions

 XGUI_DataTree (QWidget *theParent)
 Constructor. More...
 
XGUI_DataModeldataModel () const
 Returns current data model. More...
 

Protected Slots

virtual void commitData (QWidget *theEditor)
 Commit modified data (used for renaming of objects) More...
 
void onDoubleClick (const QModelIndex &)
 A slot which is called on mouse double click. More...
 

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *theEvent)
 Redefinition of virtual method. More...
 
virtual void resizeEvent (QResizeEvent *theEvent)
 Redefinition of virtual method. More...
 
virtual void mouseReleaseEvent (QMouseEvent *theEvent)
 Redefinition of virtual method. More...
 

Detailed Description

Implementation of Data Tree object for Object Browser.

Constructor & Destructor Documentation

◆ XGUI_DataTree()

XGUI_DataTree::XGUI_DataTree ( QWidget theParent)

Constructor.

Parameters
theParenta parent widget

Member Function Documentation

◆ dataModel()

XGUI_DataModel * XGUI_DataTree::dataModel ( ) const

Returns current data model.

◆ contextMenuRequested

void XGUI_DataTree::contextMenuRequested ( QContextMenuEvent *  theEvent)
signal

Emited on context menu request.

◆ clear

void XGUI_DataTree::clear ( )
virtualslot

Clear content of data tree.

◆ commitData

void XGUI_DataTree::commitData ( QWidget theEditor)
protectedvirtualslot

Commit modified data (used for renaming of objects)

◆ onDoubleClick

void XGUI_DataTree::onDoubleClick ( const QModelIndex &  theIndex)
protectedslot

A slot which is called on mouse double click.

◆ contextMenuEvent()

void XGUI_DataTree::contextMenuEvent ( QContextMenuEvent *  theEvent)
protectedvirtual

Redefinition of virtual method.

◆ resizeEvent()

void XGUI_DataTree::resizeEvent ( QResizeEvent *  theEvent)
protectedvirtual

Redefinition of virtual method.

◆ mouseReleaseEvent()

void XGUI_DataTree::mouseReleaseEvent ( QMouseEvent *  theEvent)
protectedvirtual

Redefinition of virtual method.