author | František Kučera <franta-hg@frantovo.cz> |
Wed, 23 Oct 2019 22:43:29 +0200 | |
branch | v_0 |
changeset 26 | fff8e9a86e85 |
parent 16 | 2705911938b4 |
permissions | -rw-r--r-- |
6 | 1 |
/** |
2 |
* cadMousePro |
|
3 |
* Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info) |
|
4 |
* |
|
5 |
* This program is free software: you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
26
fff8e9a86e85
fix license version: GNU GPLv3
František Kučera <franta-hg@frantovo.cz>
parents:
16
diff
changeset
|
7 |
* the Free Software Foundation, version 3 of the License. |
6 | 8 |
* |
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
16 |
*/ |
|
16
2705911938b4
GUI for mouse configuration over D-Bus daemon
František Kučera <franta-hg@frantovo.cz>
parents:
15
diff
changeset
|
17 |
#include <QApplication> |
0
6ff501639c23
project skeleton, open USB HID device
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
18 |
|
15 | 19 |
#include "MouseMainWindow.h" |
4
405aa9de65d2
CadMouseConfig class, frequency, lift-off detection, smart scrolling
František Kučera <franta-hg@frantovo.cz>
parents:
3
diff
changeset
|
20 |
|
0
6ff501639c23
project skeleton, open USB HID device
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
21 |
int main(int argc, char** argv) { |
16
2705911938b4
GUI for mouse configuration over D-Bus daemon
František Kučera <franta-hg@frantovo.cz>
parents:
15
diff
changeset
|
22 |
QApplication qtApplication(argc, argv); |
1
29cbe171cd43
first working version: disables „free wheel“ a.k.a. „smart scrolling“ feature
František Kučera <franta-hg@frantovo.cz>
parents:
0
diff
changeset
|
23 |
|
15 | 24 |
MouseMainWindow window; |
25 |
window.show(); |
|
12 | 26 |
|
14
759edaff1755
GUI project skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
13
diff
changeset
|
27 |
return qtApplication.exec(); |
4
405aa9de65d2
CadMouseConfig class, frequency, lift-off detection, smart scrolling
František Kučera <franta-hg@frantovo.cz>
parents:
3
diff
changeset
|
28 |
} |