Skip to main content

Hassle free PySide forms.

Project description

Documentation Status 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.

Project details


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
psforms-0.5.0.zip (435.6 kB) Copy SHA256 hash SHA256 Source None Dec 15, 2016

Supported by

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