68 QDialogButtonBox *buttonBox()
const;
81 void setColor1(
const QColor &color );
87 void setColor2(
const QColor &color );
90 void cboType_currentIndexChanged(
int index );
91 void btnInformation_pressed();
92 void updateRampFromStopEditor();
93 void updateColorButtons();
94 void updateStopEditor();
96 void colorWidgetChanged(
const QColor &color );
97 void mPositionSpinBox_valueChanged(
double val );
98 void mPlotHueCheckbox_toggled(
bool checked );
99 void mPlotLightnessCheckbox_toggled(
bool checked );
100 void mPlotSaturationCheckbox_toggled(
bool checked );
101 void mPlotAlphaCheckbox_toggled(
bool checked );
102 void plotMousePress( QPointF point );
103 void plotMouseRelease( QPointF point );
104 void plotMouseMove( QPointF point );
109 QwtPlotCurve *mLightnessCurve =
nullptr;
110 QwtPlotCurve *mSaturationCurve =
nullptr;
111 QwtPlotCurve *mHueCurve =
nullptr;
112 QwtPlotCurve *mAlphaCurve =
nullptr;
113 QList<QwtPlotMarker *> mMarkers;
114 QgsGradientPlotEventFilter *mPlotFilter =
nullptr;
115 int mCurrentPlotColorComponent;
116 int mCurrentPlotMarkerIndex;
117 int mBlockChanges = 0;
120 void addPlotMarker(
double x,
double y,
const QColor &color,
bool isSelected =
false );
121 void addMarkersForColor(
double x,
const QColor &color,
bool isSelected =
false );
124 static bool hasDirection( QColor::Spec colorSpec );