configwidgets
Subclassing QWidgets to save the widget state in a QSettings Instance.
A setup method links the widget to key within the QSettings instance.
The value is loaded during setup and gets stored when the widget state changes.
Without calling this method, the widget has no special behaviour.
See the following snippet for a minimal example:
from PyQt5.QtCore import QSettings
from configwidgets import ConfigCheckBox
config = QSettings()
checkBox = ConfigCheckBox()
checkBox.setup(config, "checkBox")
setup
install the package via pip:
pip install configwidgets
The full documentation can be found under configwidgets documentation The source code can be found under configwidgets repository
Release files for configwidgets 1.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| configwidgets-1.4.3.tar.gz | 23.4 kB | Details |
Release files / configwidgets-1.4.3.tar.gz
| Download URL | configwidgets-1.4.3.tar.gz |
|---|---|
| Size | 23.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcbe2ed2aa28af799d7119219bca1cb262c571213e4f943dd6d9af67e457eb2a
|
|
BLAKE2b-256 checksum How to use checksums |
1210d29fb4d44a14c579cb123ef8281c268bc8ba6a0454865c076836d8855243
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|