Qt parameter widgets and forms for Python.
Project description
qt-parameters
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.
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 tests directory.
Contributing
To contribute please refer to the Contributing Guide.
License
MIT License. Copyright 2024 - Beat Reichenbach. See the License file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qt_parameters-1.0.1.tar.gz.
File metadata
- Download URL: qt_parameters-1.0.1.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74d6c7c9520d3704ce84761933b9e9903e20eff5381a9e49ef047d359b935619
|
|
| MD5 |
0b7d459ca373180b092d07ae2a7249b8
|
|
| BLAKE2b-256 |
b9d456d4fed5e85e098b6d58a4e2b052cb96078269f49becea4c317c965e58f6
|
Provenance
The following attestation bundles were made for qt_parameters-1.0.1.tar.gz:
Publisher:
publish.yml on beatreichenbach/qt-parameters
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qt_parameters-1.0.1.tar.gz -
Subject digest:
74d6c7c9520d3704ce84761933b9e9903e20eff5381a9e49ef047d359b935619 - Sigstore transparency entry: 175921358
- Sigstore integration time:
-
Permalink:
beatreichenbach/qt-parameters@24af26817849bf6a5db8f9e12647284489a816c8 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/beatreichenbach
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@24af26817849bf6a5db8f9e12647284489a816c8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file qt_parameters-1.0.1-py3-none-any.whl.
File metadata
- Download URL: qt_parameters-1.0.1-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f510af3484e05443c10de4f9242894c254ce537640855d5850acb317efbea9ab
|
|
| MD5 |
4f2270b0138eef45855ab14dace87d1d
|
|
| BLAKE2b-256 |
b279d9deb951b7a94f4fbd1266638f9769aa6571f4c96f14c154f9c3183d47cf
|
Provenance
The following attestation bundles were made for qt_parameters-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on beatreichenbach/qt-parameters
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qt_parameters-1.0.1-py3-none-any.whl -
Subject digest:
f510af3484e05443c10de4f9242894c254ce537640855d5850acb317efbea9ab - Sigstore transparency entry: 175921359
- Sigstore integration time:
-
Permalink:
beatreichenbach/qt-parameters@24af26817849bf6a5db8f9e12647284489a816c8 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/beatreichenbach
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@24af26817849bf6a5db8f9e12647284489a816c8 -
Trigger Event:
release
-
Statement type: