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

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 ()
 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

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

Additional Inherited Members

- Protected Slots inherited from QgsRendererV2Widget
void changeSymbolColor ()
 Change color of selected symbols. More...
 
void changeSymbolSize ()
 Change marker sizes 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 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&) More...
 

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 73 of file qgssinglesymbolrendererv2widget.cpp.

Member Function Documentation

void QgsSingleSymbolRendererV2Widget::changeSingleSymbol ( )
slot

Definition at line 90 of file qgssinglesymbolrendererv2widget.cpp.

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

Definition at line 27 of file qgssinglesymbolrendererv2widget.cpp.

QgsFeatureRendererV2 * QgsSingleSymbolRendererV2Widget::renderer ( )
virtual

return pointer to the renderer (no transfer of ownership)

Implements QgsRendererV2Widget.

Definition at line 85 of file qgssinglesymbolrendererv2widget.cpp.

void QgsSingleSymbolRendererV2Widget::rotationFieldChanged ( QString  fldName)
slot

Definition at line 96 of file qgssinglesymbolrendererv2widget.cpp.

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

Definition at line 106 of file qgssinglesymbolrendererv2widget.cpp.

void QgsSingleSymbolRendererV2Widget::showSymbolLevels ( )
slot

Definition at line 117 of file qgssinglesymbolrendererv2widget.cpp.

void QgsSingleSymbolRendererV2Widget::sizeScaleFieldChanged ( QString  fldName)
slot

Definition at line 101 of file qgssinglesymbolrendererv2widget.cpp.

Member Data Documentation

QgsRendererV2DataDefinedMenus* QgsSingleSymbolRendererV2Widget::mDataDefinedMenus
protected

Definition at line 52 of file qgssinglesymbolrendererv2widget.h.

QgsSingleSymbolRendererV2* QgsSingleSymbolRendererV2Widget::mRenderer
protected

Definition at line 48 of file qgssinglesymbolrendererv2widget.h.

QgsSymbolV2SelectorDialog* QgsSingleSymbolRendererV2Widget::mSelector
protected

Definition at line 49 of file qgssinglesymbolrendererv2widget.h.

QgsSymbolV2* QgsSingleSymbolRendererV2Widget::mSingleSymbol
protected

Definition at line 50 of file qgssinglesymbolrendererv2widget.h.


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