QGIS API Documentation  2.6.0-Brighton
 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 ()
- 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
< QgsInvertedPolygonRenderer
mRenderer
 the mask renderer
QScopedPointer
< QgsRendererV2Widget
mEmbeddedRendererWidget
 the widget used to represent the mask's embedded renderer
- 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 ()

Detailed Description

A widget used represent options of a QgsInvertedPolygonRenderer.

Note
added in 2.4

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)

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)
QgsFeatureRendererV2 * QgsInvertedPolygonRendererWidget::renderer ( )
virtual
Returns
the current feature renderer

Implements QgsRendererV2Widget.

Member Data Documentation

QScopedPointer<QgsRendererV2Widget> QgsInvertedPolygonRendererWidget::mEmbeddedRendererWidget
protected

the widget used to represent the mask's embedded renderer

QScopedPointer<QgsInvertedPolygonRenderer> QgsInvertedPolygonRendererWidget::mRenderer
protected

the mask renderer


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