QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
src
gui
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
46
virtual
~
QgsNumericSortTreeWidgetItem
();
47
48
virtual
bool
operator<
(
const
QTreeWidgetItem
&other )
const override
;
49
50
};
51
52
#endif
QTreeWidget
QTreeWidgetItem::operator<
virtual bool operator<(const QTreeWidgetItem &other) const
QTreeWidgetItem
QgsNumericSortTreeWidgetItem
QTreeWidgetItem that can sort numerically (as opposed to just lexigraphically)
Definition:
qgsnumericsortlistviewitem.h:36
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13