QGIS API Documentation  2.7.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 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. More...
 

Public Member Functions

 QgsGraduatedSymbolRendererV2Widget (QgsVectorLayer *layer, QgsStyleV2 *style, QgsFeatureRendererV2 *renderer)
 
 ~QgsGraduatedSymbolRendererV2Widget ()
 
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 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)
 
void refreshSymbolView ()
 
bool rowsOrdered ()
 
QList< int > selectedClasses ()
 return a list of indexes for the classes under selection More...
 
QgsRangeList selectedRanges ()
 
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...
 
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 449 of file qgsgraduatedsymbolrendererv2widget.cpp.

Member Function Documentation

void QgsGraduatedSymbolRendererV2Widget::addClass ( )
slot

Adds a class manually to the classification.

Definition at line 772 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeCurrentValue ( QStandardItem *  item)
slot

Definition at line 833 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeGraduatedSymbol ( )
slot

Definition at line 607 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeRange ( int  rangeIdx)
protected

Definition at line 737 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeRangeSymbol ( int  rangeIdx)
protected

Definition at line 723 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::changeSelectedSymbols ( )
protected

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

void QgsGraduatedSymbolRendererV2Widget::deleteClasses ( )
slot

Removes currently selected classes.

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

void QgsGraduatedSymbolRendererV2Widget::graduatedColumnChanged ( QString  field)
slot

Definition at line 540 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::keyPressEvent ( QKeyEvent *  event)
protected

Definition at line 938 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::labelFormatChanged ( )
slot

Definition at line 858 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::modelDataChanged ( )
slot

Definition at line 934 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 687 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 679 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::reapplyColorRamp ( )
slot

Definition at line 597 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::refreshSymbolView ( )
protectedvirtual

Reimplemented from QgsRendererV2Widget.

Definition at line 912 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsFeatureRendererV2 * QgsGraduatedSymbolRendererV2Widget::renderer ( )
virtual

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

void QgsGraduatedSymbolRendererV2Widget::rowsMoved ( )
slot

Definition at line 925 of file qgsgraduatedsymbolrendererv2widget.cpp.

bool QgsGraduatedSymbolRendererV2Widget::rowsOrdered ( )
protected

Definition at line 788 of file qgsgraduatedsymbolrendererv2widget.cpp.

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

Definition at line 853 of file qgsgraduatedsymbolrendererv2widget.cpp.

QList< int > QgsGraduatedSymbolRendererV2Widget::selectedClasses ( )
protected

return a list of indexes for the classes under selection

Definition at line 651 of file qgsgraduatedsymbolrendererv2widget.cpp.

QgsRangeList QgsGraduatedSymbolRendererV2Widget::selectedRanges ( )
protected

Definition at line 666 of file qgsgraduatedsymbolrendererv2widget.cpp.

QList< QgsSymbolV2 * > QgsGraduatedSymbolRendererV2Widget::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.

Definition at line 869 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::showSymbolLevels ( )
slot

Definition at line 920 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::sizeScaleFieldChanged ( QString  fldName)
slot

Definition at line 848 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::toggleBoundariesLink ( bool  linked)
slot

Toggle the link between classes boundaries.

Definition at line 803 of file qgsgraduatedsymbolrendererv2widget.cpp.

void QgsGraduatedSymbolRendererV2Widget::updateGraduatedSymbolIcon ( )
protected

Definition at line 635 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: