SHAPER  9.12.0
XGUI_TreeViewItemDelegate Class Reference

Tree item delegate for definition of data in column items editor. More...

Inheritance diagram for XGUI_TreeViewItemDelegate:
Inheritance graph

Public Member Functions

 XGUI_TreeViewItemDelegate (XGUI_DataTree *theParent)
 Constructor. More...
 
virtual void setEditorData (QWidget *editor, const QModelIndex &index) const
 Set data for item editor (name of the item) More...
 

Detailed Description

Tree item delegate for definition of data in column items editor.

Constructor & Destructor Documentation

◆ XGUI_TreeViewItemDelegate()

XGUI_TreeViewItemDelegate::XGUI_TreeViewItemDelegate ( XGUI_DataTree theParent)
inline

Constructor.

Parameters
theParenta parent of the delegate

Member Function Documentation

◆ setEditorData()

virtual void XGUI_TreeViewItemDelegate::setEditorData ( QWidget editor,
const QModelIndex &  index 
) const
inlinevirtual

Set data for item editor (name of the item)

Parameters
editora widget of editor
indexthe tree item index