#include <SARibbonGalleryGroup.h>
|
| | SARibbonGalleryGroupItemDelegate (SARibbonGalleryGroup *group, QObject *parent=nullptr) |
| | Constructor for SARibbonGalleryGroupItemDelegate
|
| |
| | ~SARibbonGalleryGroupItemDelegate () |
| | Destructor for SARibbonGalleryGroupItemDelegate
|
| |
| virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| | Paint the item
|
| |
| virtual QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| | Get size hint
|
| |
| virtual void | paintIconOnly (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| | Paint only icon
|
| |
| virtual void | paintIconWithText (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| | Paint icon with text
|
| |
| virtual void | paintIconWithTextWordWrap (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| | Paint icon with word wrap text
|
| |
◆ SARibbonGalleryGroupItemDelegate()
| SARibbonGalleryGroupItemDelegate::SARibbonGalleryGroupItemDelegate |
( |
SARibbonGalleryGroup * |
group, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~SARibbonGalleryGroupItemDelegate()
| SARibbonGalleryGroupItemDelegate::~SARibbonGalleryGroupItemDelegate |
( |
| ) |
|
◆ paint()
| void SARibbonGalleryGroupItemDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
◆ paintIconOnly()
| void SARibbonGalleryGroupItemDelegate::paintIconOnly |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
◆ paintIconWithText()
| void SARibbonGalleryGroupItemDelegate::paintIconWithText |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
◆ paintIconWithTextWordWrap()
| void SARibbonGalleryGroupItemDelegate::paintIconWithTextWordWrap |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
Paint icon with word wrap text
◆ sizeHint()
| QSize SARibbonGalleryGroupItemDelegate::sizeHint |
( |
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
该类的文档由以下文件生成:
- /home/runner/work/SARibbon/SARibbon/src/SARibbonBar/SARibbonGalleryGroup.h
- /home/runner/work/SARibbon/SARibbon/src/SARibbonBar/SARibbonGalleryGroup.cpp