Navigation Menu

Skip to content

Commit

Permalink
changed access of QgsColorRampShaderWidget::colormapMinMax()
Browse files Browse the repository at this point in the history
  • Loading branch information
iona5 committed Aug 11, 2020
1 parent 2d986f6 commit dbc5f3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/raster/qgscolorrampshaderwidget.h
Expand Up @@ -102,8 +102,6 @@ class GUI_EXPORT QgsColorRampShaderWidget: public QWidget, protected Ui::QgsColo
protected:
//! Populates color ramp tree from ramp items
void populateColormapTreeWidget( const QList<QgsColorRampShader::ColorRampItem> &colorRampItems );
//! Extracts the minimal and maximal value from the colormapTreeWidget
void colormapMinMax( double &min, double &max ) const SIP_SKIP;

private:

Expand All @@ -121,6 +119,9 @@ class GUI_EXPORT QgsColorRampShaderWidget: public QWidget, protected Ui::QgsColo
*/
void autoLabel();

//! Extracts the minimal and maximal value from the colormapTreeWidget
void colormapMinMax( double &min, double &max ) const;

//! Extract the unit out of the current labels and set the unit field.
void setUnitFromLabels();

Expand Down

0 comments on commit dbc5f3d

Please sign in to comment.