Perceptual Color
10#include "colorwheelimage.h"
11#include "constpropagatingrawpointer.h"
12#include "polarpointf.h"
15#include <qsharedpointer.h>
27class ColorWheelPrivate final
30 ColorWheelPrivate(ColorWheel *backLink,
const QSharedPointer<PerceptualColor::RgbColorSpace> &colorSpace);
35 ~ColorWheelPrivate() noexcept = default;
55 bool m_isMouseEventActive = false;
58 QSharedPointer<RgbColorSpace> m_rgbColorSpace;
60 ColorWheelImage m_wheelImage;
62 [[nodiscard]]
int border() const;
63 [[nodiscard]] QPointF fromWheelToWidgetCoordinates(const PolarPointF wheelCoordinates) const;
64 [[nodiscard]] PolarPointF fromWidgetPixelPositionToWheelCoordinates(const QPoint position) const;
65 [[nodiscard]] qreal innerDiameter() const;
66 void setHueNormalized(const qreal newHue);
69 Q_DISABLE_COPY(ColorWheelPrivate)
73 ConstPropagatingRawPointer<ColorWheel> q_pointer;
The namespace of this library.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:46:43 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.