RToolMatrixItemDelegate
Class in GUI Module
Header: #include <src/gui/RToolMatrixItemDelegate.h>
Inherits: QItemDelegate
Description
Section titled “Description”Tree widget item delegate.
Decorates root items of QTreeWidget tool matrices.
Scriptable: This class is available in script environments.
\generateScriptShell
Public Functions
Section titled “Public Functions”RToolMatrixItemDelegate(QTreeView *view, QWidget *parent) |
|
| void | paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| QSize | sizeHint(const QStyleOptionViewItem &opt, const QModelIndex &index) const |
Private Attributes
Section titled “Private Attributes”| QTreeView * | treeView |
Member Documentation
Section titled “Member Documentation”RToolMatrixItemDelegate
Section titled “RToolMatrixItemDelegate”RToolMatrixItemDelegate::RToolMatrixItemDelegate(QTreeView *view, QWidget *parent)void RToolMatrixItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) constconst
sizeHint
Section titled “sizeHint”QSize RToolMatrixItemDelegate::sizeHint(const QStyleOptionViewItem &opt, const QModelIndex &index) constconst
treeView
Section titled “treeView”QTreeView* RToolMatrixItemDelegate::treeViewprivate