mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
33 lines
724 B
C
33 lines
724 B
C
![]() |
#ifndef CONTROLLERCONFIGDIALOG_H
|
||
|
#define CONTROLLERCONFIGDIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QAbstractButton>
|
||
|
#include <QXmlStreamReader>
|
||
|
#include "PH_HidUnix.h"
|
||
|
|
||
|
namespace Ui {
|
||
|
class ControllerConfigDialog;
|
||
|
}
|
||
|
|
||
|
class ControllerConfigDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit ControllerConfigDialog(QWidget *parent = 0);
|
||
|
~ControllerConfigDialog();
|
||
|
static CPH_HidUnix::BindingPtr *GetBinding(int);
|
||
|
static QString ReadElementValue(QXmlStreamReader &Rxml);
|
||
|
|
||
|
private slots:
|
||
|
void on_buttonBox_clicked(QAbstractButton *button);
|
||
|
|
||
|
private:
|
||
|
void Save(int index, QWidget *tab);
|
||
|
void Load(int index, QWidget *tab);
|
||
|
Ui::ControllerConfigDialog *ui;
|
||
|
};
|
||
|
|
||
|
#endif // CONTROLLERCONFIGDIALOG_H
|