Skip to main content

Ribbon Bar for PyQt or PySide applications

Project description

PyQtRibbon

Documentation Status Tests PyPI Coverage Status

PyPI license PyPI pyversions PyPI PyPI download month

Ribbon Bar for PyQt or PySide applications.

Installation

PyQtRibbon is distributed to PyPI, you can use pip to install it:

pip install pyqtribbon

You can also install the package from source:

pip install git+https://github.com/haiiliin/pyqtribbon.git@main

Compatible Python and PyQt/PySide Versions

Python PyQt5 PyQt6 PySide2 PySide6
3.8 :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
3.9 :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
3.10 :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
3.11 :white_check_mark: :white_check_mark: :x: [^1] :white_check_mark:
3.12 :white_check_mark: :white_check_mark: :x: [^1] :white_check_mark:

[^1]: PySide2 does not support Python 3.11+ yet.

The Ribbon Bar

The ribbon is first introduced by Microsoft in the 2000's. It is a toolbar with a tabbed interface. According to Microsoft:

  • A ribbon is a user interface (UI) element that organizes commands into logical groups. These groups appear on separate tabs in a strip across the top of the window. The ribbon replaces the menu bar and toolbars. A ribbon can significantly improve application usability. For more information, see Ribbons. The following illustration shows a ribbon. A ribbon can significantly improve application usability. For more information, see Ribbons. The following illustration shows a ribbon.

    ribbon_no_callouts

Definitions of Ribbon Elements

  • Application button: The button that appears in the upper-left corner of a ribbon. The Application button replaces the File menu and is visible even when the ribbon is minimized. When the button is clicked, a menu that has a list of commands is displayed.

  • Quick Access toolbar: A small, customizable toolbar that displays frequently used commands.

  • Category: The logical grouping that represents the contents of a ribbon tab.

  • Category Default button: The button that appears on the ribbon when the ribbon is minimized. When the button is clicked, the category reappears as a menu.

  • Panel: An area of the ribbon bar that displays a group of related controls. Every ribbon category contains one or more ribbon panels.

  • Ribbon elements: Controls in the panels, for example, buttons and combo boxes. To see the various controls that can be hosted on a ribbon, see RibbonGadgets Sample: Ribbon Gadgets Application.

Screenshots

An Example

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

pyqtribbon-0.7.5.tar.gz (336.5 kB view details)

Uploaded Source

Built Distribution

pyqtribbon-0.7.5-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

Details for the file pyqtribbon-0.7.5.tar.gz.

File metadata

  • Download URL: pyqtribbon-0.7.5.tar.gz
  • Upload date:
  • Size: 336.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.9

File hashes

Hashes for pyqtribbon-0.7.5.tar.gz
Algorithm Hash digest
SHA256 6960e7cca06dca495d6fd6b4b3702e0e8e1659ac21ad5cf52bc446119e655d1f
MD5 c8a2659f02360ad886277dffec2cff62
BLAKE2b-256 dfb4036d0ca3d78bea0dcf7c485504a3dee5f33b65f357c10c146203bd7fbf1e

See more details on using hashes here.

File details

Details for the file pyqtribbon-0.7.5-py3-none-any.whl.

File metadata

  • Download URL: pyqtribbon-0.7.5-py3-none-any.whl
  • Upload date:
  • Size: 49.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.9

File hashes

Hashes for pyqtribbon-0.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c5f4cff452a1009e6f0aa7a372e4c726c2fbe3f2e372a0428090af5c8ffa16f1
MD5 ef1f86d5916515a7832ae216bfc67830
BLAKE2b-256 4c7c5fc5b8fb94242773bf0cbc72eb7134e1e2fa8553d734868301d770b07ee9

See more details on using hashes here.

Supported by

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