Skip to main content

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.

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 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


Download files

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

Source Distribution

qt_parameters-1.1.3.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

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

qt_parameters-1.1.3-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file qt_parameters-1.1.3.tar.gz.

File metadata

  • Download URL: qt_parameters-1.1.3.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qt_parameters-1.1.3.tar.gz
Algorithm Hash digest
SHA256 b59c1a4fbf06eeedc0dad1d1f117bf22fd8a2165602989b22e56a42d9fea738b
MD5 03f27fd1d48b6f616e37c42d380726a0
BLAKE2b-256 fa989423183717c49171f038f15fe0b65eda14805df83151a01cad69a570cc7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for qt_parameters-1.1.3.tar.gz:

Publisher: publish.yml on beatreichenbach/qt-parameters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qt_parameters-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: qt_parameters-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 28.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qt_parameters-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eec207bb6a07b2c732147fc97b2ad958b62eacda3efd1fb54b7e89a61de1d1e1
MD5 f853d9c7cd6c792a85ef0b9f066281ed
BLAKE2b-256 4e285fa2ea95d1ffc3f93667d6e347fa4199d54d758bd6c66ddfb5ac8a88da8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for qt_parameters-1.1.3-py3-none-any.whl:

Publisher: publish.yml on beatreichenbach/qt-parameters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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