QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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
[legend]
Collaboration diagram for QgsSingleSymbolRendererV2Widget:
Collaboration graph
[legend]

Public Slots

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

Public Member Functions

 QgsSingleSymbolRendererV2Widget (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)
 
 ~QgsSingleSymbolRendererV2Widget ()
 
virtual QgsFeatureRendererV2renderer ()
 return pointer to the renderer (no transfer of ownership) More...
 
- 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 More...
 

Static Public Member Functions

static QgsRendererV2Widgetcreate (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)
 

Protected Attributes

QgsSingleSymbolRendererV2mRenderer
 
QgsSymbolV2SelectorDialogmSelector
 
QgsSymbolV2mSingleSymbol
 
QgsRendererV2DataDefinedMenusmDataDefinedMenus
 
- Protected Attributes inherited from QgsRendererV2Widget
QgsVectorLayermLayer
 
QgsStyleV2mStyle
 
QMenu * contextMenu
 
QAction * mCopyAction
 
QAction * mPasteAction
 

Additional Inherited Members

- Protected Slots inherited from QgsRendererV2Widget
void contextMenuViewCategories (const QPoint &p)
 
void changeSymbolColor ()
 Change color of selected symbols. More...
 
void changeSymbolTransparency ()
 Change opacity of selected symbols. More...
 
void changeSymbolUnit ()
 Change units mm/map units of selected symbols. More...
 
void changeSymbolWidth ()
 Change line widths of selected symbols. More...
 
void changeSymbolSize ()
 Change marker sizes of selected symbols. More...
 
virtual void copy ()
 
virtual void paste ()
 
- Protected Member Functions inherited from QgsRendererV2Widget
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&) More...
 
virtual void refreshSymbolView ()
 

Detailed Description

Definition at line 25 of file qgssinglesymbolrendererv2widget.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void QgsSingleSymbolRendererV2Widget::changeSingleSymbol ( )
slot
QgsRendererV2Widget * QgsSingleSymbolRendererV2Widget::create ( QgsVectorLayer layer,
QgsStyleV2 style,
QgsFeatureRendererV2 renderer 
)
static
QgsFeatureRendererV2 * QgsSingleSymbolRendererV2Widget::renderer ( )
virtual

return pointer to the renderer (no transfer of ownership)

Implements QgsRendererV2Widget.

Definition at line 88 of file qgssinglesymbolrendererv2widget.cpp.

References mRenderer.

Referenced by QgsSingleSymbolRendererV2Widget().

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

Member Data Documentation

QgsRendererV2DataDefinedMenus* QgsSingleSymbolRendererV2Widget::mDataDefinedMenus
protected
QgsSingleSymbolRendererV2* QgsSingleSymbolRendererV2Widget::mRenderer
protected
QgsSymbolV2SelectorDialog* QgsSingleSymbolRendererV2Widget::mSelector
protected
QgsSymbolV2* QgsSingleSymbolRendererV2Widget::mSingleSymbol
protected

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