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

Utility class for providing GUI for data-defined rendering. More...

#include <qgsrendererv2widget.h>

Public Slots

void rotationFieldSelected (QAction *a)
void scaleMethodSelected (QAction *a)
void sizeScaleFieldSelected (QAction *a)

Signals

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

Public Member Functions

 QgsRendererV2DataDefinedMenus (QMenu *menu, QgsVectorLayer *layer, QString rotationField, QString sizeScaleField, QgsSymbolV2::ScaleMethod scaleMethod)
 ~QgsRendererV2DataDefinedMenus ()
void populateMenu (QMenu *menu, QString fieldName, QActionGroup *actionGroup)

Protected Attributes

QgsVectorLayermLayer
QActionGroup * mRotationAttributeActionGroup
QMenu * mRotationMenu
QActionGroup * mSizeAttributeActionGroup
QActionGroup * mSizeMethodActionGroup
QMenu * mSizeScaleMenu

Detailed Description

Utility class for providing GUI for data-defined rendering.

Definition at line 95 of file qgsrendererv2widget.h.

Constructor & Destructor Documentation

QgsRendererV2DataDefinedMenus::QgsRendererV2DataDefinedMenus ( QMenu *  menu,
QgsVectorLayer layer,
QString  rotationField,
QString  sizeScaleField,
QgsSymbolV2::ScaleMethod  scaleMethod 
)

Definition at line 191 of file qgsrendererv2widget.cpp.

QgsRendererV2DataDefinedMenus::~QgsRendererV2DataDefinedMenus ( )

Definition at line 231 of file qgsrendererv2widget.cpp.

Member Function Documentation

void QgsRendererV2DataDefinedMenus::populateMenu ( QMenu *  menu,
QString  fieldName,
QActionGroup *  actionGroup 
)

Definition at line 240 of file qgsrendererv2widget.cpp.

void QgsRendererV2DataDefinedMenus::rotationFieldChanged ( QString  fldName)
signal
void QgsRendererV2DataDefinedMenus::rotationFieldSelected ( QAction *  a)
slot

Definition at line 284 of file qgsrendererv2widget.cpp.

void QgsRendererV2DataDefinedMenus::scaleMethodChanged ( QgsSymbolV2::ScaleMethod  scaleMethod)
signal
void QgsRendererV2DataDefinedMenus::scaleMethodSelected ( QAction *  a)
slot

Definition at line 338 of file qgsrendererv2widget.cpp.

void QgsRendererV2DataDefinedMenus::sizeScaleFieldChanged ( QString  fldName)
signal
void QgsRendererV2DataDefinedMenus::sizeScaleFieldSelected ( QAction *  a)
slot

Definition at line 311 of file qgsrendererv2widget.cpp.

Member Data Documentation

QgsVectorLayer* QgsRendererV2DataDefinedMenus::mLayer
protected

Definition at line 126 of file qgsrendererv2widget.h.

QActionGroup* QgsRendererV2DataDefinedMenus::mRotationAttributeActionGroup
protected

Definition at line 124 of file qgsrendererv2widget.h.

QMenu* QgsRendererV2DataDefinedMenus::mRotationMenu
protected

Definition at line 121 of file qgsrendererv2widget.h.

QActionGroup* QgsRendererV2DataDefinedMenus::mSizeAttributeActionGroup
protected

Definition at line 125 of file qgsrendererv2widget.h.

QActionGroup* QgsRendererV2DataDefinedMenus::mSizeMethodActionGroup
protected

Definition at line 123 of file qgsrendererv2widget.h.

QMenu* QgsRendererV2DataDefinedMenus::mSizeScaleMenu
protected

Definition at line 122 of file qgsrendererv2widget.h.


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