akregator
subscriptionlistdelegate.cpp
Go to the documentation of this file.
113 view->header()->resizeSection( SubscriptionListModel::UnreadCountColumn, QHeaderView::ResizeToContents );
117 view->header()->resizeSection( SubscriptionListModel::TotalCountColumn, QHeaderView::ResizeToContents );
127 QModelIndex unreadIndex = index.sibling( index.row(), SubscriptionListModel::UnreadCountColumn );
void setHeight(int height)
void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const
Definition: subscriptionlistdelegate.cpp:94
virtual void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const
void resizeSection(int logicalIndex, int size)
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: subscriptionlistdelegate.cpp:53
int toInt(bool *ok) const
bool isSectionHidden(int logicalIndex) const
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
int row() const
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
~SubscriptionListDelegate()
Definition: subscriptionlistdelegate.cpp:48
SubscriptionListDelegate(QWidget *parent=0)
Definition: subscriptionlistdelegate.cpp:39
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition: subscriptionlistdelegate.cpp:63
QVariant data(int role) const
QModelIndex sibling(int row, int column) const
int height() const
int column() const
bool toBool() const
QHeaderView * header() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 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:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.