![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Expert Programmer
|
I wrote this tutorial for someone who needed it, but I think other people might find it useful because there aren't many tutorials out there covering this.
It basically covers how to design Python GUI programs visually for PyQt. Qt Designer is similar to VB but with a nice interface and it uses a decent language (C++). But this tutorial shows how to use Python instead of C++ with it. Its in PDF because it contains images and can be obtained here: http://www.savefile.com/files/4098088 If any wants to host it on their server, please do then link it here, because savefile deletes the file after 14 inactive days. Have fun. --ColdDeath EDIT: If someone does want to host it, please PM me and i'll send the HTML version if you prefer it.
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#2 |
|
Expert Programmer
|
OK here is this tutorial:
HTML: http://cerulean.pyresoft.com/docs/pyqt/ PDF: http://cerulean.pyresoft.com/docs/pyqt/tutorial.pdf Thanks to Cerulean for the hosting ![]() I hope someone finds some use for it ![]()
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Pretty neat! I hadn't touched Qt Designer before - looks like its more useful than I thought. I might post up a PyGTK/Glade tutorial that mimics your Qt one, if you don't mind; it would be interesting to compare the two toolkits.
|
|
|
|
|
|
#4 |
|
Expert Programmer
|
Yeah great!
Its great how you can use that C++ Qt tool to create your Python GUI ![]() Theres nothing more i can add to that tutorial without explaining the functions of every widget and their properties. If you want to find out about the different Qt classes and widget properties etc. check these pages: http://doc.trolltech.com/3.1/index.html http://doc.trolltech.com/3.1/classes.html (most useful page about classes) The prototpyes are in C++, but are easily converted into Python, all the names stay the same. I'll look forward to your tutorial and i'll definately try it out ![]()
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#5 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
That looks really cool
. Good work. |
|
|
|
|
|
#6 | ||
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
Quote:
- but I'm sure your links will be useful to someone else. |
||
|
|
|
|
|
#7 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Funkadelic. Saved - could come in handy if I ever get around to learning this stuff.
![]() |
|
|
|
|
|
#8 |
|
Expert Programmer
|
Yeah Averos, I should have made it clearer that those links were directed to everyone
![]()
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#9 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Update your links so that they point to the Qt 3.3 ones at least coldDeath ;-).
I personally can't wait for PyQt4 to come out... Qt4 is GPL'd on Windows and PyQt4 will be too, so not only will you have the amazing new text and graphics engine (that will be able to display SVG's automagically in 4.1 - the feature I have wanted most for aeons) available, but your GUI applications in Python created with a toolkit cleaner than wxPython (IMHO) and with better documentation, can be distributed cross platform. You can even charge for a GPL'd application if you provide the user with the right to re-distribute under the terms of the GPL and provide source code too :-) |
|
|
|
|
|
#10 |
|
Expert Programmer
|
Nice I didn't realise it would be GPLed on Windows, that was Qts only bad point (IMHO).
Updated link: http://doc.trolltech.com/3.3/index.html ![]()
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|