mirror of
https://git.citron-emu.org/Citron/Citron.git
synced 2025-02-03 14:56:25 +01:00
57a4a2ae0f
* Adds a new Hotkeys tab in the Controls group. * Double-click a Hotkey to rebind it.
24 lines
520 B
C++
24 lines
520 B
C++
// Copyright 2018 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <QDialog>
|
|
|
|
class QKeySequenceEdit;
|
|
|
|
class SequenceDialog : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SequenceDialog(QWidget* parent = nullptr);
|
|
~SequenceDialog() override;
|
|
|
|
QKeySequence GetSequence() const;
|
|
void closeEvent(QCloseEvent*) override;
|
|
|
|
private:
|
|
QKeySequenceEdit* key_sequence;
|
|
bool focusNextPrevChild(bool next) override;
|
|
};
|