QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 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)
- 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

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.
void changeSymbolTransparency ()
 Change opacity of selected symbols.
void changeSymbolUnit ()
 Change units mm/map units of selected symbols.
void changeSymbolWidth ()
 Change line widths of selected symbols.
void changeSymbolSize ()
 Change marker sizes of selected symbols.
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&)
virtual void refreshSymbolView ()

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.

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: