digiKam
Digikam::DDateTable::Private Class Reference
+ Inheritance diagram for Digikam::DDateTable::Private:

Classes

class  DatePaintingMode
 

Public Slots

void beginningOfMonth ()
 
void beginningOfWeek ()
 
void endOfMonth ()
 
void endOfWeek ()
 
void nextMonth ()
 
void previousMonth ()
 
void setDate (const QDate &)
 

Public Member Functions

 Private (DDateTable *const qq)
 
 ~Private () override
 

Public Attributes

QHash< int, DatePaintingModecustomPaintingModes
 
QDate date
 
int fontsize
 
int hoveredPos
 
QRectF maxCell
 
int numDayColumns
 
int numDaysThisMonth
 
int numWeekRows
 
bool popupMenuEnabled
 
DDateTableq
 
bool useCustomColors
 
int weekDayFirstOfMonth
 

Constructor & Destructor Documentation

◆ Private()

Digikam::DDateTable::Private::Private ( DDateTable *const  qq)
explicit

References setDate().

◆ ~Private()

Digikam::DDateTable::Private::~Private ( )
override

Member Function Documentation

◆ beginningOfMonth

void Digikam::DDateTable::Private::beginningOfMonth ( )
slot

◆ beginningOfWeek

void Digikam::DDateTable::Private::beginningOfWeek ( )
slot

◆ endOfMonth

void Digikam::DDateTable::Private::endOfMonth ( )
slot

◆ endOfWeek

void Digikam::DDateTable::Private::endOfWeek ( )
slot

◆ nextMonth

void Digikam::DDateTable::Private::nextMonth ( )
slot

◆ previousMonth

void Digikam::DDateTable::Private::previousMonth ( )
slot

◆ setDate

void Digikam::DDateTable::Private::setDate ( const QDate &  dt)
slot

Member Data Documentation

◆ customPaintingModes

QHash<int, DatePaintingMode> Digikam::DDateTable::Private::customPaintingModes

◆ date

◆ fontsize

int Digikam::DDateTable::Private::fontsize

The font size of the displayed text.

Referenced by Digikam::DDateTable::setFontSize().

◆ hoveredPos

int Digikam::DDateTable::Private::hoveredPos

◆ maxCell

QRectF Digikam::DDateTable::Private::maxCell

Save the size of the largest used cell content.

Referenced by Digikam::DDateTable::setFontSize(), and Digikam::DDateTable::sizeHint().

◆ numDayColumns

◆ numDaysThisMonth

int Digikam::DDateTable::Private::numDaysThisMonth

The number of days in the current month.

◆ numWeekRows

int Digikam::DDateTable::Private::numWeekRows

◆ popupMenuEnabled

◆ q

DDateTable* Digikam::DDateTable::Private::q

◆ useCustomColors

bool Digikam::DDateTable::Private::useCustomColors

◆ weekDayFirstOfMonth

int Digikam::DDateTable::Private::weekDayFirstOfMonth

The weekday number of the first day in the month [1..daysInWeek()].

Referenced by Digikam::DDateTable::dateFromPos(), and Digikam::DDateTable::posFromDate().


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