PDA

View Full Version : QT & Python



Chamillionaire2
June 9th, 2010, 06:58 PM
Zoinks!

So, I've started using QT Designer to make a nice looking UI for my python script, I've made a nice looking console, However it will be useless if I can't execute python script upon certain events, How could I say, Upon button1 being clicked perform some python commands?

Thanks Bye!

Bachstelze
June 9th, 2010, 07:19 PM
http://zetcode.com/tutorials/pyqt4/

The "First Programs" chapter has an example with a button.