QGIS API Documentation  2.9.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 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. More...
 
void changeCurrentValue (QStandardItem *item)
 
void changeGraduatedSymbol ()
 
void classifyGraduated ()
 
void deleteAllClasses ()
 Removes all classes from the classification. More...
 
void deleteClasses ()
 Removes currently selected classes. More...
 
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 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. More...
 

Public Member Functions

 QgsGraduatedSymbolRendererV2Widget (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)
 
 ~QgsGraduatedSymbolRendererV2Widget ()
 
virtual QgsFeatureRendererV2renderer () override
 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 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 More...
 
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&) More...
 
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. 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 ()
 

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 480 of file qgsgraduatedsymbolrendererv2widget.cpp.

Member Function Documentation

void QgsGraduatedSymbolRendererV2Widget::addClass ( )
slot

Adds a class manually to the classification.

Definition at line 891 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeCurrentValue ( QStandardItem *  item)
slot

Definition at line 952 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeGraduatedSymbol ( )
slot

Definition at line 721 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeRange ( int  rangeIdx)
protected

Definition at line 856 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeRangeSymbol ( int  rangeIdx)
protected

Definition at line 842 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeSelectedSymbols ( )
protected

Definition at line 814 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::classifyGraduated ( )
slot

Definition at line 630 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::connectUpdateHandlers ( )
protected

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

void QgsGraduatedSymbolRendererV2Widget::deleteClasses ( )
slot

Removes currently selected classes.

Definition at line 896 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::disconnectUpdateHandlers ( )
protected

Definition at line 512 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 1018 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::graduatedColumnChanged ( QString  field)
slot

Definition at line 599 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::keyPressEvent ( QKeyEvent *  event)
overrideprotected

Definition at line 1057 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::labelFormatChanged ( )
slot

Definition at line 977 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::modelDataChanged ( )
slot

Definition at line 1053 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::on_methodComboBox_currentIndexChanged ( int  idx)
slot

Definition at line 604 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::on_mSizeUnitWidget_changed ( )
slot

Definition at line 470 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 806 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 798 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::reapplyColorRamp ( )
slot

Definition at line 703 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::reapplySizes ( )
slot

Definition at line 714 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::refreshSymbolView ( )
overrideprotectedvirtual

Reimplemented from QgsRendererV2Widget.

Definition at line 1031 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsFeatureRendererV2 * QgsGraduatedSymbolRendererV2Widget::renderer ( )
overridevirtual

return pointer to the renderer (no transfer of ownership)

Implements QgsRendererV2Widget.

Definition at line 486 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::rotationFieldChanged ( QString  fldName)
slot

Definition at line 962 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::rowsMoved ( )
slot

Definition at line 1044 of file qgsgraduatedsymbolrendererv2widget.cpp.

bool QgsGraduatedSymbolRendererV2Widget::rowsOrdered ( )
protected

Definition at line 907 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 972 of file qgsgraduatedsymbolrendererv2widget.cpp.

QList< int > QgsGraduatedSymbolRendererV2Widget::selectedClasses ( )
protected

return a list of indexes for the classes under selection

Definition at line 770 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsRangeList QgsGraduatedSymbolRendererV2Widget::selectedRanges ( )
protected

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

void QgsGraduatedSymbolRendererV2Widget::showSymbolLevels ( )
slot

Definition at line 1039 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::sizeScaleFieldChanged ( QString  fldName)
slot

Definition at line 967 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::toggleBoundariesLink ( bool  linked)
slot

Toggle the link between classes boundaries.

Definition at line 922 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::updateGraduatedSymbolIcon ( )
protected

Definition at line 754 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 528 of file qgsgraduatedsymbolrendererv2widget.cpp.

Member Data Documentation

QgsRangeList QgsGraduatedSymbolRendererV2Widget::mCopyBuffer
protected

Definition at line 149 of file qgsgraduatedsymbolrendererv2widget.h.

QgsRendererV2DataDefinedMenus* QgsGraduatedSymbolRendererV2Widget::mDataDefinedMenus
protected

Definition at line 145 of file qgsgraduatedsymbolrendererv2widget.h.

QgsSymbolV2* QgsGraduatedSymbolRendererV2Widget::mGraduatedSymbol
protected

Definition at line 141 of file qgsgraduatedsymbolrendererv2widget.h.

QgsGraduatedSymbolRendererV2Model* QgsGraduatedSymbolRendererV2Widget::mModel
protected

Definition at line 147 of file qgsgraduatedsymbolrendererv2widget.h.

QgsGraduatedSymbolRendererV2* QgsGraduatedSymbolRendererV2Widget::mRenderer
protected

Definition at line 139 of file qgsgraduatedsymbolrendererv2widget.h.

int QgsGraduatedSymbolRendererV2Widget::mRowSelected
protected

Definition at line 143 of file qgsgraduatedsymbolrendererv2widget.h.


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