// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause #ifndef RENDERAREA_H #define RENDERAREA_H #include class RenderArea : public QWidget { Q_OBJECT public: RenderArea(QBrush *brush, QWidget *parent = 0); QSize minimumSizeHint() const; protected: void paintEvent(QPaintEvent *event); private: QBrush *currentBrush; }; #endif