[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: Reimplementation of a slot?
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       2003-04-24 15:05:28
[Download RAW message or body]

On Thursday 24 April 2003 2:55 pm, Birgit Lachner wrote:
> Hi ...
> I created a ui-file with QtDesigner and translated it to Python with pyuic.
> The new .py-file is then imported to the file with the main-function.
> Everything is working. But I want to reimplement the existing slot in the
> pyuic-generated file.
> How can I do this? I search through the internet and found many documents
> about Python, Qt and slots but nothing about how to reimplement slots.
>
> Can you help me?

You can either sub-class the class created by pyuic and re-implement the slot 
there.

Or you can put Python code directly into Qt Designer and pyuic will extract 
it. This is covered under "Using Qt Designer" in the PyQt documentation.

Phil

-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic