Metadata-Version: 2.0
Name: psforms
Version: 0.5.1
Summary: Hassle free PySide forms.
Home-page: http://github.com/danbradham/psforms.git
Author: Dan Bradham
Author-email: danielbradham@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Requires-Dist: Qt.py

.. image:: https://readthedocs.org/projects/psforms/badge/?style=flat-square
    :target: http://psforms.readthedocs.org/en/latest/
    :alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/psforms.svg?style=flat-square
    :target: http://pypi.python.org/pypi/psforms
    :alt: Latest Version

=======
psforms
=======
Hassle free PySide forms.

::

    from psforms import (Form, IntField, StringField,
                         StringOptionField, BoolField)


    class MyForm(Form):
        '''My amazing form, useful in many scenarios.'''

        title = 'My Form'
        int_field = IntField('Integer Value')
        str_field = StringOptionField('String Value', options=['A', 'B', 'C'])
        bool_field = BoolField('Boolean Value')
        strb_field = StringField('String Value B')


    myform_dialog = MyForm.as_dialog()
    if myform_dialog.exec_():
        print dialog.get_value()


Features
========

* Easy Form creation

* Parent forms to your own window or use them as their own stand alone dialog

* Unified api for all standard PySide input widgets


Get psforms
===========

You can install psforms using pip::

    pip install psforms

or you can use setuptools::

    git clone git@github.com/danbradham/psforms.git
    cd psforms
    python setup.py install


Documentation
=============

For more information visit the `docs <http://psforms.readthedocs.org>`_.


