Krita Source Code Documentation
Loading...
Searching...
No Matches
KisSampleScreenColor.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023 killy |0veufOrever <80536642@qq.com>
3 * SPDX-FileCopyrightText: 2023 Deif Lou <ginoba@gmail.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7
8#ifndef KISSAMPLESCREENCOLOR_H
9#define KISSAMPLESCREENCOLOR_H
10
11#include <QVariant>
12
13#include <KisActionPlugin.h>
14#include "kis_types.h"
15
17
19{
20 Q_OBJECT
21
22public:
23 KisSampleScreenColor(QObject *parent, const QVariantList &);
24 ~KisSampleScreenColor() override;
25
26private Q_SLOTS:
27 void slotSampleScreenColor(bool sampleRealCanvas);
28
29private:
32};
33
34#endif // KISSAMPLESCREENCOLOR_H
KisScreenColorSampler * m_screenColorSampler
void slotSampleScreenColor(bool sampleRealCanvas)
KisSampleScreenColor(QObject *parent, const QVariantList &)
The KisScreenColorSampler class Based on the original QColorDialog's screen color picker,...