QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
qgsnumericsortlistviewitem.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsnumericsortlistviewitem.h - A QListViewItem that can sort numerically
3  (as opposed to just lexigraphically)
4  -------------------
5  begin : 06 Nov, 2005
6  copyright : (C) 2005 by Brendan Morley
7  email : morb at ozemail dot com dot au
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 
20 #ifndef QGSNUMERICSORTLISTVIEWITEM_H
21 #define QGSNUMERICSORTLISTVIEWITEM_H
22 
23 #include <QTreeWidgetItem>
24 
36 class GUI_EXPORT QgsNumericSortTreeWidgetItem : public QTreeWidgetItem
37 {
38  public:
42  QgsNumericSortTreeWidgetItem( QTreeWidget * parent );
43  QgsNumericSortTreeWidgetItem( QTreeWidgetItem * parent );
44 
47 
48  virtual bool operator<( const QTreeWidgetItem &other ) const;
49 
50 };
51 
52 #endif
QTreeWidgetItem that can sort numerically (as opposed to just lexigraphically)