Added new UI files

This commit is contained in:
=
2025-04-19 19:50:45 -07:00
parent 7f5d1b86c7
commit f199fa5ce4
5 changed files with 248 additions and 0 deletions

32
src/qt/qt_keybind.hpp Normal file
View File

@@ -0,0 +1,32 @@
#ifndef QT_KeyBinder_HPP
#define QT_KeyBinder_HPP
#include <QDialog>
#include "qt_settings.hpp"
extern "C" {
struct _device_;
}
namespace Ui {
class KeyBinder;
}
class Settings;
class KeyBinder : public QDialog {
Q_OBJECT
public:
explicit KeyBinder(QWidget *parent = nullptr);
~KeyBinder() override;
static QKeySequence BindKey(QString CurValue);
private:
Ui::KeyBinder *ui;
bool eventFilter(QObject *obj, QEvent *event);
};
#endif // QT_KeyBinder_HPP