-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
43 lines (41 loc) · 846 Bytes
/
main.cpp
File metadata and controls
43 lines (41 loc) · 846 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include "stdafx.h"
#include "shadowed_window.h"
#include "mucup.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setWindowIcon(QIcon(":/images/icon.ico"));
qApp->setStyleSheet
(
"* { "
"background-color: white; "
"} "
"QScrollArea { "
"margin: 0px 28px 0px 78px; "
"} "
"QScrollBar:vertical { "
"border: 0px; "
"background: white; "
"width: 35px; "
"} "
"QScrollBar::handle:vertical { "
"background: #D3D6E4; "
"border-radius: 6px; "
"width: 12px; "
"min-height: 20px; "
"margin-left: 23px;"
"} "
"QScrollBar::add-line:vertical { "
"background: none; "
"height: 0px; "
"} "
"QScrollBar::sub-line:vertical { "
"background: none; "
"height: 0px; "
"} "
);
psv::shadowed_window w;
w.set_central_widget(new psv::mucup(&w));
w.show();
return a.exec();
}