A portable component for providing keyboard and mouse input customization functions to applications
A portable component for providing keyboard and mouse input customization functions to applications
It contains QKeySequence or QMouseSequence and QAction(default) mapping.
Each Action can have/set unique Keyboard/Mouse Sequence.
It has default mapping, and can restore setting.
Each shortcut can be serialized as a character string, It can be stored in the registry or ini file.
A simple object provides to serialize mouse inputs like QKeySequence
QMouseSequence is a class created by mimicking QKeySequence and holds mouse buttons, wheels, key codes as unique values.
Instances of this class are values rather than objects, are copyable and comparable, and do not have destructors. Therefore, you can use this class as QMap's Key or Value.
QMouseSequence is effectively a list of instances of QMouseValue.
A QMouseValue instance can be serialized to a string, and a QMouseSequence instance can be serialized with ',' separator in one string.
These are a part of QuickViewer.
BSD-2 Copyright (c) 2017, KATO Kanryu