Skip to main content
Help us improve Python packaging – donate today!

The most easy way to create Qt form dialogs and widgets with Python

Project Description

https://pythonhosted.org/formlayout/_images/advanced1.png https://pythonhosted.org/formlayout/_images/advanced2.png https://pythonhosted.org/formlayout/_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://pythonhosted.org/formlayout/_images/simple.png

Release history Release notifications

This version
History Node

1.1.0

History Node

1.0.15

History Node

1.0.13

History Node

1.0.12

History Node

1.0.9

History Node

1.0.8

History Node

1.0.7

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
formlayout-1.1.0-py2.py3-none-any.whl (9.0 kB) Copy SHA256 hash SHA256 Wheel 2.7 Nov 15, 2015
formlayout-1.1.0.zip (9.5 kB) Copy SHA256 hash SHA256 Source None Nov 15, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page