[PyQt] help learning pyqt

Laurent Hamery laurent-h at moving-picture.com
Thu Sep 4 10:10:03 BST 2008


Hi man,
I think to start learning pyqt you should take a look at the qt 
assistant(documentation). There is all the tutorials and exemple you 
need to understand the basics and even more.
cheers

Laurent

Rance Hall wrote:
> Hello all, im just learning pyqt and after tons of reading, especially
> on the windows bindings for cross dev compatibility I finally decided
> to give pyqt4 a try
> 
> now keep in mind im doing this on a windows box,
> 
> I downloaded a ton of tutorials, howtos, etc and everything seemed to
> work as expected, but enter my first attempt at duplicating a couple
> of basic features to make sure I had it.
> 
> 
> using qt designer on windows I created a form with a button (the
> famous "hello world!" button) and made an attempt to connect the
> clicked() signal of the button to the close() slot of the form.
> 
> saved my .ui file
> 
> pyuic4 converted my .ui file to a _ui.py file
> 
> and then I wrote the main .py file to launch the app.
> 
> the form with button launches fine clicking on the button hides/closes
> the button, NOT the form like I thought it should.
> 
> I havent been home to check this same behavior on a linux box so it
> may well be a windows specfic thing
> 
> Ive attached the .py and the _ui.py files to this question, so can
> someone explain what I'm seeing and tell me what I did wrong, or what
> I don't understand...
> 
> Thanks in advance.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list