mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
[Hotkey] Display hotkey name plus device name in hotkey model, resize view if new key has been added or removed
This commit is contained in:
committed by
Mat Sutcliffe
parent
ef4640e66f
commit
2a34786039
@@ -55,11 +55,12 @@ namespace BlackGui
|
||||
void editEntry();
|
||||
void removeEntry();
|
||||
void hotkeySlot(bool keyDown);
|
||||
void addHotkeytoSettings(const BlackMisc::Input::CActionHotkey &actionHotkey);
|
||||
void addHotkeyToSettings(const BlackMisc::Input::CActionHotkey &actionHotkey);
|
||||
void updateHotkeyInSettings(const BlackMisc::Input::CActionHotkey &oldValue, const BlackMisc::Input::CActionHotkey &newValue);
|
||||
void removeHotkeyFromSettings(const BlackMisc::Input::CActionHotkey &actionHotkey);
|
||||
bool checkAndConfirmConflicts(const BlackMisc::Input::CActionHotkey &actionHotkey, const BlackMisc::Input::CActionHotkeyList &ignore = {});
|
||||
BlackMisc::CIdentifierList getAllIdentifiers() const;
|
||||
void resizeView();
|
||||
|
||||
QScopedPointer<Ui::CSettingsHotkeyComponent> ui;
|
||||
Models::CActionHotkeyListModel m_model; //!< hotkeys model
|
||||
|
||||
Reference in New Issue
Block a user