QGIS API Documentation
2.8.2-Wien
|
Base class for renderer settings widgets. More...
#include <qgsrendererv2widget.h>
Public Member Functions | |
QgsRendererV2Widget (QgsVectorLayer *layer, QgsStyleV2 *style) | |
virtual | ~QgsRendererV2Widget () |
virtual QgsFeatureRendererV2 * | renderer ()=0 |
return pointer to the renderer (no transfer of ownership) | |
void | showSymbolLevelsDialog (QgsFeatureRendererV2 *r) |
show a dialog with renderer's symbol level settings |
Protected Slots | |
void | changeSymbolColor () |
Change color of selected symbols. | |
void | changeSymbolSize () |
Change marker sizes of selected symbols. | |
void | changeSymbolTransparency () |
Change opacity of selected symbols. | |
void | changeSymbolUnit () |
Change units mm/map units of selected symbols. | |
void | changeSymbolWidth () |
Change line widths of selected symbols. | |
void | contextMenuViewCategories (const QPoint &p) |
virtual void | copy () |
virtual void | paste () |
Protected Member Functions | |
virtual void | refreshSymbolView () |
virtual QList< QgsSymbolV2 * > | selectedSymbols () |
Subclasses may provide the capability of changing multiple symbols at once by implementing the following two methods and by connecting the slot contextMenuViewCategories(const QPoint&) |
Protected Attributes | |
QMenu * | contextMenu |
QAction * | mCopyAction |
QgsVectorLayer * | mLayer |
QAction * | mPasteAction |
QgsStyleV2 * | mStyle |
Base class for renderer settings widgets.
WORKFLOW:
Definition at line 38 of file qgsrendererv2widget.h.
QgsRendererV2Widget::QgsRendererV2Widget | ( | QgsVectorLayer * | layer, |
QgsStyleV2 * | style | ||
) |
Definition at line 27 of file qgsrendererv2widget.cpp.
|
inlinevirtual |
Definition at line 44 of file qgsrendererv2widget.h.
|
protectedslot |
Change color of selected symbols.
Definition at line 57 of file qgsrendererv2widget.cpp.
|
protectedslot |
Change marker sizes of selected symbols.
Definition at line 147 of file qgsrendererv2widget.cpp.
|
protectedslot |
Change opacity of selected symbols.
Definition at line 77 of file qgsrendererv2widget.cpp.
|
protectedslot |
Change units mm/map units of selected symbols.
Definition at line 99 of file qgsrendererv2widget.cpp.
|
protectedslot |
Change line widths of selected symbols.
Definition at line 123 of file qgsrendererv2widget.cpp.
|
protectedslot |
Definition at line 52 of file qgsrendererv2widget.cpp.
|
inlineprotectedvirtualslot |
Definition at line 77 of file qgsrendererv2widget.h.
|
inlineprotectedvirtualslot |
Definition at line 78 of file qgsrendererv2widget.h.
|
inlineprotectedvirtual |
Reimplemented in QgsRuleBasedRendererV2Widget, QgsGraduatedSymbolRendererV2Widget, and QgsCategorizedSymbolRendererV2Widget.
Definition at line 62 of file qgsrendererv2widget.h.
|
pure virtual |
return pointer to the renderer (no transfer of ownership)
Implemented in QgsRuleBasedRendererV2Widget, QgsGraduatedSymbolRendererV2Widget, QgsCategorizedSymbolRendererV2Widget, QgsInvertedPolygonRendererWidget, QgsHeatmapRendererWidget, QgsSingleSymbolRendererV2Widget, and QgsPointDisplacementRendererWidget.
|
inlineprotectedvirtual |
Subclasses may provide the capability of changing multiple symbols at once by implementing the following two methods and by connecting the slot contextMenuViewCategories(const QPoint&)
Reimplemented in QgsRuleBasedRendererV2Widget, QgsGraduatedSymbolRendererV2Widget, and QgsCategorizedSymbolRendererV2Widget.
Definition at line 61 of file qgsrendererv2widget.h.
void QgsRendererV2Widget::showSymbolLevelsDialog | ( | QgsFeatureRendererV2 * | r | ) |
show a dialog with renderer's symbol level settings
Definition at line 172 of file qgsrendererv2widget.cpp.
|
protected |
Definition at line 55 of file qgsrendererv2widget.h.
|
protected |
Definition at line 56 of file qgsrendererv2widget.h.
|
protected |
Definition at line 53 of file qgsrendererv2widget.h.
|
protected |
Definition at line 57 of file qgsrendererv2widget.h.
|
protected |
Definition at line 54 of file qgsrendererv2widget.h.