-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
58 lines (52 loc) · 2.23 KB
/
main.cpp
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <dl8dtl@s09.sax.de> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return. Joerg Wunsch
* ----------------------------------------------------------------------------
*/
/*
* As this application uses Qt, any redistribution is bound to the
* terms of either the GNU Lesser General Public License v. 3 ("LGPL"),
* or to any commercial Qt license.
*/
/*
* This application uses the Qwt extensions to Qt, which are also
* provided under the terms of LGPL v2.1. However, the Qwt license
* explicitly disclaims many common use cases as not constituting a
* "derived work" (in the LGPL sense), so it is generally less
* demanding about the redistribution policy than Qt itself.
*/
/* $Id$ */
#include "tek492.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Tek492 w;
w.setStyleSheet("QRadioButton::indicator {\n"
" width: 14px;\n"
" height: 14px;\n"
"}\n"
"QRadioButton::indicator::unchecked {\n"
" image: url(:/resource/images/button-inactive);\n"
"}\n"
"QRadioButton::indicator::unchecked:hover {\n"
" image: url(:/resource/images/button-inactive);\n"
"}\n"
"QRadioButton::indicator::unchecked:pressed {\n"
" image: url(:/resource/images/button-pressed);\n"
"}\n"
"QRadioButton::indicator::checked {\n"
" image: url(:/resource/images/button-active);\n"
"}\n"
"QRadioButton::indicator::checked:hover {\n"
" image: url(:/resource/images/button-active);\n"
"}\n"
"QRadioButton::indicator::checked:pressed {\n"
" image: url(:/resource/images/button-pressed);\n"
"}\n");
w.show();
return a.exec();
}