up
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
#include <QPainter>
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
@ -12,3 +13,9 @@ MainWindow::~MainWindow()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void MainWindow::paintEvent(QPaintEvent* event)
|
||||
{
|
||||
QPainter painter{this};
|
||||
painter.setBrush(QColor{26,25,25});
|
||||
}
|
||||
|
Reference in New Issue
Block a user