QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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. More...
 
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 More...
 

Static Public Member Functions

static QgsRendererV2Widgetcreate (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)
 static creation method More...
 

Protected Attributes

QScopedPointer
< QgsRendererV2Widget
mEmbeddedRendererWidget
 the widget used to represent the mask's embedded renderer More...
 
QScopedPointer
< QgsInvertedPolygonRenderer
mRenderer
 the mask renderer More...
 
- 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

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