Metadata-Version: 2.1
Name: formlayout
Version: 1.2.0
Summary: The most easy way to create Qt form dialogs and widgets with Python
Home-page: https://github.com/PierreRaybaut/formlayout
Author: Pierre Raybaut
Author-email: pierre.raybaut@gmail.com
License: MIT
Keywords: PyQt4 PyQt5 PySide GUI
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Widget Sets
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3

.. image:: https://raw.githubusercontent.com/PierreRaybaut/formlayout/master/doc/images/advanced1.png
.. image:: https://raw.githubusercontent.com/PierreRaybaut/formlayout/master/doc/images/advanced2.png
.. image:: 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:

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


