--- author: '' category: '' date: 2008/10/30 16:59 description: '' link: '' priority: '' slug: BB765 tags: kde, programming, python title: Blogging from LatinoWare type: text updated: 2008/10/30 16:59 url_type: '' --- 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: //ralsina.me/static/latinoware/code.tgz Here is the guide I was using for myself when doing the presentation: 1. a) App backend (1/todo.py) b) Basic window with a treewidget Columns Task/Date/Tags c) Compile archivo .ui, show how it works d) Template for main.py 2. a) Load backend data in the task list b) Show interaction is broken 3. a) Explain signals/slots b) Show difference between 1/main.py 2/main.py c) Explain autoconnect, show on_lista_itemChanged d) Show task persistence working 4. a) Fix tree decorations b) Make items editable c) Explain changes in on_lista_itemChanged d) Explain the problem with editing date and tags inline e) New idea: use a dialog to edit tasks (editor.ui) f) Explain layout managers 5. a) Show changes in main.py 6. a) Actions b) Show actions in designer c) Show actions in main.py 7. a) Tray b) Show tray class in main.py c) Show tray behaviour d) Show differences in main.py