PIMPrint Library
calprintweek.cpp
Go to the documentation of this file.
void setBottom(int y)
QPrinter * thePrinter() const
Returns a pointer to the currently set QPrinter.
Definition: calprintbase.cpp:168
QDate startDate() const
Returns the current print starting date.
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
void drawTimeTable(QPainter &p, const QRect &box, const QDate &startDate, const QDate &endDate, const QTime &startTime, const QTime &endTime, bool expandAll=false) const
Draws the timetable view of the given time range from startDate to endDate.
Definition: calprintbase.cpp:655
void setStartDate(const QDate &date)
Sets the printout starting date.
Definition: calprintweek.cpp:88
int weekNumber(int *yearNumber) 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
int dayOfWeek() const
CalPrintWeek(QPrinter *printer)
Definition: calprintweek.cpp:44
virtual ~CalPrintWeek()
Definition: calprintweek.cpp:67
int top() const
void setTop(int y)
int left() const
QTime endTime() const
Returns the current print ending time.
bool isValid() 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 setStartTime(const QTime &time)
Sets the printout starting time.
Definition: calprintweek.cpp:108
int headerHeight() const
Returns the current height of the page header.
bool newPage()
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
bool useLandscape() const
Returns if the current printed page orientation is landscape.
int bottom() const
int pageHeight() const
Returns the current printed page height.
QDate addDays(int ndays) const
QTime startTime() const
Returns the current print starting time.
QDate endDate() const
Returns the current print ending date.
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.