QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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>

Inheritance diagram for QgsRendererV2DataDefinedMenus:
Inheritance graph
[legend]

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 184 of file qgsrendererv2widget.cpp.

QgsRendererV2DataDefinedMenus::~QgsRendererV2DataDefinedMenus ( )

Definition at line 224 of file qgsrendererv2widget.cpp.

Member Function Documentation

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

Definition at line 233 of file qgsrendererv2widget.cpp.

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

Definition at line 277 of file qgsrendererv2widget.cpp.

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

Definition at line 331 of file qgsrendererv2widget.cpp.

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

Definition at line 304 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: