AntiMicroX
Loading...
Searching...
No Matches
capturedwindowinfodialog.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
24class QWidget;
25
26namespace Ui {
28}
29
30class CapturedWindowInfoDialog : public QDialog
31{
33
34 public:
35#ifdef Q_OS_WIN
36 explicit CapturedWindowInfoDialog(QWidget *parent = 0);
37#else
38 explicit CapturedWindowInfoDialog(long window, QWidget *parent = nullptr);
39#endif
41
42 enum
43 {
45 WindowClass = (1 << 0),
46 WindowName = (1 << 1),
47 WindowPath = (1 << 2),
48 };
50
54 bool useFullWindowPath();
56
57 private:
58 Ui::CapturedWindowInfoDialog *ui;
59
61
66
67 private slots:
68 void populateOption();
69};
70
71#endif // UNIXWINDOWINFODIALOG_H
Definition capturedwindowinfodialog.h:31
QString getWindowName()
Definition capturedwindowinfodialog.cpp:170
QString getWindowPath()
Definition capturedwindowinfodialog.cpp:172
QString winClass
Definition capturedwindowinfodialog.h:62
Ui::CapturedWindowInfoDialog * ui
Definition capturedwindowinfodialog.h:58
QString winName
Definition capturedwindowinfodialog.h:63
QString winPath
Definition capturedwindowinfodialog.h:64
bool fullWinPath
Definition capturedwindowinfodialog.h:65
QString getWindowClass()
Definition capturedwindowinfodialog.cpp:168
CapturedWindowOption getSelectedOptions()
Definition capturedwindowinfodialog.cpp:166
void populateOption()
Definition capturedwindowinfodialog.cpp:147
int CapturedWindowOption
Definition capturedwindowinfodialog.h:49
CapturedWindowOption selectedMatch
Definition capturedwindowinfodialog.h:60
@ WindowPath
Definition capturedwindowinfodialog.h:47
@ WindowClass
Definition capturedwindowinfodialog.h:45
@ WindowName
Definition capturedwindowinfodialog.h:46
@ WindowNone
Definition capturedwindowinfodialog.h:44
~CapturedWindowInfoDialog()
Definition capturedwindowinfodialog.cpp:145
bool useFullWindowPath()
Definition capturedwindowinfodialog.cpp:174
Definition joydpadxml.h:27
Definition aboutdialog.h:26