calendarsupport
journalprint.cpp
Go to the documentation of this file.
int drawFooter(QPainter &p, const QRect &box)
Draw a page footer containing the printing date and possibly other things, like a page number...
Definition: calprintpluginbase.cpp:640
virtual void setDateRange(const QDate &from, const QDate &to)
Set date range which should be printed.
Definition: printplugin.h:153
int headerHeight() const
Returns the height of the page header.
Definition: calprintpluginbase.cpp:327
void setEnabled(bool)
virtual void print(QPainter &p, int width, int height)
Actually do the printing.
Definition: journalprint.cpp:103
Akonadi::ETMCalendar::Ptr mCalendar
Definition: printplugin.h:168
virtual void saveConfig()
Write print format configuration to config file.
Definition: journalprint.cpp:81
virtual void setSettingsWidget()
Set configuration widget to reflect settings of current object.
Definition: journalprint.cpp:48
virtual void loadConfig()
Load print format configuration from config file.
Definition: journalprint.cpp:72
QPointer< QWidget > mConfigWidget
Definition: printplugin.h:164
int drawHeader(QPainter &p, const QString &title, const QDate &month1, const QDate &month2, const QRect &box, bool expand=false, QColor backColor=QColor())
Draw the gray header bar of the printout to the QPainter.
Definition: calprintpluginbase.cpp:565
virtual void readSettingsWidget()
Read settings from configuration widget and apply them to current object.
Definition: journalprint.cpp:37
virtual void setDateRange(const QDate &from, const QDate &to)
Set date range which should be printed.
Definition: journalprint.cpp:92
int footerHeight() const
Returns the height of the page footer.
Definition: calprintpluginbase.cpp:353
void drawJournal(const KCalCore::Journal::Ptr &journal, QPainter &p, int x, int &y, int width, int pageHeight)
Draws single journal item.
Definition: calprintpluginbase.cpp:2119
virtual QWidget * createConfigWidget(QWidget *)
Returns widget for configuring the print format.
Definition: journalprint.cpp:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.