SHAPER  9.12.0
XGUI_ActiveDocLbl Class Reference

Implementation of root label in Object Browser. More...

Inheritance diagram for XGUI_ActiveDocLbl:
Inheritance graph

Public Slots

void unselect ()
 On unselect. More...
 

Public Member Functions

 XGUI_ActiveDocLbl (const QString &theText, QWidget *theParent)
 Constructor. More...
 
void setTreeView (QTreeView *theView)
 Sets tree view. More...
 
QTreeViewtreePalette () const
 Returns tree view. More...
 

Protected Member Functions

virtual void mouseReleaseEvent (QMouseEvent *e)
 On mouse release. More...
 
bool eventFilter (QObject *theObj, QEvent *theEvent)
 Filter event. More...
 

Detailed Description

Implementation of root label in Object Browser.

Constructor & Destructor Documentation

◆ XGUI_ActiveDocLbl()

XGUI_ActiveDocLbl::XGUI_ActiveDocLbl ( const QString &  theText,
QWidget theParent 
)

Constructor.

Parameters
theTexta text
theParenta parent widget

Member Function Documentation

◆ setTreeView()

void XGUI_ActiveDocLbl::setTreeView ( QTreeView theView)

Sets tree view.

Parameters
theViewa view

◆ treePalette()

QTreeView* XGUI_ActiveDocLbl::treePalette ( ) const
inline

Returns tree view.

◆ unselect

void XGUI_ActiveDocLbl::unselect ( )
slot

On unselect.

◆ mouseReleaseEvent()

void XGUI_ActiveDocLbl::mouseReleaseEvent ( QMouseEvent *  e)
protectedvirtual

On mouse release.

◆ eventFilter()

bool XGUI_ActiveDocLbl::eventFilter ( QObject theObj,
QEvent theEvent 
)
protected

Filter event.