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

Signals

void signalRatingChanged (int)
 
void signalRatingFilterChanged (int, ItemFilterSettings::RatingCondition, bool)
 
void signalRatingModified (int)
 Not managed by tracking properties. More...
 

Public Member Functions

bool hasFading () const
 
bool hasTracking () const
 
bool isUnratedItemsExcluded ()
 
int maximumVisibleWidth () const
 
int rating () const
 
ItemFilterSettings::RatingCondition ratingFilterCondition ()
 
 RatingFilterWidget (QWidget *const parent)
 
void setExcludeUnratedItems (bool excluded)
 
void setFading (bool fading)
 
void setRating (int val)
 
void setRatingFilterCondition (ItemFilterSettings::RatingCondition cond)
 
void setTracking (bool tracking)
 
void setVisible (bool visible) override
 
void setVisibleImmediately ()
 
void startFading ()
 
void stopFading ()
 
 ~RatingFilterWidget () override
 

Static Public Member Functions

static QIcon buildIcon (int rate, int size)
 
static QPolygon starPolygon ()
 

Protected Slots

void setFadingValue (int value)
 

Protected Member Functions

void applyFading (QPixmap &pix)
 
void mouseMoveEvent (QMouseEvent *) override
 
void mousePressEvent (QMouseEvent *) override
 
void mouseReleaseEvent (QMouseEvent *) override
 
void paintEvent (QPaintEvent *) override
 
void regeneratePixmaps ()
 
int regPixmapWidth () const
 
void setupTimeLine ()
 
QPixmap starPixmap () const
 
QPixmap starPixmapDisabled () const
 
QPixmap starPixmapFilled () const
 

Constructor & Destructor Documentation

◆ RatingFilterWidget()

Digikam::RatingFilterWidget::RatingFilterWidget ( QWidget *const  parent)
explicit

◆ ~RatingFilterWidget()

Digikam::RatingFilterWidget::~RatingFilterWidget ( )
override

Member Function Documentation

◆ applyFading()

void Digikam::RatingWidget::applyFading ( QPixmap &  pix)
protectedinherited

◆ buildIcon()

QIcon Digikam::RatingWidget::buildIcon ( int  rate,
int  size 
)
staticinherited

◆ hasFading()

◆ hasTracking()

bool Digikam::RatingWidget::hasTracking ( ) const
inherited

◆ isUnratedItemsExcluded()

bool Digikam::RatingFilterWidget::isUnratedItemsExcluded ( )

◆ maximumVisibleWidth()

int Digikam::RatingWidget::maximumVisibleWidth ( ) const
inherited

◆ mouseMoveEvent()

void Digikam::RatingFilterWidget::mouseMoveEvent ( QMouseEvent *  e)
overrideprotected

◆ mousePressEvent()

void Digikam::RatingFilterWidget::mousePressEvent ( QMouseEvent *  e)
overrideprotected

◆ mouseReleaseEvent()

void Digikam::RatingFilterWidget::mouseReleaseEvent ( QMouseEvent *  )
overrideprotected

◆ paintEvent()

void Digikam::RatingWidget::paintEvent ( QPaintEvent *  )
overrideprotectedinherited

◆ rating()

int Digikam::RatingWidget::rating ( ) const
inherited

◆ ratingFilterCondition()

ItemFilterSettings::RatingCondition Digikam::RatingFilterWidget::ratingFilterCondition ( )

◆ regeneratePixmaps()

void Digikam::RatingWidget::regeneratePixmaps ( )
protectedinherited

◆ regPixmapWidth()

int Digikam::RatingWidget::regPixmapWidth ( ) const
protectedinherited

Referenced by mouseMoveEvent(), and mousePressEvent().

◆ setExcludeUnratedItems()

void Digikam::RatingFilterWidget::setExcludeUnratedItems ( bool  excluded)

◆ setFading()

void Digikam::RatingWidget::setFading ( bool  fading)
inherited

◆ setFadingValue

void Digikam::RatingWidget::setFadingValue ( int  value)
protectedslotinherited

◆ setRating()

◆ setRatingFilterCondition()

void Digikam::RatingFilterWidget::setRatingFilterCondition ( ItemFilterSettings::RatingCondition  cond)

◆ setTracking()

void Digikam::RatingWidget::setTracking ( bool  tracking)
inherited

◆ setupTimeLine()

void Digikam::RatingWidget::setupTimeLine ( )
protectedinherited

◆ setVisible()

void Digikam::RatingWidget::setVisible ( bool  visible)
overrideinherited

◆ setVisibleImmediately()

void Digikam::RatingWidget::setVisibleImmediately ( )
inherited

◆ signalRatingChanged

◆ signalRatingFilterChanged

void Digikam::RatingFilterWidget::signalRatingFilterChanged ( int  ,
ItemFilterSettings::RatingCondition  ,
bool   
)
signal

◆ signalRatingModified

void Digikam::RatingWidget::signalRatingModified ( int  )
signalinherited

◆ starPixmap()

QPixmap Digikam::RatingWidget::starPixmap ( ) const
protectedinherited

◆ starPixmapDisabled()

QPixmap Digikam::RatingWidget::starPixmapDisabled ( ) const
protectedinherited

◆ starPixmapFilled()

QPixmap Digikam::RatingWidget::starPixmapFilled ( ) const
protectedinherited

◆ starPolygon()

QPolygon Digikam::RatingWidget::starPolygon ( )
staticinherited

◆ startFading()

void Digikam::RatingWidget::startFading ( )
inherited

◆ stopFading()

void Digikam::RatingWidget::stopFading ( )
inherited

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