1
/***************************************************************************
2
qgslegendvectorsymbologyitem.h - description
5
copyright : (C) 2005 by Marco Hugentobler
6
email : marco.hugentobler@autoform.ch
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
18
#ifndef QGSLEGENDVECTORSYMBOLOGYITEM_H
19
#define QGSLEGENDVECTORSYMBOLOGYITEM_H
22
#include "qgslegendsymbologyitem.h"
26
class QgsLegendVectorSymbologyItem: public QgsLegendSymbologyItem
29
QgsLegendVectorSymbologyItem(QTreeWidgetItem * theItem, QString col1, int pixmapWidth, int pixmapHeight);
30
/**Add a symbol to the list such that it will be updated if necessary*/
31
void addSymbol(QgsSymbol* s);
32
/**Brings up a single symbol dialog. The changes are then applied to all entries of mSymbols*/
33
void handleDoubleClickEvent();
35
/**Collection of pointers to the vector layer symbols associated with this item*/
36
std::list<QgsSymbol*> mSymbols;