File: kcolorutilsdemo.h

package info (click to toggle)
kf6-kconfigwidgets 6.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 24,020 kB
  • sloc: cpp: 6,309; sh: 18; makefile: 7
file content (38 lines) | stat: -rw-r--r-- 746 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
    SPDX-FileCopyrightText: 2009 Matthew Woehlke <mw_triad@users.sourceforge.net>

    SPDX-License-Identifier: GPL-2.0-or-later
*/

#ifndef KCOLORUTILSDEMO_H
#define KCOLORUTILSDEMO_H

#include "ui_kcolorutilsdemo.h"

class KColorUtilsDemo : public QWidget, Ui::form
{
    Q_OBJECT
public:
    KColorUtilsDemo(QWidget *parent = nullptr);
    ~KColorUtilsDemo() override
    {
    }

public Q_SLOTS:
    void inputChanged();
    void lumaChanged();
    void mixChanged();
    void shadeChanged();

    void inputSpinChanged();
    void inputSwatchChanged(const QColor &);

    void targetSpinChanged();
    void targetSwatchChanged(const QColor &);

protected:
    QImage _leOutImg, _mtMixOutImg, _mtTintOutImg;
    bool _noUpdate;
};

#endif