mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
in property assistant Makes it easier to set suitable curves. Populated in the background for a nice reponsive widget!
32 lines
759 B
Plaintext
32 lines
759 B
Plaintext
class QgsCurveEditorWidget : QWidget
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgscurveeditorwidget.h>
|
|
%End
|
|
|
|
public:
|
|
|
|
QgsCurveEditorWidget( QWidget* parent /TransferThis/ = 0, const QgsCurveTransform& curve = QgsCurveTransform() );
|
|
~QgsCurveEditorWidget();
|
|
|
|
QgsCurveTransform curve() const;
|
|
|
|
void setCurve( const QgsCurveTransform& curve );
|
|
void setHistogramSource( const QgsVectorLayer* layer, const QString& expression );
|
|
double minHistogramValueRange() const;
|
|
double maxHistogramValueRange() const;
|
|
|
|
public slots:
|
|
void setMinHistogramValueRange( double minValueRange );
|
|
void setMaxHistogramValueRange( double maxValueRange );
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
|
|
protected:
|
|
|
|
virtual void keyPressEvent( QKeyEvent *event );
|
|
|
|
};
|