Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 6886ea0
Show file tree
Hide file tree
Showing 4 changed files with 735 additions and 330 deletions.
11 changes: 0 additions & 11 deletions python/gui/symbology-ng/qgsvectorgradientcolorrampv2dialog.sip
Expand Up @@ -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.