summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qlineargradient/paintwidget.h
blob: 862de380eceac1b63a96d2edb9db0eff3b2f0e14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#ifndef PAINTWIDGET_H
#define PAINTWIDGET_H

#include <QWidget>

class QPaintEvent;

class PaintWidget : public QWidget
{
    Q_OBJECT

public:
    PaintWidget(QWidget *parent = 0);

protected:
    void paintEvent(QPaintEvent *event);
};

#endif