16 #ifndef QGSCOLORWIDGETS_H
17 #define QGSCOLORWIDGETS_H
81 int componentValue()
const;
95 virtual void setColor(
const QColor &color,
const bool emitSignals =
false );
101 virtual void setComponent(
const ColorComponent component );
111 virtual void setComponentValue(
const int value );
118 void colorChanged(
const QColor &color );
134 int componentRange()
const;
166 static const QPixmap& transparentBackground();
200 virtual void setColor(
const QColor &color,
const bool emitSignals =
false )
override;
225 ControlPart mClickedPart;
248 void createImages(
const QSizeF size );
254 void createTriangle();
259 void setColorFromPos(
const QPointF pos );
294 virtual void setColor(
const QColor &color,
const bool emitSignals =
false )
override;
320 int valueRangeX()
const;
325 int valueRangeY()
const;
333 int yComponentValue()
const;
341 int xComponentValue()
const;
346 void setColorFromPoint(
const QPoint& point );
390 void setOrientation(
const Orientation orientation );
402 void setInteriorMargin(
const int margin );
414 void setShowFrame(
const bool showFrame );
425 void setMarkerSize(
const int markerSize );
432 void valueChanged(
const int value );
443 Orientation mOrientation;
460 void setColorFromPoint(
const QPointF &point );
487 virtual void setColor(
const QColor &color,
const bool emitSignals =
false )
override;
503 int convertRealToDisplay(
const int realValue )
const;
510 int convertDisplayToReal(
const int displayValue )
const;
516 void rampColorChanged(
const QColor &color );
520 void spinChanged(
int value );
524 void rampChanged(
int value );
549 virtual void setColor(
const QColor &color,
const bool emitSignals =
false )
override;
572 ColorTextFormat mFormat;
627 virtual void setColor2(
const QColor& color );
645 QPoint mDragStartPosition;
655 #endif // #ifndef QGSCOLORWIDGETS_H
A line edit widget which displays colors as text and accepts string representations of colors...