Skip to content

RToolMatrixItemDelegate

Class in GUI Module
Header: #include <src/gui/RToolMatrixItemDelegate.h>
Inherits: QItemDelegate

Tree widget item delegate.

Decorates root items of QTreeWidget tool matrices.

Scriptable: This class is available in script environments.

\generateScriptShell

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
QTreeView * treeView

RToolMatrixItemDelegate::RToolMatrixItemDelegate(QTreeView *view, QWidget *parent)

void RToolMatrixItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const

const

QSize RToolMatrixItemDelegate::sizeHint(const QStyleOptionViewItem &opt, const QModelIndex &index) const

const

QTreeView* RToolMatrixItemDelegate::treeView

private