[PyKDE] Newbie pyQt user needs some slot help

Pete Ware ware at cis.ohio-state.edu
Thu May 4 14:41:41 BST 2000


Phil Thompson <phil at river-bank.demon.co.uk> writes:

> I'd be interested to know, when people first started using PyQt/PyKDE,
> what their biggest problem was.
That you had to keep a python reference to qt objects around :-)

        self.widgets = []
        button = qt.QPushButton (...)
        self.widgets.append (button)
        button = qt.QPushButton (...)
        self.widgets.append (button)
        ...

My next problem was when I did call something with the wrong type
arguments, I was frequently slow to figure out which argument was
wrong -- the error message doesn't say it was the 3rd argument, for
example.

--pete




More information about the PyQt mailing list