25 #ifndef DIGIKAM_DHUE_SATURATION_SELECT_H
26 #define DIGIKAM_DHUE_SATURATION_SELECT_H
44 Q_PROPERTY(
int xValue READ xValue WRITE setXValue)
45 Q_PROPERTY(
int yValue READ yValue WRITE setYValue)
62 void setValues(
int xPos,
int yPos);
68 void setXValue(
int xPos);
74 void setYValue(
int yPos);
79 void setRange(
int minX,
int minY,
int maxX,
int maxY);
85 void setMarkerColor(
const QColor& col);
100 QRect contentsRect()
const;
105 QSize minimumSizeHint()
const override;
129 virtual void drawMarker(QPainter* p,
int xp,
int yp);
131 void paintEvent(QPaintEvent* e)
override;
132 void mousePressEvent(QMouseEvent* e)
override;
133 void mouseMoveEvent(QMouseEvent* e)
override;
134 void wheelEvent(QWheelEvent*)
override;
139 void valuesFromPosition(
int x,
int y,
int& xVal,
int& yVal)
const;
143 void setPosition(
int xp,
int yp);
151 friend class Private;
201 void setHue(
int hue);
208 int saturation()
const;
215 void setSaturation(
int saturation);
222 int colorValue()
const;
229 void setColorValue(
int color);
234 void updateContents();
242 virtual void drawPalette(QPixmap* pixmap);
243 void resizeEvent(QResizeEvent*)
override;
250 void drawContents(QPainter* painter)
override;
257 friend class Private;
Definition: dhuesaturationselect.h:158
Definition: dhuesaturationselect.h:42
void valueChanged(int x, int y)
virtual void drawContents(QPainter *)
Definition: dhuesaturationselect.h:123
Definition: datefolderview.cpp:43
DColorChooserMode
Definition: dcolorchoosermode.h:32