QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
QgsSingleSymbolRendererV2Widget Class Reference

#include <qgssinglesymbolrendererv2widget.h>

Inheritance diagram for QgsSingleSymbolRendererV2Widget:
Inheritance graph

Public Slots

void changeSingleSymbol ()
void rotationFieldChanged (QString fldName)
void scaleMethodChanged (QgsSymbolV2::ScaleMethod scaleMethod)
void showSymbolLevels ()
void sizeScaleFieldChanged (QString fldName)

Public Member Functions

 QgsSingleSymbolRendererV2Widget (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)
 ~QgsSingleSymbolRendererV2Widget ()
virtual QgsFeatureRendererV2renderer () 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 QgsRendererV2Widgetcreate (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)

Protected Attributes

- Protected Attributes inherited from QgsRendererV2Widget
QMenu * contextMenu
QAction * mCopyAction
QAction * mPasteAction

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 ()
- Protected Member Functions inherited from QgsRendererV2Widget
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&)

Detailed Description

Definition at line 25 of file qgssinglesymbolrendererv2widget.h.

Constructor & Destructor Documentation

QgsSingleSymbolRendererV2Widget::QgsSingleSymbolRendererV2Widget ( QgsVectorLayer layer,
QgsStyleV2 style,
QgsFeatureRendererV2 renderer 

Definition at line 32 of file qgssinglesymbolrendererv2widget.cpp.

QgsSingleSymbolRendererV2Widget::~QgsSingleSymbolRendererV2Widget ( )

Definition at line 74 of file qgssinglesymbolrendererv2widget.cpp.

Member Function Documentation

void QgsSingleSymbolRendererV2Widget::changeSingleSymbol ( )

Definition at line 91 of file qgssinglesymbolrendererv2widget.cpp.

QgsRendererV2Widget * QgsSingleSymbolRendererV2Widget::create ( QgsVectorLayer layer,
QgsStyleV2 style,
QgsFeatureRendererV2 renderer 

Definition at line 27 of file qgssinglesymbolrendererv2widget.cpp.

QgsFeatureRendererV2 * QgsSingleSymbolRendererV2Widget::renderer ( )

return pointer to the renderer (no transfer of ownership)

Implements QgsRendererV2Widget.

Definition at line 86 of file qgssinglesymbolrendererv2widget.cpp.

void QgsSingleSymbolRendererV2Widget::rotationFieldChanged ( QString  fldName)

Definition at line 97 of file qgssinglesymbolrendererv2widget.cpp.

void QgsSingleSymbolRendererV2Widget::scaleMethodChanged ( QgsSymbolV2::ScaleMethod  scaleMethod)

Definition at line 107 of file qgssinglesymbolrendererv2widget.cpp.

void QgsSingleSymbolRendererV2Widget::showSymbolLevels ( )

Definition at line 118 of file qgssinglesymbolrendererv2widget.cpp.

void QgsSingleSymbolRendererV2Widget::sizeScaleFieldChanged ( QString  fldName)

Definition at line 102 of file qgssinglesymbolrendererv2widget.cpp.

Member Data Documentation

QgsRendererV2DataDefinedMenus* QgsSingleSymbolRendererV2Widget::mDataDefinedMenus

Definition at line 52 of file qgssinglesymbolrendererv2widget.h.

QgsSingleSymbolRendererV2* QgsSingleSymbolRendererV2Widget::mRenderer

Definition at line 48 of file qgssinglesymbolrendererv2widget.h.

QgsSymbolV2SelectorDialog* QgsSingleSymbolRendererV2Widget::mSelector

Definition at line 49 of file qgssinglesymbolrendererv2widget.h.

QgsSymbolV2* QgsSingleSymbolRendererV2Widget::mSingleSymbol

Definition at line 50 of file qgssinglesymbolrendererv2widget.h.

The documentation for this class was generated from the following files: