QGIS/python/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.sip
Juergen E. Fischer f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00

58 lines
1.7 KiB
Plaintext

%TypeHeaderCode
#include <qgsrendererv2widget.h>
%End
class QgsGraduatedSymbolRendererV2Widget : QgsRendererV2Widget
{
%TypeHeaderCode
#include <qgsgraduatedsymbolrendererv2widget.h>
%End
public:
static QgsRendererV2Widget* create( QgsVectorLayer* layer, QgsStyleV2* style, QgsFeatureRendererV2* renderer ) /Factory/;
QgsGraduatedSymbolRendererV2Widget( QgsVectorLayer* layer, QgsStyleV2* style, QgsFeatureRendererV2* renderer );
~QgsGraduatedSymbolRendererV2Widget();
virtual QgsFeatureRendererV2* renderer();
public slots:
void changeGraduatedSymbol();
void graduatedColumnChanged();
void classifyGraduated();
void reapplyColorRamp();
void rangesDoubleClicked( const QModelIndex & idx );
void rangesClicked( const QModelIndex & idx );
void changeCurrentValue( QStandardItem * item );
/**Adds a class manually to the classification*/
void addClass();
/**Removes a class from the classification*/
void deleteCurrentClass();
void rotationFieldChanged( QString fldName );
void sizeScaleFieldChanged( QString fldName );
void scaleMethodChanged( QgsSymbolV2::ScaleMethod scaleMethod );
void showSymbolLevels();
protected:
void updateUiFromRenderer();
void updateGraduatedSymbolIcon();
//! populate column combos in categorized and graduated page
void populateColumns();
void populateColorRamps();
//! populate ranges of graduated symbol renderer
void populateRanges();
void changeRangeSymbol( int rangeIdx );
void changeRange( int rangeIdx );
QList<QgsSymbolV2*> selectedSymbols();
QgsSymbolV2* findSymbolForRange( double lowerBound, double upperBound, const QgsRangeList& ranges ) const;
void refreshSymbolView();
};