Skip to main content

Helper functions for PySide2 UI Widgets

Project description

PyPI Supported Python Versions PyPI version Message

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, ...

Push Button

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/demo and 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyside_ui_backpack-1.0.8.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyside_ui_backpack-1.0.8-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

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

Hashes for pyside_ui_backpack-1.0.8.tar.gz
Algorithm Hash digest
SHA256 2eee52c781a4ea36b17186a6883cd348df750caf8d9f9ff3c1b676e8ef37dce2
MD5 39b4f5c84c58c4a29f4fb27dada6cb01
BLAKE2b-256 c37bb2b19926ce5f7045fdba5e42082bd0534b27a6e4e7cd311d6e64c60a174f

See more details on using hashes here.

File details

Details for the file pyside_ui_backpack-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for pyside_ui_backpack-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1d5ed1e158d239580eaa94a6e50e738db191590b69288a453393ff3a5960a473
MD5 fe1dec2574e29320ed6f5abc3b7c0e8e
BLAKE2b-256 6be170c6396c5751144a6a4180fdabcde17ff51b64b087bfefd55ef12e8ef61f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page