Helper functions for PySide2 UI Widgets
Project description
ps-ui-backpack
PySide UI Utilities
Some shared PySide2 UI utilities for Maya/Houdini/Nuke Qt Tools
Compatibility
- Current release: 1.0.8
- Supported Python versions: 3.9 to 3.15
Installation
pip install pyside-ui-backpack
Demos
Run the manual UI demo applications:
python -m pyside_ui_backpack.demo.demo_push_button_pyside6
python -m pyside_ui_backpack.demo.demo_css_button_pyside6
python -m pyside_ui_backpack.demo.demo_dialogs_pyside6
python -m pyside_ui_backpack.demo.demo_wait_cursor_pyside6
Usage
Widgets
from pyside_ui_backpack import PushButton, Colors
PushButton(parent, 'qt_name', 'Click Me' , (120, 21) , Colors.BLUE)
Dialogs
from pyside_ui_backpack import dialogs
dialogs.inform_dialog(parent, 'message', 'title')
dialogs.inform_dialog_small(parent, 'message', 'title')
dialogs.warning_dialog(parent, 'error_message', 'title')
dialogs.warning_dialog_small(parent, 'error_message', 'title')
CSS
from pyside_ui_backpack import style_push_button, Colors
# style a button widget
button = QPushButton(main_window)
style_push_button(main_window, button, Colors.BLUE)
Colors
Colors.py contains a list of colors
from pyside_ui_backpack import Colors
Colors.DISABLED Colors.BLUE, Colors.RED, Colors.GREEN, Colors.YELLOW, ...
Colors.DARK_BLUE, Colors.DARK_RED, Colors.DARK_GREEN, Colors.DARK_YELLOW, ...
Colors.BG_BLUE, Colors.BG_RED, Colors.BG_GREEN, Colors.BG_YELLOW, ...
Utils
Wait Cursor decorator
from pyside_ui_backpack import wait_cursor
@wait_cursor
def long_running_function():
pass
Changelog (Latest)
- 1.0.8 (03/2026)
- Package version bumped to 1.0.8.
- Python support updated to 3.9 through 3.15.
- Compatibility and typing improvements for PySide2/PySide6 APIs.
- Demo scripts moved to
pyside_ui_backpack/demoand automated tests expanded. - README examples corrected and aligned with current package imports.
Future Update Note
In a future release, support for PySide2 and Python 3.9/3.10 will be dropped.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyside_ui_backpack-1.0.8.tar.gz.
File metadata
- Download URL: pyside_ui_backpack-1.0.8.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.3 CPython/3.14.3 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2eee52c781a4ea36b17186a6883cd348df750caf8d9f9ff3c1b676e8ef37dce2
|
|
| MD5 |
39b4f5c84c58c4a29f4fb27dada6cb01
|
|
| BLAKE2b-256 |
c37bb2b19926ce5f7045fdba5e42082bd0534b27a6e4e7cd311d6e64c60a174f
|
File details
Details for the file pyside_ui_backpack-1.0.8-py3-none-any.whl.
File metadata
- Download URL: pyside_ui_backpack-1.0.8-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.3 CPython/3.14.3 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d5ed1e158d239580eaa94a6e50e738db191590b69288a453393ff3a5960a473
|
|
| MD5 |
fe1dec2574e29320ed6f5abc3b7c0e8e
|
|
| BLAKE2b-256 |
6be170c6396c5751144a6a4180fdabcde17ff51b64b087bfefd55ef12e8ef61f
|