PIMPrint Library
#include <calprintmonth.h>
Public Member Functions | |
CalPrintMonth (QPrinter *printer) | |
virtual | ~CalPrintMonth () |
QDate | endDate () const |
void | print (QPainter &p) |
void | setEndDate (const QDate &date) |
void | setStartDate (const QDate &date) |
QDate | startDate () const |
Public Member Functions inherited from PimPrint::Calendar::CalPrintBase | |
CalPrintBase (QPrinter *printer) | |
~CalPrintBase () | |
int | boxBorderWidth () const |
KCalendarSystem * | calendarSystem () const |
ExtraOptions | extraOptions () const |
int | footerHeight () const |
int | headerHeight () const |
InfoOptions | infoOptions () const |
int | itemBoxBorderWidth () const |
int | margins () const |
int | padding () const |
int | pageHeight () const |
int | pageWidth () const |
KCalCore::Calendar::Ptr | printCalendar () const |
Style | printStyle () const |
RangeOptions | rangeOptions () const |
void | setCalendarSystem (KCalendarSystem *calSystem) |
void | setExtraOptions (ExtraOptions flags) |
void | setFooterHeight (const int height) |
void | setHeaderHeight (const int height) |
void | setInfoOptions (InfoOptions flags) |
void | setPadding (const int padding) |
void | setPageHeight (const int height) const |
void | setPageWidth (const int width) const |
void | setPrintCalendar (const KCalCore::Calendar::Ptr &calendar) |
void | setPrintStyle (const Style style) |
void | setRangeOptions (RangeOptions flags) |
void | setSubHeaderHeight (const int height) |
void | setThePrinter (QPrinter *printer) |
void | setTypeOptions (TypeOptions flags) |
void | setUseColor (const bool useColor) |
void | setUseLandscape (const bool landscape) |
int | subHeaderHeight () const |
QPrinter * | thePrinter () const |
int | timeLineWidth () const |
TypeOptions | typeOptions () const |
bool | useColor () const |
bool | useLandscape () const |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Properties | |
QDate | endDate |
QDate | startDate |
Properties inherited from PimPrint::Calendar::CalPrintBase | |
int | boxBorderWidth |
int | footerHeight |
int | headerHeight |
int | itemBoxBorderWidth |
int | margins |
int | padding |
int | pageHeight |
int | pageWidth |
int | subheaderHeight |
int | timeLineWidth |
bool | useColor |
bool | useLandscape |
Properties inherited from QObject | |
objectName | |
Additional Inherited Members | |
Public Types inherited from PimPrint::Calendar::CalPrintBase | |
enum | ExtraOption { ExtraSingleLine = 0x00000001, ExtraNoteLines = 0x00000002, ExtraWeekNumbers = 0x00000004, ExtraStrikeDoneTodos = 0x00000008, ExtraConnectSubTodos = 0x00000010, ExtraFooter = 0x00000020 } |
enum | InfoOption { InfoAll = 0x00000001, InfoDescription = 0x00000002, InfoLocation = 0x00000004, InfoAttendees = 0x00000008, InfoCategories = 0x00000010, InfoPriority = 0x00000020, InfoDueDate = 0x00000040, InfoPercentDone = 0x00000080, InfoTimeRange = 0x00000100 } |
enum | RangeOption { RangeTimeExpand = 0x00000001, RangeRecurAny = 0x00000002, RangeRecurDaily = 0x00000004, RangeRecurWeekly = 0x00000008 } |
enum | Style { None, Incidence, DayFiloFax, DayTimeTable, DaySingleTimeTable, WeekFiloFax, WeekTimeTable, WeekSplitWeek, MonthClassic, TodoList, Journal, Year } |
enum | TypeOption { TypeAll = 0x00000001, TypeEvent = 0x00000002, TypeTodo = 0x00000004, TypeJournal = 0x00000008, TypeConfidential = 0x00000010, TypePrivate = 0x00000020 } |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from PimPrint::Calendar::CalPrintBase | |
QString | cleanString (const QString &str) const |
void | drawAgendaDayBox (QPainter &p, const QRect &box, const QDate &date, const KCalCore::Event::List &eventList, const QTime &startTime, const QTime &endTime, const QList< QDate > &workDays) const |
void | drawAgendaItem (PrintCellItem *item, QPainter &p, const KDateTime &startPrintDate, const KDateTime &endPrintDate, float minlen, const QRect &box) const |
void | drawBox (QPainter &p, const int linewidth, const QRect &box) const |
void | drawDayBox (QPainter &p, const QRect &box, const QDate &date, const QTime &startTime, const QTime &endTime, bool fullDate=false) const |
void | drawDaysOfWeek (QPainter &p, const QRect &box, const QDate &fromDate, const QDate &toDate) const |
int | drawFooter (QPainter &p, const QRect &box) const |
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 |
void | drawItemBox (QPainter &p, int linewidth, const QRect &box, const KCalCore::Incidence::Ptr &incidence, const QString &str, int flags=-1) const |
void | drawItemString (QPainter &p, const QRect &box, const QString &str, int flags=-1) const |
void | drawShadedBox (QPainter &p, const int linewidth, const QBrush &brush, const QRect &box) const |
void | drawSubHeader (QPainter &p, const QRect &box, const QString &str) const |
void | drawTimeLine (QPainter &p, const QTime &startTime, const QTime &endTime, const QRect &box) const |
void | drawTimeTable (QPainter &p, const QRect &box, const QDate &startDate, const QDate &endDate, const QTime &startTime, const QTime &endTime, bool expandAll=false) const |
void | drawVerticalBox (QPainter &p, const int linewidth, const QRect &box, const QString &str, int flags=-1) const |
QString | toPlainText (const QString &htmlText) const |
int | weekdayColumn (int weekday) const |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Detailed Description
Definition at line 33 of file calprintmonth.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 42 of file calprintmonth.cpp.
|
virtual |
Definition at line 65 of file calprintmonth.cpp.
Member Function Documentation
QDate PimPrint::Calendar::CalPrintMonth::endDate | ( | ) | const |
Returns the current print ending date.
- See also
- setEndDate(), startDate()
|
virtual |
Implements PimPrint::Calendar::CalPrintBase.
Definition at line 70 of file calprintmonth.cpp.
void CalPrintMonth::setEndDate | ( | const QDate & | date | ) |
Sets the printout ending date.
Only the month and year are considered.
- Parameters
-
dt is the ending date to print.
- See also
- endDate(), setStartDate()
Definition at line 116 of file calprintmonth.cpp.
void CalPrintMonth::setStartDate | ( | const QDate & | date | ) |
Sets the printout starting date.
Only the month and year are considered.
- Parameters
-
dt is the starting date to print.
- See also
- startDate(), setEndDate()
Definition at line 106 of file calprintmonth.cpp.
QDate PimPrint::Calendar::CalPrintMonth::startDate | ( | ) | const |
Returns the current print starting date.
- See also
- setStartDate(), endDate()
Property Documentation
|
readwrite |
Definition at line 39 of file calprintmonth.h.
|
readwrite |
Definition at line 36 of file calprintmonth.h.
The documentation for this class was generated from the following files:
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.