Skip to content

stoggi/pyside-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyside-example

Example on how to use PySide to create a Python GUI.

Dependencies

You need to install PySide. The best way is with pip. For bonus points, use a virtualenv too.

pip install virtualenv
virtualenv fruit-example
. fruit-example/bin/activate
pip install PySide

If you are on OSX you will need to install Qt first.

brew install qt

To modify the ui file, you need to install QtCreator from qt-project.org.

Generate fruit_ui.py

Run pyside-uic to convert the XML form designer file generated by QtCreator into a python PySide compatible class.

pyside-uic fruit.ui -o fruit_ui.py

Running the application

python fruit.py

About

Example on how to use PySide to create a Python GUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages