Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/david-cattermole/qt-learning
User Interfaces written with the Qt framework using various techniques as a journey of self-discovery and to learn the best practices of working with Qt
https://github.com/david-cattermole/qt-learning
best-practices journey python qt-framework ui user-interface
Last synced: 4 months ago
JSON representation
User Interfaces written with the Qt framework using various techniques as a journey of self-discovery and to learn the best practices of working with Qt
- Host: GitHub
- URL: https://github.com/david-cattermole/qt-learning
- Owner: david-cattermole
- License: bsd-3-clause
- Created: 2017-07-18T12:16:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-18T23:16:41.000Z (over 6 years ago)
- Last Synced: 2024-09-29T07:23:21.009Z (5 months ago)
- Topics: best-practices, journey, python, qt-framework, ui, user-interface
- Language: Python
- Size: 713 KB
- Stars: 13
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Qt Learning
User Interfaces written with the Qt framework using various techniques as a journey of self-discovery and to learn the best practices of working with Qt.This project can be considered a constant work in progress, it is used for experimentation and testing with no functional goal in sight; only the goal of learning.
Take a look at the various [window screenshots](https://github.com/david-cattermole/qt-learning/blob/master/docs/windows.md).
# Installation
Dependencies:
- Qt4
- Python 2.7.x
- PyQt4 or PySide
- [Qt.py 0.6.9](https://github.com/mottosso/Qt.py/releases/tag/0.6.9)Optional Dependencies:
- Autodesk MayaTo install, run this:
```commandline
$ cd$ su
# Enter password here.$ python setup.py install
```Or, if you have virtualenv installed:
```commandline
$ cd$ mkdir virtenv
$ virtualenv virtenv
$ virtenv/bin
$ source activate
$ cd ../..
$ pip install Qt.py
$ pip install python-pyqt5
# Optional, required for running tests only.
$ pip install coverage$ python setup.py install
# Use package as needed.
# Clean up when you're done.
$ deactivate
```# Usage and Testing
Here is an example usage:
```commandline
$ python runStandalone.py
```Or if you'd like to use the widgets inside your own UIs, try this:
```python
# do stuff here
```To open all the UIs in this project for testing, run the following command:
```commandline
$ python runStandalone.py
```# Development
## Convention
- PEP8 Python convention for code.
- All UIs are first created in Qt Designer.
- UIs are always saved into ./ui directory.## Design
- All UI pieces must be re-usable