AntiMicroX
Loading...
Searching...
No Matches
unixwindowinfodialog.h
Go to the documentation of this file.
1/* antimicrox Gamepad to KB+M event mapper
2 * Copyright (C) 2015 Travis Nickles <nickles.travis@gmail.com>
3 * Copyright (C) 2020 Jagoda Górska <juliagoda.pl@protonmail>
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
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef UNIXWINDOWINFODIALOG_H
20#define UNIXWINDOWINFODIALOG_H
21
22#include <QDialog>
23#include <QString>
24
25namespace Ui {
27}
28
29class UnixWindowInfoDialog : public QDialog
30{
32
33 public:
34 explicit UnixWindowInfoDialog(long window, QWidget *parent = nullptr);
36
37 enum
38 {
39 WindowClass = (1 << 0),
40 WindowName = (1 << 1),
41 WindowPath = (1 << 2)
42 };
43 typedef int DialogWindowOption;
44
45 QString getWindowClass() const;
46 QString getWindowName() const;
47 QString getWindowPath() const;
49
50 private:
51 Ui::UnixWindowInfoDialog *ui;
53
57
58 private slots:
59 void populateOption();
60};
61
62#endif // UNIXWINDOWINFODIALOG_H
Definition joydpadxml.h:27
Definition unixwindowinfodialog.h:30
@ WindowClass
Definition unixwindowinfodialog.h:39
@ WindowName
Definition unixwindowinfodialog.h:40
@ WindowPath
Definition unixwindowinfodialog.h:41
QString winClass
Definition unixwindowinfodialog.h:54
QString getWindowName() const
Definition unixwindowinfodialog.cpp:115
Ui::UnixWindowInfoDialog * ui
Definition unixwindowinfodialog.h:51
QString getWindowPath() const
Definition unixwindowinfodialog.cpp:117
DialogWindowOption getSelectedOptions() const
Definition unixwindowinfodialog.cpp:111
DialogWindowOption selectedMatch
Definition unixwindowinfodialog.h:52
int DialogWindowOption
Definition unixwindowinfodialog.h:43
QString winPath
Definition unixwindowinfodialog.h:56
void populateOption()
Definition unixwindowinfodialog.cpp:93
QString winName
Definition unixwindowinfodialog.h:55
~UnixWindowInfoDialog()
Definition unixwindowinfodialog.cpp:119
QString getWindowClass() const
Definition unixwindowinfodialog.cpp:113
Definition aboutdialog.h:26