kget
RangeTreeWidget Class Reference
#include <rangetreewidget.h>

Detailed Description
Definition at line 40 of file rangetreewidget.h.
Public Slots | |
| void | removeRow (int row, const QModelIndex &parent=QModelIndex()) |
| void | setFilterRegExp (const QString &text) |
Public Member Functions | |
| void | add (const QVariant &data, const QVariantList &columns) |
| void | add (const QVariant &data, const QString &column) |
| void | addLabel (const QString &title) |
| int | addRange (const QVariant &min, const QVariant &max, const QString &title) |
| void | clear () |
| QStandardItem * | currentItem (int column=-1) |
| QList< QVariantList > | data () |
| QStandardItem * | item (const QModelIndex &index=QModelIndex(), int column=0) |
| RangeTreeWidget (QWidget *parent=0) | |
| void | setLabels (const QStringList &labels) |
| void | setRangeDelegate (RangeDelegate *delegate) |
| ~RangeTreeWidget () | |
Constructor & Destructor Documentation
| RangeTreeWidget::RangeTreeWidget | ( | QWidget * | parent = 0 |
) |
Definition at line 81 of file rangetreewidget.cpp.
| RangeTreeWidget::~RangeTreeWidget | ( | ) |
Definition at line 103 of file rangetreewidget.cpp.
Member Function Documentation
| void RangeTreeWidget::add | ( | const QVariant & | data, | |
| const QVariantList & | columns | |||
| ) |
Definition at line 156 of file rangetreewidget.cpp.
Definition at line 148 of file rangetreewidget.cpp.
| void RangeTreeWidget::addLabel | ( | const QString & | title | ) |
Definition at line 171 of file rangetreewidget.cpp.
Creates a range with a title between two values.
Definition at line 117 of file rangetreewidget.cpp.
| void RangeTreeWidget::clear | ( | ) |
Definition at line 141 of file rangetreewidget.cpp.
| QStandardItem * RangeTreeWidget::currentItem | ( | int | column = -1 |
) |
Definition at line 214 of file rangetreewidget.cpp.
| QList< QVariantList > RangeTreeWidget::data | ( | ) |
Definition at line 195 of file rangetreewidget.cpp.
| QStandardItem * RangeTreeWidget::item | ( | const QModelIndex & | index = QModelIndex(), |
|
| int | column = 0 | |||
| ) |
Definition at line 228 of file rangetreewidget.cpp.
| void RangeTreeWidget::removeRow | ( | int | row, | |
| const QModelIndex & | parent = QModelIndex() | |||
| ) | [slot] |
Definition at line 233 of file rangetreewidget.cpp.
| void RangeTreeWidget::setFilterRegExp | ( | const QString & | text | ) | [slot] |
Filters the data throws the qsortfilterproxymodel.
Definition at line 238 of file rangetreewidget.cpp.
| void RangeTreeWidget::setLabels | ( | const QStringList & | labels | ) |
Definition at line 178 of file rangetreewidget.cpp.
| void RangeTreeWidget::setRangeDelegate | ( | RangeDelegate * | delegate | ) |
Set a delegate in case you want to create the ranges dinamically Ej, the host ranges delegate.
Definition at line 187 of file rangetreewidget.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference