Eventviews
monthitem.h
326 EVENTVIEWS_NO_EXPORT void setNewDates(const KCalendarCore::Incidence::Ptr &incidence, int startOffset, int endOffset);
qint64 Id
A MonthGraphicsItem representing a part of an event.
Definition monthgraphicsitems.h:116
static bool greaterThan(const MonthItem *e1, const MonthItem *e2)
Compares two items to decide which to place in the view first.
Definition monthitem.cpp:217
virtual void finalizeResize(const QDate &newStartDate, const QDate &newEndDate)=0
Called after a resize operation.
virtual QColor frameColor() const =0
Returns the frame color of the item.
MonthScene * monthScene() const
Returns the associated month scene to this item.
Definition monthitem.h:121
QDate endDate() const
The end date of the incidence, generally realEndDate.
Definition monthitem.cpp:193
virtual bool isMoveable() const =0
Returns true if the item can be moved.
virtual QDate realEndDate() const =0
This is the real end date, usually the end date of the incidence.
virtual QColor bgColor() const =0
Returns the background color of the item.
virtual QString toolTipText(const QDate &date) const =0
Returns the text for the tooltip of the item.
virtual QList< QPixmap > icons() const =0
Returns a list of pixmaps to draw next to the items.
QDate startDate() const
The start date of the incidence, generally realStartDate.
Definition monthitem.cpp:184
virtual QString text(bool end) const =0
Returns the text to draw in an item.
virtual void finalizeMove(const QDate &newStartDate)=0
Called after a move operation.
virtual bool greaterThanFallback(const MonthItem *other) const
Compare this event with a second one, if the former function is not able to sort them.
Definition monthitem.cpp:242
virtual bool isResizable() const =0
Returns true if the item can be resized.
virtual QDate realStartDate() const =0
This is the real start date, usually the start date of the incidence.
QSharedPointer< Incidence > Ptr
Namespace EventViews provides facilities for displaying incidences, including events,...
Definition agenda.h:33
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:28 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:28 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.