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.2.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.2-py3-none-any.whl (912.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qtextra-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 252d693ac44c2a50b4f32a1cc351bc46f761065a438c1455d5456fdc56ebb094
MD5 b0a2c80314b81ec87d5ac3f76e93fd45
BLAKE2b-256 bc92757ce06c12dff6cc8bfd74a75cb1af4a43faae00cb7f4957d2f67408e4d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qtextra-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 912.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c3bbb5bebbb22765e2c269da3148bed35b65e3fef1c3dc43ced66a30e5edcf97
MD5 4d81b465db128e9dfe8612d18e07ae0d
BLAKE2b-256 40dd3bf59a7cb1dc776a495c334c41427348cf2837efd3aa9a0a81d70a0be5b4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 files

0.2.1

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