korganizer
journalprint.cpp
Go to the documentation of this file.
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:553
virtual void setDateRange(const QDate &from, const QDate &to)
Set date range which should be printed.
Definition: journalprint.cpp:93
void drawJournal(const Journal::Ptr &journal, QPainter &p, int x, int &y, int width, int pageHeight)
Draws single journal item.
Definition: calprintpluginbase.cpp:2101
virtual PrintPlugin * createPluginFactory()=0
virtual void readSettingsWidget()
Read settings from configuration widget and apply them to current object.
Definition: journalprint.cpp:46
virtual void setDateRange(const QDate &from, const QDate &to)
Set date range which should be printed.
Definition: printplugin.h:165
int headerHeight() const
Returns the height of the page header.
Definition: calprintpluginbase.cpp:315
Definition: journalprint.h:58
Definition: journalprint.h:33
virtual void saveConfig()
Write print format configuration to config file.
Definition: journalprint.cpp:82
virtual void loadConfig()
Load print format configuration from config file.
Definition: journalprint.cpp:73
virtual void print(QPainter &p, int width, int height)
Actually do the printing.
Definition: journalprint.cpp:104
Definition: printplugin.h:186
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:628
int footerHeight() const
Returns the height of the page footer.
Definition: calprintpluginbase.cpp:341
K_EXPORT_PLUGIN(KOrganizerFactory(createAboutData())) KOrganizerPart
Definition: korganizer_part.cpp:49
virtual void setSettingsWidget()
Set configuration widget to reflect settings of current object.
Definition: journalprint.cpp:57
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.