1
/***************************************************************************
2
qgslegendvectorsymbologyitem.cpp - 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
#include "qgslegendvectorsymbologyitem.h"
20
QgsLegendVectorSymbologyItem::QgsLegendVectorSymbologyItem(QTreeWidgetItem * theItem, QString col1, int pixmapWidth, int pixmapHeight)
21
: QgsLegendSymbologyItem(theItem, col1, pixmapWidth, pixmapHeight)
23
mType = LEGEND_VECTOR_SYMBOL_ITEM;
26
void QgsLegendVectorSymbologyItem::addSymbol(QgsSymbol* s)
28
mSymbols.push_back(s);
31
void QgsLegendVectorSymbologyItem::handleDoubleClickEvent()
34
qWarning("in QgsLegendVectorSymbologyItem::handleDoubleClickEvent");
36
//todo: show the dialog
38
//std::list<QgsSymbol*>::iterator iter = mSymbols.begin();