kget
#include <rangetreewidget.h>

Public Slots | |
void | removeRow (int row, const QModelIndex &parent=QModelIndex()) |
void | setFilterRegExp (const QString &text) |
Public Member Functions | |
RangeTreeWidget (QWidget *parent=0) | |
~RangeTreeWidget () | |
void | add (const QVariant &data, const QString &column) |
void | add (const QVariant &data, const QVariantList &columns) |
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) |
void | setLabels (const QStringList &labels) |
void | setRangeDelegate (RangeDelegate *delegate) |
Detailed Description
Definition at line 40 of file rangetreewidget.h.
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 QString & | column | ||
) |
Definition at line 148 of file rangetreewidget.cpp.
void RangeTreeWidget::add | ( | const QVariant & | data, |
const QVariantList & | columns | ||
) |
Definition at line 156 of file rangetreewidget.cpp.
void RangeTreeWidget::addLabel | ( | const QString & | title | ) |
Definition at line 171 of file rangetreewidget.cpp.
int RangeTreeWidget::addRange | ( | const QVariant & | min, |
const QVariant & | max, | ||
const QString & | title | ||
) |
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 212 of file rangetreewidget.cpp.
QList< QVariantList > RangeTreeWidget::data | ( | ) |
Definition at line 193 of file rangetreewidget.cpp.
QStandardItem * RangeTreeWidget::item | ( | const QModelIndex & | index = QModelIndex() , |
int | column = 0 |
||
) |
Definition at line 226 of file rangetreewidget.cpp.
|
slot |
Definition at line 231 of file rangetreewidget.cpp.
|
slot |
Filters the data throws the qsortfilterproxymodel.
Definition at line 236 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:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.