31 lines
573 B
C++
31 lines
573 B
C++
#ifndef KEYSTROKEEDITORWINDOW_H
|
|
#define KEYSTROKEEDITORWINDOW_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class KeystrokeEditorWindow;
|
|
}
|
|
|
|
class KeystrokeEditorWindow : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit KeystrokeEditorWindow(const quint8 &row, const quint8 &column, const bool &dial, QWidget *parent = nullptr);
|
|
~KeystrokeEditorWindow();
|
|
|
|
private slots:
|
|
void saveNewKeyPressMacro();
|
|
void saveNewRotateLeftMacro();
|
|
void saveNewRotateRightMacro();
|
|
|
|
private:
|
|
Ui::KeystrokeEditorWindow *ui;
|
|
|
|
quint8 row = 0;
|
|
quint8 column = 0;
|
|
};
|
|
|
|
#endif // KEYSTROKEEDITORWINDOW_H
|