PIMPrint Library
calprinttodos.cpp
Go to the documentation of this file.
331 if (extraOptions().testFlag(CalPrintBase::ExtraConnectSubTodos)) {//TODO should be true by default
497 if (extraOptions().testFlag(CalPrintBase::ExtraConnectSubTodos)) {//TODO should be true by default
void clear()
void setExtraOptions(ExtraOptions flags)
Sets extra options for printing.
Definition: calprintbase.cpp:361
QPoint topRight() const
void truncate(int position)
QPrinter * thePrinter() const
Returns a pointer to the currently set QPrinter.
Definition: calprintbase.cpp:168
int right() const
KCalCore::SortDirection sortDirection() const
Returns the current sorting direction.
Definition: calprinttodos.cpp:139
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
const QFont & font() const
TypeOptions typeOptions() const
Returns the current type option flags.
Definition: calprintbase.cpp:346
KCalCore::TodoSortField sortField() const
Returns the current sorting field.
Definition: calprinttodos.cpp:129
const T & at(int i) const
ExtraOptions extraOptions() const
Returns the current extra option flags.
Definition: calprintbase.cpp:366
QPoint bottomRight() const
void setStartDate(const QDate &date)
Sets the printout starting date.
Definition: calprinttodos.cpp:94
QPoint bottomLeft() const
int pageWidth() const
Returns the current printed page width.
int height() const
void setHeaderText(const QString &text)
Sets the text for the print header.
Definition: calprinttodos.cpp:114
void drawLine(const QLineF &line)
CalPrintTodos(QPrinter *printer)
Definition: calprinttodos.cpp:67
virtual ~CalPrintTodos()
Definition: calprinttodos.cpp:89
int size() const
QDate startDate() const
Returns the current print starting date.
QString headerText() const
Returns the current header text string.
void drawRect(const QRectF &rectangle)
void setFont(const QFont &font)
int count(const T &value) const
void append(const T &value)
QRectF boundingRect(const QRectF &rectangle, int flags, const QString &text)
int top() const
void setSortDirection(const KCalCore::SortDirection &sortDirection)
Sets the sorting direction.
Definition: calprinttodos.cpp:134
void setSortField(const KCalCore::TodoSortField &sortField)
Sets the sorting to-do property.
Definition: calprinttodos.cpp:124
int left() const
void setWidth(int width)
int removeAll(const T &value)
QDate endDate() const
Returns the current print ending date.
InfoOptions infoOptions() const
Returns the current information option flags.
Definition: calprintbase.cpp:336
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 setBrush(const QBrush &brush)
KCalCore::Calendar::Ptr printCalendar() const
Returns a pointer to the currently set print calendar.
Definition: calprintbase.cpp:178
void drawText(const QPointF &position, const QString &text)
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.
Definition: calprinttodos.h:28
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.
int width() const
QString & setNum(short n, int base)
QFontMetrics fontMetrics() const
void setHeight(int height)
void setTypeOptions(TypeOptions flags)
Sets type options for printing.
Definition: calprintbase.cpp:341
int height() const
int bottom() const
QPoint topLeft() const
QStringList split(const QString &sep, const QString &str, bool allowEmptyEntries)
void setStrikeOut(bool enable)
int pageHeight() const
Returns the current printed page height.
QString toPlainText(const QString &htmlText) const
Converts possible rich text to plain text.
Definition: calprintbase.cpp:1342
int lineSpacing() 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.