Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
741 B
Raw Blame
/*
 * SPDX-FileCopyrightText: 2016 Wolthera van Hovell tot Westerflier <[email protected]>
 * SPDX-FileCopyrightText: 2018 Michael Zhou <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef KISSCREENCOLORSAMPLERBASE_H
#define KISSCREENCOLORSAMPLERBASE_H
#include <QWidget>
#include "kritawidgets_export.h"

class KoColor;

class KRITAWIDGETS_EXPORT KisScreenColorSamplerBase : public QWidget
{
    Q_OBJECT
public:
    KisScreenColorSamplerBase(QWidget *parent = 0) : QWidget(parent) { }
    virtual ~KisScreenColorSamplerBase() { }
    /// reloads icon(s) when theme is updated
    virtual void updateIcons() = 0;
Q_SIGNALS:
    void sigNewColorSampled(KoColor);
};

#endif // KISSCREENCOLORSAMPLERBASE_H