QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
QgsInvertedPolygonRendererWidget Class Reference

A widget used represent options of a QgsInvertedPolygonRenderer. More...

#include <qgsinvertedpolygonrendererwidget.h>

Inheritance diagram for QgsInvertedPolygonRendererWidget:
Inheritance graph
[legend]

Public Member Functions

 QgsInvertedPolygonRendererWidget (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)
 Constructor.
virtual QgsFeatureRendererV2renderer () override
- 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)
 static creation method

Protected Attributes

QScopedPointer
< QgsRendererV2Widget
mEmbeddedRendererWidget
 the widget used to represent the mask's embedded renderer
QScopedPointer
< QgsInvertedPolygonRenderer
mRenderer
 the mask renderer
- 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.
void changeSymbolSize ()
 Change marker sizes 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 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&)

Detailed Description

A widget used represent options of a QgsInvertedPolygonRenderer.

Note
added in 2.4

Definition at line 29 of file qgsinvertedpolygonrendererwidget.h.

Constructor & Destructor Documentation

QgsInvertedPolygonRendererWidget::QgsInvertedPolygonRendererWidget ( QgsVectorLayer layer,
QgsStyleV2 style,
QgsFeatureRendererV2 renderer 
)

Constructor.

Parameters
layerthe layer where this renderer is applied
style
rendererthe mask renderer (will take ownership)

Definition at line 29 of file qgsinvertedpolygonrendererwidget.cpp.

Member Function Documentation

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

static creation method

Parameters
layerthe layer where this renderer is applied
style
rendererthe mask renderer (will take ownership)

Definition at line 24 of file qgsinvertedpolygonrendererwidget.cpp.

QgsFeatureRendererV2 * QgsInvertedPolygonRendererWidget::renderer ( )
overridevirtual
Returns
the current feature renderer

Implements QgsRendererV2Widget.

Definition at line 101 of file qgsinvertedpolygonrendererwidget.cpp.

Member Data Documentation

QScopedPointer<QgsRendererV2Widget> QgsInvertedPolygonRendererWidget::mEmbeddedRendererWidget
protected

the widget used to represent the mask's embedded renderer

Definition at line 55 of file qgsinvertedpolygonrendererwidget.h.

QScopedPointer<QgsInvertedPolygonRenderer> QgsInvertedPolygonRendererWidget::mRenderer
protected

the mask renderer

Definition at line 53 of file qgsinvertedpolygonrendererwidget.h.


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