-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
25 lines (18 loc) · 974 Bytes
/
main.cpp
File metadata and controls
25 lines (18 loc) · 974 Bytes
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
#include "mainwindow.h"
#include "drawingwidget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.setStyleSheet(//"QButton{background: #000000; border-radius: 10px; font-family: Gilroy; font-size: 20px; color: white;}"
"QMainWindow{font-family: Gilroy; font-size: 14px; font-weight: Normal; background: rgba(36,36,36,100%); border-radius: 30px;}"
"QLabel {background: #000000; font-size: 20px; border-radius: 5px; color: white; font-family: Gilroy;}"
"QAbstractButton {background: #000000; font-size: 20px; border-radius: 5px; color: white; font-family: Gilroy;}"
"QAbstractButton:pressed, QAbstractButton:checked {background: #414141; font-size: 20px; border-radius: 5px; color: white; font-family: Gilroy;}"
);
w.show();
//DrawingWidget widget;
//widget.show();
return a.exec();
}