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

Public Member Functions

 MonthWidget (QWidget *const parent)
 
void setActive (bool val)
 
void setItemModel (ItemFilterModel *const model)
 
void setYearMonth (int year, int month)
 
QSize sizeHint () const override
 
 ~MonthWidget () override
 

Protected Member Functions

void mousePressEvent (QMouseEvent *e) override
 
void paintEvent (QPaintEvent *) override
 
void resizeEvent (QResizeEvent *e) override
 

Constructor & Destructor Documentation

◆ MonthWidget()

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

References setActive(), and setYearMonth().

◆ ~MonthWidget()

Digikam::MonthWidget::~MonthWidget ( )
override

Member Function Documentation

◆ mousePressEvent()

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

◆ paintEvent()

void Digikam::MonthWidget::paintEvent ( QPaintEvent *  )
overrideprotected

◆ resizeEvent()

void Digikam::MonthWidget::resizeEvent ( QResizeEvent *  e)
overrideprotected

◆ setActive()

void Digikam::MonthWidget::setActive ( bool  val)

References setYearMonth().

Referenced by MonthWidget().

◆ setItemModel()

void Digikam::MonthWidget::setItemModel ( ItemFilterModel *const  model)

◆ setYearMonth()

void Digikam::MonthWidget::setYearMonth ( int  year,
int  month 
)

Referenced by MonthWidget(), and setActive().

◆ sizeHint()

QSize Digikam::MonthWidget::sizeHint ( ) const
override

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