Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/KisNodeDelegate.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 57 | private: | |||
---|---|---|---|---|---|
61 | Private* const d; | 61 | Private* const d; | ||
62 | 62 | | |||
63 | static QStyleOptionViewItem getOptions(const QStyleOptionViewItem &option, const QModelIndex &index); | 63 | static QStyleOptionViewItem getOptions(const QStyleOptionViewItem &option, const QModelIndex &index); | ||
64 | void drawProgressBar(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 64 | void drawProgressBar(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
65 | 65 | | |||
66 | void drawBranch(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 66 | void drawBranch(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
67 | void drawColorLabel(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 67 | void drawColorLabel(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
68 | void drawFrame(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 68 | void drawFrame(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
69 | | ||||
70 | QRect thumbnailClickRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||||
69 | void drawThumbnail(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 71 | void drawThumbnail(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
72 | | ||||
70 | QRect iconsRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | 73 | QRect iconsRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
71 | QRect textRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | 74 | QRect textRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
72 | void drawText(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 75 | void drawText(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
73 | void drawIcons(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 76 | void drawIcons(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
77 | | ||||
74 | QRect visibilityClickRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | 78 | QRect visibilityClickRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
75 | QRect decorationClickRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | | |||
76 | QRect thumbnailClickRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | | |||
77 | void drawVisibilityIconHijack(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 79 | void drawVisibilityIconHijack(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
80 | | ||||
81 | QRect decorationClickRect(const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||||
78 | void drawDecoration(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 82 | void drawDecoration(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
79 | void drawExpandButton(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | 83 | void drawExpandButton(QPainter *p, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||
80 | 84 | | |||
81 | private Q_SLOTS: | 85 | private Q_SLOTS: | ||
82 | void slotConfigChanged(); | 86 | void slotConfigChanged(); | ||
83 | }; | 87 | }; | ||
84 | 88 | | |||
85 | #endif | 89 | #endif |