up
This commit is contained in:
1 parent
e03bda56ea
commit
7ff3b29476
6 files changed
+211
-10
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#ifndef RENDERAREA_H
|
||||
#define RENDERAREA_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class RenderArea : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit RenderArea(QWidget *parent = nullptr);
|
||||
|
||||
QSize minimumSizeHint() const Q_DECL_OVERRIDE;
|
||||
QSize sizeHint() const Q_DECL_OVERRIDE;
|
||||
signals:
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent* event) Q_DECL_OVERRIDE;
|
||||
|
||||
public slots:
|
||||
|
||||
private:
|
||||
QColor mBackgroundColour;
|
||||
QColor mShapeColour;
|
||||
};
|
||||
|
||||
#endif // RENDERAREA_H
|
||||
Reference in new issue
Block a user