mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-07-05 20:42:08 -07:00
22 lines
453 B
C++
22 lines
453 B
C++
// SPDX-License-Identifier: LicenseRef-AGPL-3.0-only-OpenSSL
|
|
|
|
#ifndef CHIAKI_SETTINGSKEYCAPTUREDIALOG_H
|
|
#define CHIAKI_SETTINGSKEYCAPTUREDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
class SettingsKeyCaptureDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
signals:
|
|
void KeyCaptured(Qt::Key);
|
|
|
|
protected:
|
|
void keyReleaseEvent(QKeyEvent *event) override;
|
|
|
|
public:
|
|
explicit SettingsKeyCaptureDialog(QWidget *parent = nullptr);
|
|
};
|
|
|
|
#endif // CHIAKI_SETTINGSKEYCAPTUREDIALOG_H
|