Play-/Source/ui_unix/controllerconfigdialog.h

38 lines
836 B
C
Raw Normal View History

2016-09-06 00:23:31 +01:00
#ifndef CONTROLLERCONFIGDIALOG_H
#define CONTROLLERCONFIGDIALOG_H
#include <QDialog>
#include <QAbstractButton>
#include <QXmlStreamReader>
#include "GamePad/GamePadDeviceListener.h"
2016-09-06 00:23:31 +01:00
#include "PH_HidUnix.h"
#include "Config.h"
2016-09-06 00:23:31 +01:00
namespace Ui {
class ControllerConfigDialog;
}
class ControllerConfigDialog : public QDialog
{
Q_OBJECT
2016-09-06 00:23:31 +01:00
public:
explicit ControllerConfigDialog(QWidget *parent = 0);
~ControllerConfigDialog();
static QString ReadElementValue(QXmlStreamReader &Rxml);
2016-09-06 00:23:31 +01:00
private slots:
void on_buttonBox_clicked(QAbstractButton *button);
void on_tableView_doubleClicked(const QModelIndex &index);
void on_ConfigAllButton_clicked();
2016-09-06 00:23:31 +01:00
private:
CInputBindingManager* m_inputManager;
std::unique_ptr<CGamePadDeviceListener> m_inputDeviceManager;
Ui::ControllerConfigDialog *ui;
2016-09-06 00:23:31 +01:00
};
#endif // CONTROLLERCONFIGDIALOG_H