Krita Source Code Documentation
Loading...
Searching...
No Matches
black_white_point_chooser.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __BLACK_WHITE_POINT_CHOOSER_H
8#define __BLACK_WHITE_POINT_CHOOSER_H
9
10#include <QFrame>
11
13
14
15class BlackWhitePointChooser : public QFrame
16{
17 Q_OBJECT
18public:
19 BlackWhitePointChooser(QWidget* parent);
21
22 void showPopup(const QPoint &basePoint);
23
24 qreal blackPoint() const;
25 void setBlackPoint(qreal bp);
26
27 qreal whitePoint() const;
28 void setWhitePoint(qreal wp);
29
30Q_SIGNALS:
33
34private:
37};
38
39#endif /* __BLACK_WHITE_POINT_CHOOSER_H */
float value(const T *src, size_t ch)
void sigWhitePointChanged(qreal value)
void showPopup(const QPoint &basePoint)
KisDoubleSliderSpinBox * m_black
KisDoubleSliderSpinBox * m_white
void sigBlackPointChanged(qreal value)
This class is a spinbox in which you can click and drag to set the value. A slider like bar is displa...