27 #ifndef DIGIKAM_DDATE_TABLE_H
28 #define DIGIKAM_DDATE_TABLE_H
66 explicit DDateTable(QWidget*
const parent =
nullptr);
67 explicit DDateTable(
const QDate& dt, QWidget*
const parent =
nullptr);
92 const QDate&
date()
const;
113 const QColor& bgColor = QColor());
148 bool event(QEvent* e)
override;
179 void initWidget(
const QDate& dt);
181 void paintCell(QPainter* painter,
int row,
int col);
Definition: ddatetable_p.h:48
Definition: ddatetable.h:50
void setFontSize(int size)
Definition: ddatetable.cpp:539
void focusInEvent(QFocusEvent *e) override
Definition: ddatetable.cpp:736
void setCustomDatePainting(const QDate &date, const QColor &fgColor, BackgroundMode bgMode=NoBgMode, const QColor &bgColor=QColor())
Definition: ddatetable.cpp:773
~DDateTable() override
Definition: ddatetable.cpp:65
bool popupMenu
Definition: ddatetable.h:53
virtual int posFromDate(const QDate &dt)
Definition: ddatetable.cpp:135
void focusOutEvent(QFocusEvent *e) override
Definition: ddatetable.cpp:741
virtual QDate dateFromPos(int pos)
Definition: ddatetable.cpp:151
DDateTable(QWidget *const parent=nullptr)
Definition: ddatetable.cpp:58
bool event(QEvent *e) override
Definition: ddatetable.cpp:573
void paintEvent(QPaintEvent *e) override
Definition: ddatetable.cpp:166
QDate date
Definition: ddatetable.h:52
void unsetCustomDatePainting(const QDate &dt)
Definition: ddatetable.cpp:792
void dateChanged(const QDate &date)
BackgroundMode
Definition: ddatetable.h:58
@ RectangleMode
Definition: ddatetable.h:60
@ NoBgMode
Definition: ddatetable.h:59
@ CircleMode
Definition: ddatetable.h:61
void setPopupMenuEnabled(bool enable)
Definition: ddatetable.cpp:763
void wheelEvent(QWheelEvent *e) override
Definition: ddatetable.cpp:567
void mousePressEvent(QMouseEvent *e) override
Definition: ddatetable.cpp:635
bool setDate(const QDate &date)
Definition: ddatetable.cpp:708
void keyPressEvent(QKeyEvent *e) override
Definition: ddatetable.cpp:450
bool popupMenuEnabled() const
Definition: ddatetable.cpp:768
QSize sizeHint() const override
Definition: ddatetable.cpp:746
void dateChanged(const QDate &cur, const QDate &old)
void aboutToShowContextMenu(QMenu *menu, const QDate &dt)
Definition: datefolderview.cpp:43