QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Slots | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
QgsRuleBasedRendererV2Widget Class Reference

#include <qgsrulebasedrendererv2widget.h>

Inheritance diagram for QgsRuleBasedRendererV2Widget:
Inheritance graph
[legend]

Public Slots

void addRule ()
 
void editRule ()
 
void editRule (const QModelIndex &index)
 
void removeRule ()
 
void countFeatures ()
 
void clearFeatureCounts ()
 
void refineRuleScales ()
 
void refineRuleCategories ()
 
void refineRuleRanges ()
 
void setRenderingOrder ()
 
void currentRuleChanged (const QModelIndex &current=QModelIndex(), const QModelIndex &previous=QModelIndex())
 
void saveSectionWidth (int section, int oldSize, int newSize)
 
void restoreSectionWidths ()
 

Public Member Functions

 QgsRuleBasedRendererV2Widget (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)
 
 ~QgsRuleBasedRendererV2Widget ()
 
virtual QgsFeatureRendererV2renderer ()
 return pointer to the renderer (no transfer of ownership) More...
 
- 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)
 

Protected Slots

void copy ()
 
void paste ()
 
- 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

void refineRule (int type)
 
void refineRuleCategoriesGui (const QModelIndexList &index)
 
void refineRuleRangesGui (const QModelIndexList &index)
 
void refineRuleScalesGui (const QModelIndexList &index)
 
QgsRuleBasedRendererV2::RulecurrentRule ()
 
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...
 
QgsRuleBasedRendererV2::RuleList selectedRules ()
 
void refreshSymbolView ()
 
void keyPressEvent (QKeyEvent *event)
 

Protected Attributes

QgsRuleBasedRendererV2mRenderer
 
QgsRuleBasedRendererV2ModelmModel
 
QMenu * mRefineMenu
 
QAction * mDeleteAction
 
QgsRuleBasedRendererV2::RuleList mCopyBuffer
 
- Protected Attributes inherited from QgsRendererV2Widget
QgsVectorLayermLayer
 
QgsStyleV2mStyle
 
QMenu * contextMenu
 
QAction * mCopyAction
 
QAction * mPasteAction
 

Constructor & Destructor Documentation

QgsRuleBasedRendererV2Widget::QgsRuleBasedRendererV2Widget ( QgsVectorLayer layer,
QgsStyleV2 style,
QgsFeatureRendererV2 renderer 
)
QgsRuleBasedRendererV2Widget::~QgsRuleBasedRendererV2Widget ( )

Member Function Documentation

void QgsRuleBasedRendererV2Widget::addRule ( )
slot
void QgsRuleBasedRendererV2Widget::clearFeatureCounts ( )
inlineslot
void QgsRuleBasedRendererV2Widget::copy ( )
protectedslot
void QgsRuleBasedRendererV2Widget::countFeatures ( )
slot
QgsRendererV2Widget * QgsRuleBasedRendererV2Widget::create ( QgsVectorLayer layer,
QgsStyleV2 style,
QgsFeatureRendererV2 renderer 
)
static
QgsRuleBasedRendererV2::Rule * QgsRuleBasedRendererV2Widget::currentRule ( )
protected
void QgsRuleBasedRendererV2Widget::currentRuleChanged ( const QModelIndex &  current = QModelIndex(),
const QModelIndex &  previous = QModelIndex() 
)
slot
void QgsRuleBasedRendererV2Widget::editRule ( )
slot
void QgsRuleBasedRendererV2Widget::editRule ( const QModelIndex &  index)
slot
void QgsRuleBasedRendererV2Widget::keyPressEvent ( QKeyEvent *  event)
protected
void QgsRuleBasedRendererV2Widget::paste ( )
protectedslot
void QgsRuleBasedRendererV2Widget::refineRule ( int  type)
protected
void QgsRuleBasedRendererV2Widget::refineRuleCategories ( )
slot
void QgsRuleBasedRendererV2Widget::refineRuleCategoriesGui ( const QModelIndexList &  index)
protected
void QgsRuleBasedRendererV2Widget::refineRuleRanges ( )
slot
void QgsRuleBasedRendererV2Widget::refineRuleRangesGui ( const QModelIndexList &  index)
protected
void QgsRuleBasedRendererV2Widget::refineRuleScales ( )
slot
void QgsRuleBasedRendererV2Widget::refineRuleScalesGui ( const QModelIndexList &  index)
protected
void QgsRuleBasedRendererV2Widget::refreshSymbolView ( )
protectedvirtual

Reimplemented from QgsRendererV2Widget.

void QgsRuleBasedRendererV2Widget::removeRule ( )
slot
QgsFeatureRendererV2 * QgsRuleBasedRendererV2Widget::renderer ( )
virtual

return pointer to the renderer (no transfer of ownership)

Implements QgsRendererV2Widget.

void QgsRuleBasedRendererV2Widget::restoreSectionWidths ( )
slot
void QgsRuleBasedRendererV2Widget::saveSectionWidth ( int  section,
int  oldSize,
int  newSize 
)
slot
QgsRuleBasedRendererV2::RuleList QgsRuleBasedRendererV2Widget::selectedRules ( )
protected
QList< QgsSymbolV2 * > QgsRuleBasedRendererV2Widget::selectedSymbols ( )
protectedvirtual

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&)

Reimplemented from QgsRendererV2Widget.

void QgsRuleBasedRendererV2Widget::setRenderingOrder ( )
slot

Member Data Documentation

QgsRuleBasedRendererV2::RuleList QgsRuleBasedRendererV2Widget::mCopyBuffer
protected
QAction* QgsRuleBasedRendererV2Widget::mDeleteAction
protected
QgsRuleBasedRendererV2Model* QgsRuleBasedRendererV2Widget::mModel
protected
QMenu* QgsRuleBasedRendererV2Widget::mRefineMenu
protected
QgsRuleBasedRendererV2* QgsRuleBasedRendererV2Widget::mRenderer
protected

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