mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Now all classes and members are either exposed to bindings or marked as "not available in Python bindings" in the docs. Drop test thresholds to 0. Now it should be much easier to determine what missing members have been added which are causing test failures.
69 lines
2.2 KiB
Plaintext
69 lines
2.2 KiB
Plaintext
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( const QString& field );
|
|
void classifyGraduated();
|
|
void reapplyColorRamp();
|
|
void reapplySizes();
|
|
void rangesDoubleClicked( const QModelIndex & idx );
|
|
void rangesClicked( const QModelIndex & idx );
|
|
void changeCurrentValue( QStandardItem * item );
|
|
|
|
/** Adds a class manually to the classification*/
|
|
void addClass();
|
|
/** Removes currently selected classes */
|
|
void deleteClasses();
|
|
/** Removes all classes from the classification*/
|
|
void deleteAllClasses();
|
|
/** Toggle the link between classes boundaries */
|
|
void toggleBoundariesLink( bool linked );
|
|
|
|
void sizeScaleFieldChanged( const QString& fldName );
|
|
void scaleMethodChanged( QgsSymbolV2::ScaleMethod scaleMethod );
|
|
void labelFormatChanged();
|
|
|
|
void showSymbolLevels();
|
|
|
|
void rowsMoved();
|
|
void modelDataChanged();
|
|
|
|
void on_mSizeUnitWidget_changed();
|
|
void on_methodComboBox_currentIndexChanged( int );
|
|
void refreshRanges( bool reset = false );
|
|
|
|
protected:
|
|
void updateUiFromRenderer( bool updateCount = true );
|
|
void connectUpdateHandlers();
|
|
void disconnectUpdateHandlers();
|
|
bool rowsOrdered();
|
|
|
|
void updateGraduatedSymbolIcon();
|
|
|
|
//! return a list of indexes for the classes under selection
|
|
QList<int> selectedClasses();
|
|
QgsRangeList selectedRanges();
|
|
|
|
void changeRangeSymbol( int rangeIdx );
|
|
void changeRange( int rangeIdx );
|
|
|
|
void changeSelectedSymbols();
|
|
|
|
QList<QgsSymbolV2*> selectedSymbols();
|
|
QgsSymbolV2* findSymbolForRange( double lowerBound, double upperBound, const QgsRangeList& ranges ) const;
|
|
void refreshSymbolView();
|
|
|
|
void keyPressEvent( QKeyEvent* event );
|
|
};
|