QGIS API Documentation  2.9.0-Master
 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 on_methodComboBox_currentIndexChanged (int)
void on_mSizeUnitWidget_changed ()
void rangesClicked (const QModelIndex &idx)
void rangesDoubleClicked (const QModelIndex &idx)
void reapplyColorRamp ()
void reapplySizes ()
void refreshRanges (bool reset=false)
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 changeSymbolAngle ()
 Change marker angles of selected symbols.
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 382 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsGraduatedSymbolRendererV2Widget::~QgsGraduatedSymbolRendererV2Widget ( )

Definition at line 492 of file qgsgraduatedsymbolrendererv2widget.cpp.

Member Function Documentation

void QgsGraduatedSymbolRendererV2Widget::addClass ( )
slot

Adds a class manually to the classification.

Definition at line 915 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeCurrentValue ( QStandardItem *  item)
slot

Definition at line 979 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeGraduatedSymbol ( )
slot

Definition at line 743 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeRange ( int  rangeIdx)
protected

Definition at line 879 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeRangeSymbol ( int  rangeIdx)
protected

Definition at line 864 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeSelectedSymbols ( )
protected

Definition at line 836 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::classifyGraduated ( )
slot

Definition at line 652 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::connectUpdateHandlers ( )
protected

Definition at line 505 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 377 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::deleteAllClasses ( )
slot

Removes all classes from the classification.

Definition at line 928 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::deleteClasses ( )
slot

Removes currently selected classes.

Definition at line 921 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::disconnectUpdateHandlers ( )
protected

Definition at line 523 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 1045 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::graduatedColumnChanged ( QString  field)
slot

Definition at line 613 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::keyPressEvent ( QKeyEvent *  event)
overrideprotected

Definition at line 1084 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::labelFormatChanged ( )
slot

Definition at line 1004 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::modelDataChanged ( )
slot

Definition at line 1080 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::on_methodComboBox_currentIndexChanged ( int  idx)
slot

Definition at line 618 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::on_mSizeUnitWidget_changed ( )
slot

Definition at line 482 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 828 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 820 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::reapplyColorRamp ( )
slot

Definition at line 725 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::reapplySizes ( )
slot

Definition at line 736 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::refreshRanges ( bool  reset = false)
slot

Definition at line 644 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::refreshSymbolView ( )
overrideprotectedvirtual

Reimplemented from QgsRendererV2Widget.

Definition at line 1058 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsFeatureRendererV2 * QgsGraduatedSymbolRendererV2Widget::renderer ( )
overridevirtual

return pointer to the renderer (no transfer of ownership)

Implements QgsRendererV2Widget.

Definition at line 498 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::rotationFieldChanged ( QString  fldName)
slot

Definition at line 989 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::rowsMoved ( )
slot

Definition at line 1071 of file qgsgraduatedsymbolrendererv2widget.cpp.

bool QgsGraduatedSymbolRendererV2Widget::rowsOrdered ( )
protected

Definition at line 934 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 999 of file qgsgraduatedsymbolrendererv2widget.cpp.

QList< int > QgsGraduatedSymbolRendererV2Widget::selectedClasses ( )
protected

return a list of indexes for the classes under selection

Definition at line 792 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsRangeList QgsGraduatedSymbolRendererV2Widget::selectedRanges ( )
protected

Definition at line 807 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 1015 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::showSymbolLevels ( )
slot

Definition at line 1066 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::sizeScaleFieldChanged ( QString  fldName)
slot

Definition at line 994 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::toggleBoundariesLink ( bool  linked)
slot

Toggle the link between classes boundaries.

Definition at line 949 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::updateGraduatedSymbolIcon ( )
protected

Definition at line 776 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 539 of file qgsgraduatedsymbolrendererv2widget.cpp.

Member Data Documentation

QgsRangeList QgsGraduatedSymbolRendererV2Widget::mCopyBuffer
protected

Definition at line 150 of file qgsgraduatedsymbolrendererv2widget.h.

QgsRendererV2DataDefinedMenus* QgsGraduatedSymbolRendererV2Widget::mDataDefinedMenus
protected

Definition at line 146 of file qgsgraduatedsymbolrendererv2widget.h.

QgsSymbolV2* QgsGraduatedSymbolRendererV2Widget::mGraduatedSymbol
protected

Definition at line 142 of file qgsgraduatedsymbolrendererv2widget.h.

QgsGraduatedSymbolRendererV2Model* QgsGraduatedSymbolRendererV2Widget::mModel
protected

Definition at line 148 of file qgsgraduatedsymbolrendererv2widget.h.

QgsGraduatedSymbolRendererV2* QgsGraduatedSymbolRendererV2Widget::mRenderer
protected

Definition at line 140 of file qgsgraduatedsymbolrendererv2widget.h.

int QgsGraduatedSymbolRendererV2Widget::mRowSelected
protected

Definition at line 144 of file qgsgraduatedsymbolrendererv2widget.h.


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