-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4169 from nyalldawson/props_gui
[FEATURE] Interactive curve editing for property overrides
- Loading branch information
Showing
19 changed files
with
1,812 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
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 ); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.