16 #ifndef QGSCOLORWIDGETS_H 17 #define QGSCOLORWIDGETS_H 19 #include <QWidgetAction> 82 int componentValue()
const;
96 virtual void setColor(
const QColor &color,
const bool emitSignals =
false );
112 virtual void setComponentValue(
const int value );
119 void colorChanged(
const QColor &color );
140 int componentRange()
const;
172 static const QPixmap& transparentBackground();
232 void colorChanged(
const QColor &color );
239 bool mSuppressRecurse;
241 bool mDismissOnColorSelection;
251 void setColor(
const QColor &color );
281 virtual void setColor(
const QColor &color,
const bool emitSignals =
false )
override;
306 ControlPart mClickedPart;
329 void createImages(
const QSizeF size );
335 void createTriangle();
340 void setColorFromPos(
const QPointF pos );
375 virtual void setColor(
const QColor &color,
const bool emitSignals =
false )
override;
401 int valueRangeX()
const;
406 int valueRangeY()
const;
414 int yComponentValue()
const;
422 int xComponentValue()
const;
427 void setColorFromPoint(
QPoint point );
471 void setOrientation(
const Orientation orientation );
483 void setInteriorMargin(
const int margin );
495 void setShowFrame(
const bool showFrame );
506 void setMarkerSize(
const int markerSize );
513 void valueChanged(
const int value );
542 void setColorFromPoint(
QPointF point );
569 virtual void setColor(
const QColor &color,
const bool emitSignals =
false )
override;
585 int convertRealToDisplay(
const int realValue )
const;
592 int convertDisplayToReal(
const int displayValue )
const;
598 void rampColorChanged(
const QColor &color );
602 void spinChanged(
int value );
606 void rampChanged(
int value );
631 virtual void setColor(
const QColor &color,
const bool emitSignals =
false )
override;
654 ColorTextFormat mFormat;
710 virtual void setColor2(
const QColor& color );
728 QPoint mDragStartPosition;
738 #endif // #ifndef QGSCOLORWIDGETS_H
A line edit widget which displays colors as text and accepts string representations of colors...