4#ifndef GRADIENTSLIDER_P_H
5#define GRADIENTSLIDER_P_H
10#include "asyncimageprovider.h"
11#include "constpropagatingrawpointer.h"
12#include "genericcolor.h"
13#include "gradientimageparameters.h"
15#include <qnamespace.h>
16#include <qsharedpointer.h>
27class GradientSliderPrivate final
30 explicit GradientSliderPrivate(GradientSlider *backLink);
35 ~GradientSliderPrivate() noexcept = default;
38 [[nodiscard]] qreal fromWidgetPixelPositionToValue(
QPoint pixelPosition);
39 void initialize(const
QSharedPointer<RgbColorSpace> &colorSpace,
Qt::Orientation orientation);
40 void setOrientationWithoutSignalAndForceNewSizePolicy(
Qt::Orientation newOrientation);
41 [[nodiscard]]
int physicalPixelLength() const;
42 [[nodiscard]]
int physicalPixelThickness() const;
46 GenericColor m_firstColorCieLchD50A;
54 AsyncImageProvider<GradientImageParameters> m_gradientImage;
56 GradientImageParameters m_gradientImageParameters;
59 Qt::Orientation m_orientation;
62 qreal m_pageStep = 0.1;
65 GenericColor m_secondColorCieLchD50A;
68 qreal m_singleStep = 0.01;
74 Q_DISABLE_COPY(GradientSliderPrivate)
77 ConstPropagatingRawPointer<GradientSlider> q_pointer;
The namespace of this library.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:18 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.