Skip to main content
https://raw.githubusercontent.com/PierreRaybaut/formlayout/master/doc/images/advanced1.png https://raw.githubusercontent.com/PierreRaybaut/formlayout/master/doc/images/advanced2.png https://raw.githubusercontent.com/PierreRaybaut/formlayout/master/doc/images/advanced3.png
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:

https://raw.githubusercontent.com/PierreRaybaut/formlayout/master/doc/images/simple.png

Release files for formlayout 1.2.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 formlayout 1.2.0
File Size Uploaded
formlayout-1.2.0.tar.gz 79.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for formlayout 1.2.0
File Interpreter ABI Platform
formlayout-1.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 93.2 kB

Release files / formlayout-1.2.0.tar.gz

Download URL formlayout-1.2.0.tar.gz
Size 79.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2816a408c5a78939f917dd0671b6f19e5d21aecc8f42f9a90b604a1481817e32
BLAKE2b-256 checksum
How to use checksums
3a0b2b0bfc7992e099f37178f2e946fed30ca461f90007735800ee6eac3249cb
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / formlayout-1.2.0-py2.py3-none-any.whl

Download URL formlayout-1.2.0-py2.py3-none-any.whl
Size 13.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
703dedc1c1b2a4309c6a1f4e70a526ed9c52de656cb4960e5378aae3985f2a4c
BLAKE2b-256 checksum
How to use checksums
a624641cfbac0dece019aea42d96d959e50a547a00d96ff0fa499484e37abe05
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.15

1 release file

1.0.13

1 release file

1.0.12

1 release file

1.0.9

1.0.8

1.0.7

1.0.5

1.0.4

1.0.3

1.0.2

1.0.1

1.0.0

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