QGIS API Documentation
2.6.0-Brighton
|
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 | contextMenuViewCategories (const QPoint &p) |
void | changeSymbolColor () |
Change color 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 | changeSymbolSize () |
Change marker sizes of selected symbols. | |
virtual void | copy () |
virtual void | paste () |
Protected Member Functions | |
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&) | |
virtual void | refreshSymbolView () |
Protected Attributes | |
QgsVectorLayer * | mLayer |
QgsStyleV2 * | mStyle |
QMenu * | contextMenu |
QAction * | mCopyAction |
QAction * | mPasteAction |
Base class for renderer settings widgets.
WORKFLOW:
QgsRendererV2Widget::QgsRendererV2Widget | ( | QgsVectorLayer * | layer, |
QgsStyleV2 * | style | ||
) |
|
inlinevirtual |
|
protectedslot |
Change color of selected symbols.
|
protectedslot |
Change marker sizes of selected symbols.
|
protectedslot |
Change opacity of selected symbols.
|
protectedslot |
Change units mm/map units of selected symbols.
|
protectedslot |
Change line widths of selected symbols.
|
protectedslot |
|
inlineprotectedvirtualslot |
|
inlineprotectedvirtualslot |
|
inlineprotectedvirtual |
Reimplemented in QgsRuleBasedRendererV2Widget, QgsGraduatedSymbolRendererV2Widget, and QgsCategorizedSymbolRendererV2Widget.
|
pure virtual |
return pointer to the renderer (no transfer of ownership)
Implemented in QgsRuleBasedRendererV2Widget, QgsGraduatedSymbolRendererV2Widget, QgsCategorizedSymbolRendererV2Widget, QgsInvertedPolygonRendererWidget, 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.
void QgsRendererV2Widget::showSymbolLevelsDialog | ( | QgsFeatureRendererV2 * | r | ) |
show a dialog with renderer's symbol level settings
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |