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 Member Functions | Protected Attributes | List of all members
QgsGraduatedSymbolRendererV2Widget Class Reference

#include <qgsgraduatedsymbolrendererv2widget.h>

Inheritance diagram for QgsGraduatedSymbolRendererV2Widget:
Inheritance graph
[legend]

Public Slots

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

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

Protected Attributes

QgsGraduatedSymbolRendererV2mRenderer
 
QgsSymbolV2mGraduatedSymbol
 
int mRowSelected
 
QgsRendererV2DataDefinedMenusmDataDefinedMenus
 
QgsGraduatedSymbolRendererV2ModelmModel
 
QgsRangeList mCopyBuffer
 
- Protected Attributes inherited from QgsRendererV2Widget
QgsVectorLayermLayer
 
QgsStyleV2mStyle
 
QMenu * contextMenu
 
QAction * mCopyAction
 
QAction * mPasteAction
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

void QgsGraduatedSymbolRendererV2Widget::addClass ( )
slot

Adds a class manually to the classification.

void QgsGraduatedSymbolRendererV2Widget::changeCurrentValue ( QStandardItem *  item)
slot
void QgsGraduatedSymbolRendererV2Widget::changeGraduatedSymbol ( )
slot
void QgsGraduatedSymbolRendererV2Widget::changeRange ( int  rangeIdx)
protected
void QgsGraduatedSymbolRendererV2Widget::changeRangeSymbol ( int  rangeIdx)
protected
void QgsGraduatedSymbolRendererV2Widget::changeSelectedSymbols ( )
protected
void QgsGraduatedSymbolRendererV2Widget::classifyGraduated ( )
slot
void QgsGraduatedSymbolRendererV2Widget::connectUpdateHandlers ( )
protected
QgsRendererV2Widget * QgsGraduatedSymbolRendererV2Widget::create ( QgsVectorLayer layer,
QgsStyleV2 style,
QgsFeatureRendererV2 renderer 
)
static
void QgsGraduatedSymbolRendererV2Widget::deleteAllClasses ( )
slot

Removes all classes from the classification.

void QgsGraduatedSymbolRendererV2Widget::deleteClasses ( )
slot

Removes currently selected classes.

void QgsGraduatedSymbolRendererV2Widget::disconnectUpdateHandlers ( )
protected
QgsSymbolV2 * QgsGraduatedSymbolRendererV2Widget::findSymbolForRange ( double  lowerBound,
double  upperBound,
const QgsRangeList ranges 
) const
protected
void QgsGraduatedSymbolRendererV2Widget::graduatedColumnChanged ( QString  field)
slot
void QgsGraduatedSymbolRendererV2Widget::keyPressEvent ( QKeyEvent *  event)
protected
void QgsGraduatedSymbolRendererV2Widget::labelFormatChanged ( )
slot
void QgsGraduatedSymbolRendererV2Widget::modelDataChanged ( )
slot
void QgsGraduatedSymbolRendererV2Widget::rangesClicked ( const QModelIndex &  idx)
slot
void QgsGraduatedSymbolRendererV2Widget::rangesDoubleClicked ( const QModelIndex &  idx)
slot
void QgsGraduatedSymbolRendererV2Widget::reapplyColorRamp ( )
slot
void QgsGraduatedSymbolRendererV2Widget::refreshSymbolView ( )
protectedvirtual

Reimplemented from QgsRendererV2Widget.

QgsFeatureRendererV2 * QgsGraduatedSymbolRendererV2Widget::renderer ( )
virtual

return pointer to the renderer (no transfer of ownership)

Implements QgsRendererV2Widget.

void QgsGraduatedSymbolRendererV2Widget::rotationFieldChanged ( QString  fldName)
slot
void QgsGraduatedSymbolRendererV2Widget::rowsMoved ( )
slot
bool QgsGraduatedSymbolRendererV2Widget::rowsOrdered ( )
protected
void QgsGraduatedSymbolRendererV2Widget::scaleMethodChanged ( QgsSymbolV2::ScaleMethod  scaleMethod)
slot
QList< int > QgsGraduatedSymbolRendererV2Widget::selectedClasses ( )
protected

return a list of indexes for the classes under selection

QgsRangeList QgsGraduatedSymbolRendererV2Widget::selectedRanges ( )
protected
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.

void QgsGraduatedSymbolRendererV2Widget::showSymbolLevels ( )
slot
void QgsGraduatedSymbolRendererV2Widget::sizeScaleFieldChanged ( QString  fldName)
slot
void QgsGraduatedSymbolRendererV2Widget::toggleBoundariesLink ( bool  linked)
slot

Toggle the link between classes boundaries.

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

Member Data Documentation

QgsRangeList QgsGraduatedSymbolRendererV2Widget::mCopyBuffer
protected
QgsRendererV2DataDefinedMenus* QgsGraduatedSymbolRendererV2Widget::mDataDefinedMenus
protected
QgsSymbolV2* QgsGraduatedSymbolRendererV2Widget::mGraduatedSymbol
protected
QgsGraduatedSymbolRendererV2Model* QgsGraduatedSymbolRendererV2Widget::mModel
protected
QgsGraduatedSymbolRendererV2* QgsGraduatedSymbolRendererV2Widget::mRenderer
protected
int QgsGraduatedSymbolRendererV2Widget::mRowSelected
protected

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