formlayout 1.2.0
pip install formlayout
Latest version
Released:
The most easy way to create Qt form dialogs and widgets with Python
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Pierre Raybaut
- Tags PyQt4, PyQt5, PySide, GUI
Classifiers
- Development Status
- License
- Operating System
- Programming Language
- Topic
Project description
- With formlayout, generating a form is very easy:
To show a dialog box, just call the fedit function.
To set-up the form dialog, simply use lists to pass parameters (field names, default values, …).
To embedd formlayout in your own library, just copy the formlayout autoconsistent single script (zero dependency, except Qt itself).
Here is a simple example (more are included in source package):
from formlayout import fedit datalist = [('Name', 'Paul'), (None, None), (None, 'Information:'), ('Age', 30), ('Sex', [0, 'Male', 'Female']), ('Size', 12.1), ('Eyes', 'green'), ('Married', True), ] fedit(datalist, title="Describe yourself", comment="This is just an <b>example</b>.")
This shows the following dialog box:
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Pierre Raybaut
- Tags PyQt4, PyQt5, PySide, GUI
Classifiers
- Development Status
- License
- Operating System
- Programming Language
- Topic
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
File details
Details for the file formlayout-1.2.0.tar.gz
.
File metadata
- Download URL: formlayout-1.2.0.tar.gz
- Upload date:
- Size: 79.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2816a408c5a78939f917dd0671b6f19e5d21aecc8f42f9a90b604a1481817e32 |
|
MD5 | 12d294a554d4a9b3c40e56b38e3377fe |
|
BLAKE2b-256 | 3a0b2b0bfc7992e099f37178f2e946fed30ca461f90007735800ee6eac3249cb |
File details
Details for the file formlayout-1.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: formlayout-1.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 703dedc1c1b2a4309c6a1f4e70a526ed9c52de656cb4960e5378aae3985f2a4c |
|
MD5 | 6b8ef7677284060c44e033815d4fb06b |
|
BLAKE2b-256 | a624641cfbac0dece019aea42d96d959e50a547a00d96ff0fa499484e37abe05 |