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.
Metadata
Release files for psforms 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| psforms-0.6.0.tar.gz | 416.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| psforms-0.6.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 850.3 kB
Release files / psforms-0.6.0.tar.gz
| Download URL | psforms-0.6.0.tar.gz |
|---|---|
| Size | 416.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d4f7c805d24bb68e852c7c78d66170497ce12b481ade2e498202553394c437e
|
|
BLAKE2b-256 checksum How to use checksums |
b86fca448a796488211ae90d0b3402cd0ca9c57d840e89ae5112e22db9777384
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / psforms-0.6.0-py2.py3-none-any.whl
| Download URL | psforms-0.6.0-py2.py3-none-any.whl |
|---|---|
| Size | 433.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7f2324ba996913cbf4c145d0057995a512dc96eddaea87453533b801ae2efe5c
|
|
BLAKE2b-256 checksum How to use checksums |
1cb5282f76128078b5752a424711c5906b09687ac1ebd1afe55dbdb25097c8f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|