AntiMicroX
aboutdialog.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 ABOUTDIALOG_H
20 #define ABOUTDIALOG_H
21 
22 #include <QDialog>
23 
24 class QEvent;
25 
26 namespace Ui {
27 class AboutDialog;
28 }
29 
30 class AboutDialog : public QDialog
31 {
32  Q_OBJECT
33 
34  public:
35  explicit AboutDialog(QWidget *parent = nullptr);
36  ~AboutDialog();
37 
38  private:
39  Ui::AboutDialog *ui;
40 
41  protected:
42  void fillInfoTextBrowser();
43  virtual void changeEvent(QEvent *event);
44  void retranslateUi();
45 };
46 
47 #endif // ABOUTDIALOG_H
AboutDialog::retranslateUi
void retranslateUi()
Definition: aboutdialog.cpp:109
PadderCommon::sdlVersionUsed
const QString sdlVersionUsed
Definition: common.h:158
PadderCommon::sdlVersionCompiled
const QString sdlVersionCompiled
Definition: common.h:164
PadderCommon::programVersion
const QString programVersion
Definition: common.h:152
BaseEventHandler::getName
virtual QString getName()=0
AboutDialog::AboutDialog
AboutDialog(QWidget *parent=nullptr)
Definition: aboutdialog.cpp:36
AboutDialog::ui
Ui::AboutDialog * ui
Definition: aboutdialog.h:39
AboutDialog
Definition: aboutdialog.h:30
aboutdialog.h
AboutDialog::changeEvent
virtual void changeEvent(QEvent *event)
Definition: aboutdialog.cpp:101
AboutDialog::~AboutDialog
~AboutDialog()
Definition: aboutdialog.cpp:45
BaseEventHandler
Base class for input event handlers.
Definition: baseeventhandler.h:32
Ui
Definition: aboutdialog.h:26
eventhandlerfactory.h
EventHandlerFactory
Definition: eventhandlerfactory.h:74
AboutDialog::fillInfoTextBrowser
void fillInfoTextBrowser()
Definition: aboutdialog.cpp:47
EventHandlerFactory::handler
BaseEventHandler * handler()
Definition: eventhandlerfactory.cpp:95
common.h
EventHandlerFactory::getInstance
static EventHandlerFactory * getInstance(QString handler="")
Definition: eventhandlerfactory.cpp:71