Krita Source Code Documentation
Loading...
Searching...
No Matches
KisScreenColorSamplerBase.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2016 Wolthera van Hovell tot Westerflier <griffinvalley@gmail.com>
3 * SPDX-FileCopyrightText: 2018 Michael Zhou <simeirxh@gmail.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7
8#ifndef KISSCREENCOLORSAMPLERBASE_H
9#define KISSCREENCOLORSAMPLERBASE_H
10#include <QWidget>
11#include "kritawidgets_export.h"
12
13class KoColor;
14
15class KRITAWIDGETS_EXPORT KisScreenColorSamplerBase : public QWidget
16{
17 Q_OBJECT
18public:
19 KisScreenColorSamplerBase(QWidget *parent = 0) : QWidget(parent) { }
22 virtual void updateIcons() = 0;
23Q_SIGNALS:
25};
26
27#endif // KISSCREENCOLORSAMPLERBASE_H
void sigNewColorSampled(KoColor)
KisScreenColorSamplerBase(QWidget *parent=0)
virtual void updateIcons()=0
reloads icon(s) when theme is updated