akonadi_next
#include <quotacolorproxymodel.h>
Public Member Functions | |
QuotaColorProxyModel (QObject *parent=0) | |
virtual | ~QuotaColorProxyModel () |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
virtual void | setSourceModel (QAbstractItemModel *sourceModel) |
void | setWarningColor (const QColor &color) |
void | setWarningThreshold (qreal threshold) |
QColor | warningColor () const |
qreal | warningThreshold () const |
Detailed Description
A proxy model that colors collection text if they're above a given quota threshold.
- Since
- 4.4
Definition at line 48 of file quotacolorproxymodel.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new quota color proxy model.
- Parameters
-
parent The parent object.
Definition at line 49 of file quotacolorproxymodel.cpp.
|
virtual |
Destroys the statistics tooltip proxy model.
Definition at line 55 of file quotacolorproxymodel.cpp.
Member Function Documentation
|
virtual |
Definition at line 80 of file quotacolorproxymodel.cpp.
|
virtual |
Definition at line 103 of file quotacolorproxymodel.cpp.
void QuotaColorProxyModel::setWarningColor | ( | const QColor & | color | ) |
Definition at line 70 of file quotacolorproxymodel.cpp.
void QuotaColorProxyModel::setWarningThreshold | ( | qreal | threshold | ) |
Definition at line 60 of file quotacolorproxymodel.cpp.
QColor QuotaColorProxyModel::warningColor | ( | ) | const |
Definition at line 75 of file quotacolorproxymodel.cpp.
qreal QuotaColorProxyModel::warningThreshold | ( | ) | const |
Definition at line 65 of file quotacolorproxymodel.cpp.
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:31:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.