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

#include <qgsgraduatedsymbolrendererv2widget.h>

Inheritance diagram for QgsGraduatedSymbolRendererV2Widget:
Inheritance graph
[legend]

Public Slots

void addClass ()
 Adds a class manually to the classification.
void changeCurrentValue (QStandardItem *item)
void changeGraduatedSymbol ()
void classifyGraduated ()
void deleteAllClasses ()
 Removes all classes from the classification.
void deleteClasses ()
 Removes currently selected classes.
void graduatedColumnChanged (QString field)
void labelFormatChanged ()
void modelDataChanged ()
void rangesClicked (const QModelIndex &idx)
void rangesDoubleClicked (const QModelIndex &idx)
void reapplyColorRamp ()
void rotationFieldChanged (QString fldName)
void rowsMoved ()
void scaleMethodChanged (QgsSymbolV2::ScaleMethod scaleMethod)
void showSymbolLevels ()
void sizeScaleFieldChanged (QString fldName)
void toggleBoundariesLink (bool linked)
 Toggle the link between classes boundaries.

Public Member Functions

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

Protected Member Functions

void changeRange (int rangeIdx)
void changeRangeSymbol (int rangeIdx)
void changeSelectedSymbols ()
void connectUpdateHandlers ()
void disconnectUpdateHandlers ()
QgsSymbolV2findSymbolForRange (double lowerBound, double upperBound, const QgsRangeList &ranges) const
void keyPressEvent (QKeyEvent *event) override
void refreshSymbolView () override
bool rowsOrdered ()
QList< int > selectedClasses ()
 return a list of indexes for the classes under selection
QgsRangeList selectedRanges ()
QList< QgsSymbolV2 * > selectedSymbols () override
 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&)
void updateGraduatedSymbolIcon ()
void updateUiFromRenderer (bool updateCount=true)

Protected Attributes

QgsRangeList mCopyBuffer
QgsRendererV2DataDefinedMenusmDataDefinedMenus
QgsSymbolV2mGraduatedSymbol
QgsGraduatedSymbolRendererV2ModelmModel
QgsGraduatedSymbolRendererV2mRenderer
int mRowSelected
- 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 ()

Detailed Description

Definition at line 72 of file qgsgraduatedsymbolrendererv2widget.h.

Constructor & Destructor Documentation

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

Definition at line 375 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsGraduatedSymbolRendererV2Widget::~QgsGraduatedSymbolRendererV2Widget ( )

Definition at line 449 of file qgsgraduatedsymbolrendererv2widget.cpp.

Member Function Documentation

void QgsGraduatedSymbolRendererV2Widget::addClass ( )
slot

Adds a class manually to the classification.

Definition at line 771 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeCurrentValue ( QStandardItem *  item)
slot

Definition at line 832 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeGraduatedSymbol ( )
slot

Definition at line 606 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeRange ( int  rangeIdx)
protected

Definition at line 736 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeRangeSymbol ( int  rangeIdx)
protected

Definition at line 722 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeSelectedSymbols ( )
protected

Definition at line 694 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::classifyGraduated ( )
slot

Definition at line 545 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::connectUpdateHandlers ( )
protected

Definition at line 462 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 370 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::deleteAllClasses ( )
slot

Removes all classes from the classification.

Definition at line 782 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::deleteClasses ( )
slot

Removes currently selected classes.

Definition at line 776 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::disconnectUpdateHandlers ( )
protected

Definition at line 478 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsSymbolV2 * QgsGraduatedSymbolRendererV2Widget::findSymbolForRange ( double  lowerBound,
double  upperBound,
const QgsRangeList ranges 
) const
protected

Definition at line 898 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::graduatedColumnChanged ( QString  field)
slot

Definition at line 540 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::keyPressEvent ( QKeyEvent *  event)
overrideprotected

Definition at line 937 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::labelFormatChanged ( )
slot

Definition at line 857 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::modelDataChanged ( )
slot

Definition at line 933 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::rangesClicked ( const QModelIndex &  idx)
slot

Definition at line 686 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::rangesDoubleClicked ( const QModelIndex &  idx)
slot

Definition at line 678 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::reapplyColorRamp ( )
slot

Definition at line 596 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::refreshSymbolView ( )
overrideprotectedvirtual

Reimplemented from QgsRendererV2Widget.

Definition at line 911 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsFeatureRendererV2 * QgsGraduatedSymbolRendererV2Widget::renderer ( )
overridevirtual

return pointer to the renderer (no transfer of ownership)

Implements QgsRendererV2Widget.

Definition at line 455 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::rotationFieldChanged ( QString  fldName)
slot

Definition at line 842 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::rowsMoved ( )
slot

Definition at line 924 of file qgsgraduatedsymbolrendererv2widget.cpp.

bool QgsGraduatedSymbolRendererV2Widget::rowsOrdered ( )
protected

Definition at line 787 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::scaleMethodChanged ( QgsSymbolV2::ScaleMethod  scaleMethod)
slot

Definition at line 852 of file qgsgraduatedsymbolrendererv2widget.cpp.

QList< int > QgsGraduatedSymbolRendererV2Widget::selectedClasses ( )
protected

return a list of indexes for the classes under selection

Definition at line 650 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsRangeList QgsGraduatedSymbolRendererV2Widget::selectedRanges ( )
protected

Definition at line 665 of file qgsgraduatedsymbolrendererv2widget.cpp.

QList< QgsSymbolV2 * > QgsGraduatedSymbolRendererV2Widget::selectedSymbols ( )
overrideprotectedvirtual

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.

Definition at line 868 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::showSymbolLevels ( )
slot

Definition at line 919 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::sizeScaleFieldChanged ( QString  fldName)
slot

Definition at line 847 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::toggleBoundariesLink ( bool  linked)
slot

Toggle the link between classes boundaries.

Definition at line 802 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::updateGraduatedSymbolIcon ( )
protected

Definition at line 634 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::updateUiFromRenderer ( bool  updateCount = true)
protected

Definition at line 492 of file qgsgraduatedsymbolrendererv2widget.cpp.

Member Data Documentation

QgsRangeList QgsGraduatedSymbolRendererV2Widget::mCopyBuffer
protected

Definition at line 146 of file qgsgraduatedsymbolrendererv2widget.h.

QgsRendererV2DataDefinedMenus* QgsGraduatedSymbolRendererV2Widget::mDataDefinedMenus
protected

Definition at line 142 of file qgsgraduatedsymbolrendererv2widget.h.

QgsSymbolV2* QgsGraduatedSymbolRendererV2Widget::mGraduatedSymbol
protected

Definition at line 138 of file qgsgraduatedsymbolrendererv2widget.h.

QgsGraduatedSymbolRendererV2Model* QgsGraduatedSymbolRendererV2Widget::mModel
protected

Definition at line 144 of file qgsgraduatedsymbolrendererv2widget.h.

QgsGraduatedSymbolRendererV2* QgsGraduatedSymbolRendererV2Widget::mRenderer
protected

Definition at line 136 of file qgsgraduatedsymbolrendererv2widget.h.

int QgsGraduatedSymbolRendererV2Widget::mRowSelected
protected

Definition at line 140 of file qgsgraduatedsymbolrendererv2widget.h.


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