QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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>

Inheritance diagram for QgsNumericSortTreeWidgetItem:
Inheritance graph
[legend]

Public Member Functions

 QgsNumericSortTreeWidgetItem (QTreeWidget *parent)
 Constructor. More...
 
 QgsNumericSortTreeWidgetItem (QTreeWidgetItem *parent)
 
virtual ~QgsNumericSortTreeWidgetItem ()
 Destructor. More...
 
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

Constructor & Destructor Documentation

QgsNumericSortTreeWidgetItem::QgsNumericSortTreeWidgetItem ( QTreeWidget *  parent)

Constructor.

QgsNumericSortTreeWidgetItem::QgsNumericSortTreeWidgetItem ( QTreeWidgetItem *  parent)
QgsNumericSortTreeWidgetItem::~QgsNumericSortTreeWidgetItem ( )
virtual

Destructor.

Member Function Documentation

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

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