Hassle free PySide forms.
Project description
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.
Source Distribution
psforms-0.5.1.tar.gz
(416.2 kB
view hashes)
Built Distributions
psforms-0.5.1-py2.py3-none-any.whl
(433.6 kB
view hashes)
psforms-0.5.1-py2-none-any.whl
(433.6 kB
view hashes)
Close
Hashes for psforms-0.5.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0062e5f62562066770bbf9ba49da06ca3e104502f778a706c9133048d059ce93 |
|
MD5 | 3a117dedb287475b8c013a58158453dd |
|
BLAKE2b-256 | 0d637b566bf34b056998211f12fdcd4a49eb5b42a3cf2dc5777877edb9a2c162 |