digiKam
Digikam::ItemViewDelegatePrivate Class Reference
+ Inheritance diagram for Digikam::ItemViewDelegatePrivate:

Public Member Functions

virtual void clearRects ()
 
void init (ItemViewDelegate *const _q)
 
 ItemViewDelegatePrivate ()
 
void makeStarPolygon ()
 
virtual ~ItemViewDelegatePrivate ()=default
 

Public Attributes

QPersistentModelIndex editingRating
 
QFont font
 
QFont fontCom
 
QFont fontReg
 
QFont fontXtra
 
QSize gridSize
 
int margin
 
QRect oneRowComRect
 
QRect oneRowRegRect
 
QRect oneRowXtraRect
 
ItemViewDelegateq
 
int radius
 constant values for drawing More...
 
QVector< QPixmap > ratingPixmaps
 
QRect ratingRect
 
QRect rect
 
QPixmap regPixmap
 
QPixmap selPixmap
 
int spacing
 
QPolygon starPolygon
 
QSize starPolygonSize
 
ThumbnailSize thumbSize
 

Constructor & Destructor Documentation

◆ ItemViewDelegatePrivate()

Digikam::ItemViewDelegatePrivate::ItemViewDelegatePrivate ( )
explicit

References makeStarPolygon().

◆ ~ItemViewDelegatePrivate()

virtual Digikam::ItemViewDelegatePrivate::~ItemViewDelegatePrivate ( )
virtualdefault

Member Function Documentation

◆ clearRects()

void Digikam::ItemViewDelegatePrivate::clearRects ( )
virtual

Resets cached rects. Remember to reimplement in subclass for added rects.

Reimplemented in Digikam::ItemDelegate::ItemDelegatePrivate.

References gridSize, ratingRect, and rect.

Referenced by Digikam::ItemDelegate::ItemDelegatePrivate::clearRects().

◆ init()

void Digikam::ItemViewDelegatePrivate::init ( ItemViewDelegate *const  _q)

◆ makeStarPolygon()

void Digikam::ItemViewDelegatePrivate::makeStarPolygon ( )

Member Data Documentation

◆ editingRating

QPersistentModelIndex Digikam::ItemViewDelegatePrivate::editingRating

◆ font

QFont Digikam::ItemViewDelegatePrivate::font

◆ fontCom

QFont Digikam::ItemViewDelegatePrivate::fontCom

◆ fontReg

QFont Digikam::ItemViewDelegatePrivate::fontReg

◆ fontXtra

QFont Digikam::ItemViewDelegatePrivate::fontXtra

◆ gridSize

QSize Digikam::ItemViewDelegatePrivate::gridSize

Referenced by clearRects().

◆ margin

int Digikam::ItemViewDelegatePrivate::margin

◆ oneRowComRect

QRect Digikam::ItemViewDelegatePrivate::oneRowComRect

◆ oneRowRegRect

QRect Digikam::ItemViewDelegatePrivate::oneRowRegRect

◆ oneRowXtraRect

QRect Digikam::ItemViewDelegatePrivate::oneRowXtraRect

◆ q

◆ radius

int Digikam::ItemViewDelegatePrivate::radius

constant values for drawing

◆ ratingPixmaps

QVector<QPixmap> Digikam::ItemViewDelegatePrivate::ratingPixmaps

◆ ratingRect

QRect Digikam::ItemViewDelegatePrivate::ratingRect

Referenced by clearRects().

◆ rect

QRect Digikam::ItemViewDelegatePrivate::rect

Referenced by clearRects().

◆ regPixmap

QPixmap Digikam::ItemViewDelegatePrivate::regPixmap

◆ selPixmap

QPixmap Digikam::ItemViewDelegatePrivate::selPixmap

◆ spacing

int Digikam::ItemViewDelegatePrivate::spacing

◆ starPolygon

QPolygon Digikam::ItemViewDelegatePrivate::starPolygon

Referenced by makeStarPolygon().

◆ starPolygonSize

QSize Digikam::ItemViewDelegatePrivate::starPolygonSize

Referenced by makeStarPolygon().

◆ thumbSize

ThumbnailSize Digikam::ItemViewDelegatePrivate::thumbSize

The documentation for this class was generated from the following files: