korganizer
yearprint.cpp
Go to the documentation of this file.
virtual void readSettingsWidget()
Read settings from configuration widget and apply them to current object.
Definition: yearprint.cpp:46
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
QPrinter::Orientation orientation() const
Definition: calprintpluginbase.cpp:241
virtual void setSettingsWidget()
Set configuration widget to reflect settings of current object.
Definition: yearprint.cpp:57
virtual PrintPlugin * createPluginFactory()=0
Definition: calprintpluginbase.h:68
virtual void setDateRange(const QDate &from, const QDate &to)
Set date range which should be printed.
Definition: printplugin.h:165
Definition: yearprint.h:60
int headerHeight() const
Returns the height of the page header.
Definition: calprintpluginbase.cpp:315
virtual void print(QPainter &p, int width, int height)
Actually do the printing.
Definition: yearprint.cpp:124
static void drawBox(QPainter &p, int linewidth, const QRect &rect)
Draw a box with given width at the given coordinates.
Definition: calprintpluginbase.cpp:391
virtual void setDateRange(const QDate &from, const QDate &to)
Set date range which should be printed.
Definition: yearprint.cpp:115
virtual void loadConfig()
Load print format configuration from config file.
Definition: yearprint.cpp:83
const KCalendarSystem * calendarSystem() const
Definition: calprintpluginbase.cpp:305
virtual QPrinter::Orientation defaultOrientation()
Orientation of printout.
Definition: yearprint.cpp:110
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
void drawMonth(QPainter &p, const QDate &dt, const QRect &box, int maxdays=-1, int subDailyFlags=TimeBoxes, int holidaysFlags=Text)
Draw a vertical representation of the month containing the date dt.
Definition: calprintpluginbase.cpp:1524
Definition: yearprint.h:33
virtual void saveConfig()
Write print format configuration to config file.
Definition: yearprint.cpp:95
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.