QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsNumericSortTreeWidgetItem Class Reference

QTreeWidgetItem that can sort numerically (as opposed to just lexigraphically) More...

#include <qgsnumericsortlistviewitem.h>

Public Member Functions

 QgsNumericSortTreeWidgetItem (QTreeWidget *parent)
 Constructor.
 QgsNumericSortTreeWidgetItem (QTreeWidgetItem *parent)
virtual ~QgsNumericSortTreeWidgetItem ()
 Destructor.
virtual bool operator< (const QTreeWidgetItem &other) const

Detailed Description

QTreeWidgetItem that can sort numerically (as opposed to just lexigraphically)

This class extends the Qt QTreeWidgetItem concept by reimplementing QTreeWidgetItem::operator< to allow numeric comparisons

TODO: Make it work

Definition at line 36 of file qgsnumericsortlistviewitem.h.

Constructor & Destructor Documentation

QgsNumericSortTreeWidgetItem::QgsNumericSortTreeWidgetItem ( QTreeWidget *  parent)

Constructor.

Definition at line 23 of file qgsnumericsortlistviewitem.cpp.

QgsNumericSortTreeWidgetItem::QgsNumericSortTreeWidgetItem ( QTreeWidgetItem *  parent)

Definition at line 29 of file qgsnumericsortlistviewitem.cpp.

QgsNumericSortTreeWidgetItem::~QgsNumericSortTreeWidgetItem ( )
virtual

Destructor.

Definition at line 35 of file qgsnumericsortlistviewitem.cpp.

Member Function Documentation

bool QgsNumericSortTreeWidgetItem::operator< ( const QTreeWidgetItem &  other) const
virtual

Definition at line 40 of file qgsnumericsortlistviewitem.cpp.


The documentation for this class was generated from the following files: