Newbie question: PyQt & Form::init()

Sven Ehret sation at web.de
Mon Sep 25 08:51:47 EDT 2006


Hello List,

I am trying to learn Python and followed the tutorial at
http://www.cs.usfca.edu/~afedosov/qttut/. Being happy that it works, I am
now trying to do my own project, but I am having problems with
initialization of my form.

I want to automatically fill a couple of comboboxes upon starting the
program. I read on the net that I simply have to add a function
called »Form1.Init()« with the content I wish to have executed at start
time. However, it never gets executed, so it seems. When I re-write the
application to have the code executed at the press of a button, it works.
What am I doing wrong?

Sorry for my newbieness ;)



More information about the Python-list mailing list