Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danbradham/psforms
Forms in PySide without hassle
https://github.com/danbradham/psforms
Last synced: about 2 months ago
JSON representation
Forms in PySide without hassle
- Host: GitHub
- URL: https://github.com/danbradham/psforms
- Owner: danbradham
- License: mit
- Created: 2015-02-03T14:48:40.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2021-12-11T14:40:08.000Z (about 3 years ago)
- Last Synced: 2024-10-03T06:25:49.976Z (3 months ago)
- Language: Python
- Size: 924 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. 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 [email protected]/danbradham/psforms.git
cd psforms
python setup.py installDocumentation
=============For more information visit the `docs `_.