qt-command-palette
A command palette widget for Qt applications. This module provides a Pythonic way to register command actions to any Qt widgets.
Installation
pip install qt-command-palette
Usage
-
Register functions using
registerfunction.from qt_command_palette import get_palette # create command palette instance (with optional app name as an argument) palette = get_palette("myapp") # prepare a command group group = palette("Command group 1") # This function will be shown as "Command group 1: run_something" @group.register def run_something(): ... # This function will be shown as "Command group 1: Run some function" @group.register(desc="Run some function") def run_something(): ...
-
Install command palette into Qt widget.
# instantiate your own widget qwidget = MyWidget() # install command palette, with optional shortcut palette.install(qwidget, "Ctrl+Shift+P") qwidget.show()
Metadata
Release files for qt-command-palette 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| qt_command_palette-0.0.10.tar.gz | 164.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qt_command_palette-0.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 176.7 kB
Release files / qt_command_palette-0.0.10.tar.gz
| Download URL | qt_command_palette-0.0.10.tar.gz |
|---|---|
| Size | 164.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf6f0692bfd26345b677422c263f3697c8ad71bb2c56165f35d9ddfe51c81636
|
|
BLAKE2b-256 checksum How to use checksums |
3b36fc5ac4129c984cd209d711d68720100c6338e3ec490a1572bc61a678b07c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.0
|
Release files / qt_command_palette-0.0.10-py3-none-any.whl
| Download URL | qt_command_palette-0.0.10-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff1b9bdf2c3518228f80555b32156efbaa1cdc777a8e642ba0bbb4403a106877
|
|
BLAKE2b-256 checksum How to use checksums |
6f00e66dd0ebc3d9bb41f8099ad99989ca9bc515b520ab82a27f00ba3ce4c4ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.0
|
Security for qt-command-palette 0.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.