QGIS/python/gui/symbology-ng/qgsgraduatedsymbolrendererwidget.sip

115 lines
3.3 KiB
Plaintext
Raw Normal View History

2017-06-08 15:30:38 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/symbology-ng/qgsgraduatedsymbolrendererwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
2016-08-06 11:01:42 +02:00
class QgsGraduatedSymbolRendererWidget : QgsRendererWidget
{
2017-06-08 15:30:38 +02:00
%TypeHeaderCode
2017-06-08 15:30:38 +02:00
#include "qgsgraduatedsymbolrendererwidget.h"
%End
public:
static QgsRendererWidget *create( QgsVectorLayer *layer, QgsStyle *style, QgsFeatureRenderer *renderer ) /Factory/;
2017-06-08 15:30:38 +02:00
%Docstring
:rtype: QgsRendererWidget
%End
QgsGraduatedSymbolRendererWidget( QgsVectorLayer *layer, QgsStyle *style, QgsFeatureRenderer *renderer );
2016-08-06 11:01:42 +02:00
~QgsGraduatedSymbolRendererWidget();
virtual QgsFeatureRenderer *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 );
void addClass();
2017-06-08 15:30:38 +02:00
%Docstring
Adds a class manually to the classification
%End
void deleteClasses();
2017-06-08 15:30:38 +02:00
%Docstring
Removes currently selected classes
%End
2013-02-02 17:06:22 +01:00
void deleteAllClasses();
2017-06-08 15:30:38 +02:00
%Docstring
Removes all classes from the classification
%End
void toggleBoundariesLink( bool linked );
2017-06-08 15:30:38 +02:00
%Docstring
Toggle the link between classes boundaries
%End
void labelFormatChanged();
void showSymbolLevels();
2013-02-02 17:06:22 +01:00
void rowsMoved();
void modelDataChanged();
void on_mSizeUnitWidget_changed();
void on_methodComboBox_currentIndexChanged( int );
void refreshRanges( bool reset = false );
protected:
2015-02-03 02:21:52 +01:00
void updateUiFromRenderer( bool updateCount = true );
void connectUpdateHandlers();
void disconnectUpdateHandlers();
bool rowsOrdered();
2017-06-08 15:30:38 +02:00
%Docstring
:rtype: bool
%End
void updateGraduatedSymbolIcon();
2013-02-02 17:06:22 +01:00
QList<int> selectedClasses();
2017-06-08 15:30:38 +02:00
%Docstring
return a list of indexes for the classes under selection
:rtype: list of int
%End
2014-01-26 18:35:21 +01:00
QgsRangeList selectedRanges();
2017-06-08 15:30:38 +02:00
%Docstring
:rtype: QgsRangeList
%End
2013-02-02 17:06:22 +01:00
void changeRangeSymbol( int rangeIdx );
void changeRange( int rangeIdx );
2013-02-02 17:06:22 +01:00
void changeSelectedSymbols();
2017-06-08 15:30:38 +02:00
virtual QList<QgsSymbol *> selectedSymbols();
QgsSymbol *findSymbolForRange( double lowerBound, double upperBound, const QgsRangeList &ranges ) const;
2017-06-08 15:30:38 +02:00
%Docstring
:rtype: QgsSymbol
%End
virtual void refreshSymbolView();
virtual void keyPressEvent( QKeyEvent *event );
2014-01-26 18:35:21 +01:00
};
2017-06-08 15:30:38 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/symbology-ng/qgsgraduatedsymbolrendererwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/