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:
3.13 :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.8.tar.gz (408.6 kB view details)

Uploaded Source

Built Distribution

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

pyqtribbon-0.7.8-py3-none-any.whl (49.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyqtribbon-0.7.8.tar.gz
  • Upload date:
  • Size: 408.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pyqtribbon-0.7.8.tar.gz
Algorithm Hash digest
SHA256 234414300a77346afa01c8a3ce2be3919d8d97f96416524fa8082a4168a51229
MD5 b883fdf761f5ebaad27134e0b3089456
BLAKE2b-256 ebe2cb14449b99ff9f967e176ec6872798f6cf445015f9f37b2a629c15ccd70c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyqtribbon-0.7.8-py3-none-any.whl
  • Upload date:
  • Size: 49.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pyqtribbon-0.7.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2a15e1bff3e61add35b8f67c463a591778b3e4b6ffe4414e24398e6f97cf5a31
MD5 96c755648b49455a12e2fdc161c83037
BLAKE2b-256 7fc41c5f762e08343860c4e28103a55021325eb05f51b8cd7957da82514dcd07

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