Newbie question: PyQt & Form::init()
Diez B. Roggisch
deets at nospam.web.de
Mon Sep 25 09:32:15 EDT 2006
Sven Ehret wrote:
> 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?
Show us more code, and we show you the problem. At least we can try then,
until someone finally implements
from __future__ import mindreading
Diez
More information about the Python-list
mailing list