-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
qgslegendpropertygroup.h
39 lines (33 loc) · 1.49 KB
/
qgslegendpropertygroup.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/***************************************************************************
qgslegendpropertygroup.h
---------------------
begin : January 2007
copyright : (C) 2007 by Martin Dobias
email : wonder dot sk at gmail dot com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSLEGENDPROPERTYGROUP_H
#define QGSLEGENDPROPERTYGROUP_H
#include <qgslegenditem.h>
/**
container for layer properties (e.g. projection, scale dependent view)
@author Tim Sutton
*/
class QgsLegendPropertyGroup : public QgsLegendItem
{
public:
QgsLegendPropertyGroup( QTreeWidgetItem *, QString );
~QgsLegendPropertyGroup();
/** Overloads cmpare function of QListViewItem
* @note The property group must always be the first in the list
*/
int compare( QTreeWidgetItem* i, int col, bool ascending )
{ Q_UNUSED( i ); Q_UNUSED( col ); Q_UNUSED( ascending ); return -1; }
};
#endif