Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/KisNodeDelegate.h
Context not available. | |||||
49 | void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override; | 49 | void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override; | ||
---|---|---|---|---|---|
50 | void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex& index) const override; | 50 | void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex& index) const override; | ||
51 | 51 | | |||
52 | void slotUpdateIcon(); | ||||
53 | | ||||
52 | protected: | 54 | protected: | ||
53 | bool eventFilter(QObject *object, QEvent *event) override; | 55 | bool eventFilter(QObject *object, QEvent *event) override; | ||
54 | 56 | | |||
Context not available. | |||||
60 | Private* const d; | 62 | Private* const d; | ||
61 | 63 | | |||
62 | static QStyleOptionViewItem getOptions(const QStyleOptionViewItem &option, const QModelIndex &index); | 64 | static QStyleOptionViewItem getOptions(const QStyleOptionViewItem &option, const QModelIndex &index); | ||
63 | QRect progressBarRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | | |||
64 | void drawProgressBar(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 65 | void drawProgressBar(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
65 | 66 | | |||
66 | | ||||
67 | void drawBranch(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 67 | void drawBranch(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
68 | void drawColorLabel(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 68 | void drawColorLabel(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
69 | void drawFrame(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 69 | void drawFrame(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
Context not available. |