Blogging from LatinoWare
Just finished speaking about PyQt programming in LatinoWare.
It went ok, but I ran out of time, so no Q&A, and I couldn't show about 20% of the code. :-(
Anyway, here is the code in its different stages, so you can see the "evolution" of a simple PyQt app. I will probably turn it into a real tutorial in a few days and post it.
Here is the guide I was using for myself when doing the presentation:
- App backend (1/todo.py)
- Basic window with a treewidget Columns Task/Date/Tags
- Compile archivo .ui, show how it works
- Template for main.py
- Load backend data in the task list
- Show interaction is broken
- Explain signals/slots
- Show difference between 1/main.py 2/main.py
- Explain autoconnect, show on_lista_itemChanged
- Show task persistence working
- Fix tree decorations
- Make items editable
- Explain changes in on_lista_itemChanged
- Explain the problem with editing date and tags inline
- New idea: use a dialog to edit tasks (editor.ui)
- Explain layout managers
- Show changes in main.py
- Actions
- Show actions in designer
- Show actions in main.py
- Tray
- Show tray class in main.py
- Show tray behaviour
- Show differences in main.py
Comments
Comments powered by Disqus