Skip to main content

qt-parameters

PyPI version Python License Ruff ty

This is a collection of Qt parameter widgets and forms for Python. It is designed to provide an efficient way for creating a parameter interface for your application. The parameter widgets use a unified interface and work with complex data types such as Enum and Qt types like QPoint, QColor, etc.

This package uses Material Icons from qt-material-icons.

Header

Installation

Install using pip:

pip install qt-parameters

Usage

from PySide6 import QtWidgets
import qt_parameters

app = QtWidgets.QApplication()

editor = qt_parameters.ParameterEditor()

# Add simple parameters
editor.add_parameter(qt_parameters.FloatParameter('float'))
editor.add_parameter(qt_parameters.StringParameter('string'))
editor.add_parameter(qt_parameters.PathParameter('path'))

# Customize parameter properties
parm = qt_parameters.PointFParameter('pointf')
parm.set_line_min(1)
parm.set_line_max(7)
parm.set_decimals(3)
editor.add_parameter(parm)

editor.show()

# Access the parameter values
print(editor.values())

app.exec()

For more examples see the examples directory.

Generic

Parameters are generic over their value type, so value() and set_value() are typed. Parameters that work with arbitrary data take a type argument:

from enum import Enum

from qt_parameters import ComboParameter, EnumParameter


class Vehicle(Enum):
    Bicycle = 'Bicycle'
    Car = 'Car'
    Plane = 'Plane'


parm = EnumParameter[Vehicle]('vehicle')
parm.set_enum(Vehicle)
value = parm.value()  # Vehicle | None

parm = ComboParameter[int]('level')
parm.set_items({'Low': 1, 'Medium': 2, 'High': 3})
value = parm.value()  # int | None

Parameters

Parameter Value type
BoolParameter bool
IntParameter int
FloatParameter float
MultiIntParameter tuple[int, ...]
MultiFloatParameter tuple[float, ...]
StringParameter str
StringListParameter tuple[str, ...]
PathParameter str
ComboParameter[T] T
EnumParameter[E] E (an Enum)
MultiComboParameter[T] tuple[T, ...]
TokenParameter[T] tuple[T, ...]
PointParameter QPoint
PointFParameter QPointF
SizeParameter QSize
SizeFParameter QSizeF
ColorParameter QColor
TabDataParameter tuple[tuple[object, ...], ...]
CrumbParameter T
ListParameter tuple[object, ...]

Helpers

Helper Description
ParameterForm grid container for parameters, forms, and widgets
ParameterEditor scrollable form of parameters
ParameterWidget base class for all parameters
ParameterLabel parameter label widget
ParameterToolTip tooltip helper for parameters
CollapsibleBox collapsible and optionally checkable container
RadioTabWidget tab widget where only one tab is active
Label icon and text label with severity levels

Screenshots

Editor

Editor

Numbers

Numbers

Strings

Strings

Combos

Combos

Qt Types

Qt Types

Multi Combos

Multi Combos

Lists

Lists

Tab Data

Tab Data

Breadcrumbs

Breadcrumbs

Contributing

To contribute please refer to the Contributing Guide.

License

MIT License. Copyright 2024 - Beat Reichenbach. See the License file for details.

Metadata

Release files for qt-parameters 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qt-parameters 1.5.0
File Size Uploaded Provenance Actions
qt_parameters-1.5.0.tar.gz 45.8 kB With provenance Details for qt_parameters-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qt-parameters 1.5.0
File Interpreter ABI Platform Actions
qt_parameters-1.5.0-py3-none-any.whl Python 3 none any Details for qt_parameters-1.5.0-py3-none-any.whl

Total release size: 100.9 kB

Release files / qt_parameters-1.5.0.tar.gz

Download URL qt_parameters-1.5.0.tar.gz
Size 45.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a5052262d5c19eb51da9fc6105809d3f5609b53f48b79adefcd10c9044d8d798
BLAKE2b-256 checksum
How to use checksums
2aec86a9b585cdf0530174adf3acde194a4fe04f8a99e1e4e14255708e3081ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / qt_parameters-1.5.0-py3-none-any.whl

Download URL qt_parameters-1.5.0-py3-none-any.whl
Size 55.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4ae42edfa034e5da4ceb705c692fb8ff219a09c6b722eb731b96b1a91835863
BLAKE2b-256 checksum
How to use checksums
1e6e9dbd3a08322d50344ccd6616d16350fcbb4c62e6ccfb3f0d7ed90774947f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Security for qt-parameters 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qt_parameters-1.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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