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

kget

Public Slots | Public Member Functions | List of all members
RangeTreeWidget Class Reference

#include <rangetreewidget.h>

Inheritance diagram for RangeTreeWidget:
Inheritance graph
[legend]

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.

void RangeTreeWidget::removeRow ( int  row,
const QModelIndex &  parent = QModelIndex() 
)
slot

Definition at line 231 of file rangetreewidget.cpp.

void RangeTreeWidget::setFilterRegExp ( const QString &  text)
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:
  • rangetreewidget.h
  • rangetreewidget.cpp
This file is part of the KDE documentation.
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.

kget

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal