An open API service indexing awesome lists of open source software.

https://github.com/kanryu/qactionmanager

A portable component for providing keyboard and mouse input customization functions to applications
https://github.com/kanryu/qactionmanager

keyboard mouse qt shortcuts

Last synced: about 1 year ago
JSON representation

A portable component for providing keyboard and mouse input customization functions to applications

Awesome Lists containing this project

README

          

# 1. QActionManager
A portable component for providing keyboard and mouse input customization functions to applications

## 1.2 Summary

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.

![keyconfigcapture](https://user-images.githubusercontent.com/759165/49050142-53e49080-f225-11e8-81b1-b00b06345a59.png)

![mouseconfigcapture](https://user-images.githubusercontent.com/759165/49050163-69f25100-f225-11e8-8a90-256e3a1eea5a.png)

# 2. QMouseSequence

A simple object provides to serialize mouse inputs like QKeySequence

## 2.2 Summary

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](https://github.com/kanryu/quickviewer).

## License
BSD-2
Copyright (c) 2017, KATO Kanryu