kalarm
alarmlistdelegate.cpp
Go to the documentation of this file.
41 void AlarmListDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const
55 KColorScheme::adjustForeground(opt.palette, KColorScheme::InactiveText, QPalette::HighlightedText, KColorScheme::Selection);
104 QSize AlarmListDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const
140 KAlarm::editAlarm(event, static_cast<AlarmListView*>(view)); // edit alarm (view-only mode if archived or read-only)
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
Definition: eventlistview.h:37
time_t date() const
virtual int pixelMetric(PixelMetric metric, const QStyleOption *option, const QWidget *widget) const =0
virtual void edit(KAEvent *, EventListView *)
Definition: alarmlistdelegate.cpp:138
T value() const
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
virtual bool event(QEvent *e)
bool isValid() const
virtual void drawDisplay(QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QString &text) const
int left() const
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: akonadimodel.h:65
Definition: eventlistmodel.h:54
const QAbstractItemModel * model() const
virtual void paint(QPainter *, const QStyleOptionViewItem &, const QModelIndex &) const
Definition: alarmlistdelegate.cpp:41
QString mid(int position, int n) const
QVariant data(int role) const
QStyle * style()
miscellaneous functions
int column() const
bool toBool() const
QString left(int n) const
bool isValid() const
virtual QSize sizeHint(const QStyleOptionViewItem &, const QModelIndex &) const
Definition: alarmlistdelegate.cpp:104
QString toString() const
void setLeft(int x)
Definition: itemlistmodel.h:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:51 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:34:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.