mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
This adds a new interactive "curve" to the assistant widgets. It allows you to fine tune exactly how input values get mapped to output sizes/colors/etc. Think GIMP or Photoshop curves, but for your data...
24 lines
420 B
Plaintext
24 lines
420 B
Plaintext
class QgsCurveEditorWidget : QWidget
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgscurveeditorwidget.h>
|
|
%End
|
|
|
|
public:
|
|
|
|
QgsCurveEditorWidget( QWidget* parent /TransferThis/ = 0, const QgsCurveTransform& curve = QgsCurveTransform() );
|
|
|
|
QgsCurveTransform curve() const;
|
|
|
|
void setCurve( const QgsCurveTransform& curve );
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
|
|
protected:
|
|
|
|
virtual void keyPressEvent( QKeyEvent *event );
|
|
|
|
};
|