|
QRect | drawStarPolygons (QPainter *p, int numberOfStars) const |
|
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
| RatingComboBoxDelegate (QObject *const parent=nullptr) |
|
QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override |
|
|
void | drawRating (QPainter *painter, const QRect &rect, int rating, bool selectable) const |
|
◆ RatingComboBoxDelegate()
Digikam::RatingComboBoxDelegate::RatingComboBoxDelegate |
( |
QObject *const |
parent = nullptr | ) |
|
|
explicit |
◆ drawRating()
void Digikam::RatingComboBoxDelegate::drawRating |
( |
QPainter * |
painter, |
|
|
const QRect & |
rect, |
|
|
int |
rating, |
|
|
bool |
selectable |
|
) |
| const |
|
protected |
◆ drawStarPolygons()
QRect Digikam::RatingStarDrawer::drawStarPolygons |
( |
QPainter * |
p, |
|
|
int |
numberOfStars |
|
) |
| const |
|
inherited |
◆ paint()
void Digikam::RatingComboBoxDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ sizeHint()
QSize Digikam::RatingComboBoxDelegate::sizeHint |
( |
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
◆ m_starPolygon
QPolygon Digikam::RatingStarDrawer::m_starPolygon |
|
protectedinherited |
◆ m_starPolygonSize
QSize Digikam::RatingStarDrawer::m_starPolygonSize |
|
protectedinherited |
The documentation for this class was generated from the following files: