• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kget

RangeTreeWidget Class Reference

#include <rangetreewidget.h>

Inheritance diagram for RangeTreeWidget:

Inheritance graph
[legend]

List of all members.


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.

void RangeTreeWidget::add ( const QVariant &  data,
const QString &  column 
)

Definition at line 148 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 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:
  • rangetreewidget.h
  • rangetreewidget.cpp

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal