Skip to content
Permalink
Browse files

[FEATURE] Redesigned interactive gradient editor

Uses new gradient editor widget and color controls for easier
manipulation of gradients. Also adds an interactive plot
for modifying gradient stops via the color HSV or RGB values.

Fix #8383

Sponsored by North Road
  • Loading branch information
nyalldawson committed May 12, 2016
1 parent 881be0f commit 6886ea0d0c1adea706fd1f273b912858154e8bc7
@@ -11,20 +11,9 @@ class QgsVectorGradientColorRampV2Dialog : QDialog
void setColor1( const QColor& color );
void setColor2( const QColor& color );

void toggledStops( bool on );
void addStop();
void removeStop();

void stopDoubleClicked( QTreeWidgetItem* item, int column );
void setItemStopColor( const QColor& newColor );

protected slots:
void on_cboType_currentIndexChanged( int index );
void on_btnInformation_pressed();

protected:

void updateStops();
void updatePreview();
void setStopColor( QTreeWidgetItem* item, const QColor& color );
};

0 comments on commit 6886ea0

Please sign in to comment.
You can’t perform that action at this time.