QGIS API Documentation
2.8.2-Wien
|
#include <qgsrulebasedrendererv2widget.h>
Public Slots | |
void | addRule () |
void | clearFeatureCounts () |
void | countFeatures () |
void | currentRuleChanged (const QModelIndex ¤t=QModelIndex(), const QModelIndex &previous=QModelIndex()) |
void | editRule () |
void | editRule (const QModelIndex &index) |
void | refineRuleCategories () |
void | refineRuleRanges () |
void | refineRuleScales () |
void | removeRule () |
void | restoreSectionWidths () |
void | saveSectionWidth (int section, int oldSize, int newSize) |
void | setRenderingOrder () |
Public Member Functions | |
QgsRuleBasedRendererV2Widget (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer) | |
~QgsRuleBasedRendererV2Widget () | |
virtual QgsFeatureRendererV2 * | renderer () override |
return pointer to the renderer (no transfer of ownership) | |
Public Member Functions inherited from QgsRendererV2Widget | |
QgsRendererV2Widget (QgsVectorLayer *layer, QgsStyleV2 *style) | |
virtual | ~QgsRendererV2Widget () |
void | showSymbolLevelsDialog (QgsFeatureRendererV2 *r) |
show a dialog with renderer's symbol level settings |
Static Public Member Functions | |
static QgsRendererV2Widget * | create (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer) |
Protected Slots | |
void | copy () override |
void | paste () override |
Protected Slots inherited from QgsRendererV2Widget | |
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 | |
QgsRuleBasedRendererV2::Rule * | currentRule () |
void | keyPressEvent (QKeyEvent *event) override |
void | refineRule (int type) |
void | refineRuleCategoriesGui (const QModelIndexList &index) |
void | refineRuleRangesGui (const QModelIndexList &index) |
void | refineRuleScalesGui (const QModelIndexList &index) |
void | refreshSymbolView () override |
QgsRuleBasedRendererV2::RuleList | selectedRules () |
QList< QgsSymbolV2 * > | selectedSymbols () override |
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 | |
QgsRuleBasedRendererV2::RuleList | mCopyBuffer |
QAction * | mDeleteAction |
QgsRuleBasedRendererV2Model * | mModel |
QMenu * | mRefineMenu |
QgsRuleBasedRendererV2 * | mRenderer |
Protected Attributes inherited from QgsRendererV2Widget | |
QMenu * | contextMenu |
QAction * | mCopyAction |
QgsVectorLayer * | mLayer |
QAction * | mPasteAction |
QgsStyleV2 * | mStyle |
Definition at line 98 of file qgsrulebasedrendererv2widget.h.
QgsRuleBasedRendererV2Widget::QgsRuleBasedRendererV2Widget | ( | QgsVectorLayer * | layer, |
QgsStyleV2 * | style, | ||
QgsFeatureRendererV2 * | renderer | ||
) |
Definition at line 46 of file qgsrulebasedrendererv2widget.cpp.
QgsRuleBasedRendererV2Widget::~QgsRuleBasedRendererV2Widget | ( | ) |
Definition at line 116 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 127 of file qgsrulebasedrendererv2widget.cpp.
|
inlineslot |
Definition at line 118 of file qgsrulebasedrendererv2widget.h.
|
overrideprotectedslot |
Definition at line 463 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 488 of file qgsrulebasedrendererv2widget.cpp.
|
static |
Definition at line 41 of file qgsrulebasedrendererv2widget.cpp.
|
protected |
Definition at line 156 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 200 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 165 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 170 of file qgsrulebasedrendererv2widget.cpp.
|
overrideprotected |
Definition at line 403 of file qgsrulebasedrendererv2widget.cpp.
|
overrideprotectedslot |
Definition at line 475 of file qgsrulebasedrendererv2widget.cpp.
|
protected |
Definition at line 217 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 239 of file qgsrulebasedrendererv2widget.cpp.
|
protected |
Definition at line 254 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 244 of file qgsrulebasedrendererv2widget.cpp.
|
protected |
Definition at line 282 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 249 of file qgsrulebasedrendererv2widget.cpp.
|
protected |
Definition at line 311 of file qgsrulebasedrendererv2widget.cpp.
|
overrideprotectedvirtual |
Reimplemented from QgsRendererV2Widget.
Definition at line 392 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 185 of file qgsrulebasedrendererv2widget.cpp.
|
overridevirtual |
return pointer to the renderer (no transfer of ownership)
Implements QgsRendererV2Widget.
Definition at line 122 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 450 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 439 of file qgsrulebasedrendererv2widget.cpp.
|
protected |
Definition at line 375 of file qgsrulebasedrendererv2widget.cpp.
|
overrideprotectedvirtual |
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 from QgsRendererV2Widget.
Definition at line 351 of file qgsrulebasedrendererv2widget.cpp.
|
slot |
Definition at line 429 of file qgsrulebasedrendererv2widget.cpp.
|
protected |
Definition at line 150 of file qgsrulebasedrendererv2widget.h.
|
protected |
Definition at line 148 of file qgsrulebasedrendererv2widget.h.
|
protected |
Definition at line 145 of file qgsrulebasedrendererv2widget.h.
|
protected |
Definition at line 147 of file qgsrulebasedrendererv2widget.h.
|
protected |
Definition at line 144 of file qgsrulebasedrendererv2widget.h.