QGIS API Documentation
2.8.2-Wien
|
#include <qgscategorizedsymbolrendererv2widget.h>
Public Slots | |
void | addCategories () |
void | addCategory () |
void | applyColorRamp () |
void | categoriesDoubleClicked (const QModelIndex &idx) |
void | categoryColumnChanged (QString field) |
void | changeCategorizedSymbol () |
void | deleteAllCategories () |
void | deleteCategories () |
void | rotationFieldChanged (QString fldName) |
void | rowsMoved () |
void | scaleMethodChanged (QgsSymbolV2::ScaleMethod scaleMethod) |
void | showSymbolLevels () |
void | sizeScaleFieldChanged (QString fldName) |
Public Member Functions | |
QgsCategorizedSymbolRendererV2Widget (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer) | |
~QgsCategorizedSymbolRendererV2Widget () | |
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 Member Functions | |
void | changeCategorySymbol () |
void | changeSelectedSymbols () |
change the selected symbols alone for the change button, if there is a selection | |
int | currentCategoryRow () |
return row index for the currently selected category (-1 if on no selection) | |
QgsVectorColorRampV2 * | getColorRamp () |
void | keyPressEvent (QKeyEvent *event) override |
void | populateCategories () |
void | refreshSymbolView () override |
QList< int > | selectedCategories () |
return a list of indexes for the categories unders selection | |
QgsCategoryList | selectedCategoryList () |
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&) | |
void | updateCategorizedSymbolIcon () |
void | updateUiFromRenderer () |
Protected Attributes | |
QgsSymbolV2 * | mCategorizedSymbol |
QgsRendererV2DataDefinedMenus * | mDataDefinedMenus |
QgsCategorizedSymbolRendererV2Model * | mModel |
QgsCategorizedSymbolRendererV2 * | mRenderer |
Protected Attributes inherited from QgsRendererV2Widget | |
QMenu * | contextMenu |
QAction * | mCopyAction |
QgsVectorLayer * | mLayer |
QAction * | mPasteAction |
QgsStyleV2 * | mStyle |
Additional Inherited Members | |
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 () |
Definition at line 72 of file qgscategorizedsymbolrendererv2widget.h.
QgsCategorizedSymbolRendererV2Widget::QgsCategorizedSymbolRendererV2Widget | ( | QgsVectorLayer * | layer, |
QgsStyleV2 * | style, | ||
QgsFeatureRendererV2 * | renderer | ||
) |
Definition at line 372 of file qgscategorizedsymbolrendererv2widget.cpp.
QgsCategorizedSymbolRendererV2Widget::~QgsCategorizedSymbolRendererV2Widget | ( | ) |
Definition at line 456 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 640 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 810 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 766 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 566 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 561 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 523 of file qgscategorizedsymbolrendererv2widget.cpp.
|
protected |
Definition at line 572 of file qgscategorizedsymbolrendererv2widget.cpp.
|
protected |
change the selected symbols alone for the change button, if there is a selection
Definition at line 498 of file qgscategorizedsymbolrendererv2widget.cpp.
|
static |
Definition at line 367 of file qgscategorizedsymbolrendererv2widget.cpp.
|
protected |
return row index for the currently selected category (-1 if on no selection)
Definition at line 776 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 805 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 799 of file qgscategorizedsymbolrendererv2widget.cpp.
|
protected |
Definition at line 626 of file qgscategorizedsymbolrendererv2widget.cpp.
|
overrideprotected |
Definition at line 885 of file qgscategorizedsymbolrendererv2widget.cpp.
|
protected |
Definition at line 557 of file qgscategorizedsymbolrendererv2widget.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from QgsRendererV2Widget.
Definition at line 125 of file qgscategorizedsymbolrendererv2widget.h.
|
overridevirtual |
return pointer to the renderer (no transfer of ownership)
Implements QgsRendererV2Widget.
Definition at line 493 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 818 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 880 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 828 of file qgscategorizedsymbolrendererv2widget.cpp.
|
protected |
return a list of indexes for the categories unders selection
Definition at line 784 of file qgscategorizedsymbolrendererv2widget.cpp.
|
protected |
Definition at line 857 of file qgscategorizedsymbolrendererv2widget.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 833 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 875 of file qgscategorizedsymbolrendererv2widget.cpp.
|
slot |
Definition at line 823 of file qgscategorizedsymbolrendererv2widget.cpp.
|
protected |
Definition at line 551 of file qgscategorizedsymbolrendererv2widget.cpp.
|
protected |
Definition at line 462 of file qgscategorizedsymbolrendererv2widget.cpp.
|
protected |
Definition at line 131 of file qgscategorizedsymbolrendererv2widget.h.
|
protected |
Definition at line 133 of file qgscategorizedsymbolrendererv2widget.h.
|
protected |
Definition at line 135 of file qgscategorizedsymbolrendererv2widget.h.
|
protected |
Definition at line 129 of file qgscategorizedsymbolrendererv2widget.h.