QGIS API Documentation  2.5.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
< QgsInvertedPolygonRenderer
mRenderer
 the mask renderer More...
 
QScopedPointer
< QgsRendererV2Widget
mEmbeddedRendererWidget
 the widget used to represent the mask's embedded renderer More...
 
- 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. 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 changeSymbolSize ()
 Change marker sizes of selected symbols. More...
 
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&) More...
 
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: