Add custom hotkeys. (#2340)
Co-authored-by: LosFarmosCTL <80157503+LosFarmosCTL@users.noreply.github.com> Co-authored-by: Paweł <zneix@zneix.eu> Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com> Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
// HotkeyCategory describes where the hotkeys action takes place.
|
||||
// Each HotkeyCategory represents a widget that has customizable hotkeys. This
|
||||
// is needed because more than one widget can have the same or similar action.
|
||||
enum class HotkeyCategory {
|
||||
PopupWindow,
|
||||
Split,
|
||||
SplitInput,
|
||||
Window,
|
||||
};
|
||||
|
||||
struct HotkeyCategoryData {
|
||||
QString name;
|
||||
QString displayName;
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
Reference in New Issue
Block a user