QGIS API Documentation  2.5.0-Master
 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>

Inheritance diagram for QgsRendererV2DataDefinedMenus:
Inheritance graph
[legend]
Collaboration diagram for QgsRendererV2DataDefinedMenus:
Collaboration graph
[legend]

Public Slots

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

Signals

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

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

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

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 
)
QgsRendererV2DataDefinedMenus::~QgsRendererV2DataDefinedMenus ( )

Member Function Documentation

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

Referenced by rotationFieldSelected().

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

Referenced by scaleMethodSelected().

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

Referenced by sizeScaleFieldSelected().

void QgsRendererV2DataDefinedMenus::sizeScaleFieldSelected ( QAction *  a)
slot

Member Data Documentation

QgsVectorLayer* QgsRendererV2DataDefinedMenus::mLayer
protected
QActionGroup* QgsRendererV2DataDefinedMenus::mRotationAttributeActionGroup
protected
QMenu* QgsRendererV2DataDefinedMenus::mRotationMenu
protected
QActionGroup* QgsRendererV2DataDefinedMenus::mSizeAttributeActionGroup
protected
QActionGroup* QgsRendererV2DataDefinedMenus::mSizeMethodActionGroup
protected
QMenu* QgsRendererV2DataDefinedMenus::mSizeScaleMenu
protected

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