QGIS API Documentation  2.6.0-Brighton
 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

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: