Skip to main content

qtextra

License PyPI Python Version Test codecov

Extra widgets and dialogs for PyQt/PySide via qtpy

qtextra packages reusable Qt widgets, dialogs, and helpers that sit on top of PyQt/PySide through qtpy. The library focuses on opinionated, application-level building blocks such as searchable comboboxes, step progress indicators, styled buttons, collapsible sections, and utility dialogs.

qtextra widget showcase

Components are tested on:

  • macOS, Windows & Linux
  • Python 3.10 and above
  • PyQt5 (5.11 and above) & PyQt6
  • PySide2 (5.11 and above) & PySide6

The project overlaps somewhat with superqt, but it leans more heavily into application-ready widgets and bundled styling in src/qtextra/assets/stylesheets.

Documentation

Documentation is available at https://lukasz-migas.github.io/qtextra/

Installation

pip install qtextra

Optional extras:

pip install "qtextra[console,sentry]"

Quick Start

from qtpy.QtWidgets import QApplication, QVBoxLayout, QWidget

from qtextra.config import THEMES
from qtextra.widgets.qt_collapsible import QtCheckCollapsible
from qtextra.widgets.qt_progress_step import QtStepProgressBar

app = QApplication([])

window = QWidget()
layout = QVBoxLayout(window)

steps = QtStepProgressBar()
steps.labels = ["Load", "Validate", "Export"]
steps.value = 2
layout.addWidget(steps)

details = QtCheckCollapsible("Advanced options")
details.addRow("Status", QWidget())
layout.addWidget(details)

THEMES.apply(window)
window.show()
app.exec_()

A larger showcase example is available at examples/qt_readme_showcase.py.

Documentation

Contributing

Contributions are always welcome. Please feel free to submit PRs with new features, bug fixes, or documentation improvements.

git clone https://github.com/lukasz-migas/qtextra.git

pip install -e ".[dev]"
pytest

Download files

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

Source Distribution

qtextra-0.2.1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

qtextra-0.2.1-py3-none-any.whl (905.7 kB view details)

Uploaded Python 3

File details

Details for the file qtextra-0.2.1.tar.gz.

File metadata

  • Download URL: qtextra-0.2.1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for qtextra-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e0c069191f1216481d759eb77be1ca8bddc0b2cb3589e85ff953fca218c5a6da
MD5 9beb5619bad8c8c937dc0d4e0d5857b7
BLAKE2b-256 e9a18771682bd93729bd254ab08bb2915b2bdf6d2aa7d127cf1853b15fa47ebf

See more details on using hashes here.

File details

Details for the file qtextra-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: qtextra-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 905.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for qtextra-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d25b5a91d376d738cf9ccd0f2b59c89e84d8febeed8de2823eb616fb900a2394
MD5 07d5ea85f3f79fcc2036db548e15a6a1
BLAKE2b-256 fc3c22c11f90cdb7c28b324b91ca345f52137e6c52ec7564a0e41ce24480fc72

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page