PIMPrint Library
calprintmonth.cpp
Go to the documentation of this file.
void setPointSize(int pointSize)
void setExtraOptions(ExtraOptions flags)
Sets extra options for printing.
Definition: calprintbase.cpp:361
const QBrush & background() const
virtual ~CalPrintMonth()
Definition: calprintmonth.cpp:65
QPrinter * thePrinter() const
Returns a pointer to the currently set QPrinter.
Definition: calprintbase.cpp:168
void setBackground(const QBrush &brush)
int daysInMonth() const
KCalendarSystem * calendarSystem() const
Returns a pointer to the currently set calendar system.
Definition: calprintbase.cpp:188
const QFont & font() const
ExtraOptions extraOptions() const
Returns the current extra option flags.
Definition: calprintbase.cpp:366
int pageWidth() const
Returns the current printed page width.
int height() const
int month() const
int weekdayColumn(int weekday) const
Determines the column of the given weekday (1=Monday, 7=Sunday), taking the start of the week setting...
Definition: calprintbase.cpp:1330
QDate endDate() const
Returns the current print ending date.
QDate startDate() const
Returns the current print starting date.
int dayOfWeek() const
const QColor & color() const
void setFont(const QFont &font)
CalPrintMonth(QPrinter *printer)
Definition: calprintmonth.cpp:42
QString number(int n, int base)
QDate addMonths(int nmonths) const
int top() const
void setTop(int y)
int left() const
int drawFooter(QPainter &p, const QRect &box) const
Draws a page footer containing the printing date and possibly other things, like a page number...
Definition: calprintbase.cpp:568
void drawText(const QPointF &position, const QString &text)
int year() const
void setRangeOptions(RangeOptions flags)
Sets time-range options for printing.
Definition: calprintbase.cpp:351
int headerHeight() const
Returns the current height of the page header.
bool newPage()
void setInfoOptions(InfoOptions flags)
Sets information options for printing.
Definition: calprintbase.cpp:331
int drawHeader(QPainter &p, const QRect &box, const QString &title, const QDate &leftMonth=QDate(), const QDate &rightMonth=QDate(), const bool expand=false, const QColor &backColor=QColor()) const
Draws the gray header bar of the printout to the QPainter.
Definition: calprintbase.cpp:497
int footerHeight() const
Returns the current height of the page footer.
void drawDayBox(QPainter &p, const QRect &box, const QDate &date, const QTime &startTime, const QTime &endTime, bool fullDate=false) const
Draws the box containing a list of all events and to-dos of the given day.
Definition: calprintbase.cpp:1141
int width() const
void drawDaysOfWeek(QPainter &p, const QRect &box, const QDate &fromDate, const QDate &toDate) const
Draws a horizontal bar with the weekday names of the given date range in the given area of the painte...
Definition: calprintbase.cpp:926
void setTypeOptions(TypeOptions flags)
Sets type options for printing.
Definition: calprintbase.cpp:341
int subHeaderHeight() const
Returns the current height of the page sub-header.
Definition: calprintbase.cpp:276
int bottom() const
void setStartDate(const QDate &date)
Sets the printout starting date.
Definition: calprintmonth.cpp:106
int pageHeight() const
Returns the current printed page height.
QDate addDays(int ndays) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:09 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:32:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.