Re: [PyQt] signal-slot connect problem

2008-01-09 Thread Martin Höfling
Am Mittwoch, 9. Januar 2008 schrieb Aaron Digulla: > Quoting Phil Thompson <[EMAIL PROTECTED]>: > >> I mean it is a very common mistake, even for advanced PyQt developers, > > > > Is it? I'wouldn't consider myself as an advanced PyQt developer, but for me it is. > In my projects, I'm predefining

Re: [PyQt] signal-slot connect problem

2008-01-09 Thread Aaron Digulla
Quoting Phil Thompson <[EMAIL PROTECTED]>: I mean it is a very common mistake, even for advanced PyQt developers, Is it? In my projects, I'm predefining all signals and slots as python constants and use those in connect() and emit(). a) makes the code more reliable and b) enables code com

Re: [PyQt] signal-slot connect problem

2008-01-09 Thread Phil Thompson
On Wednesday 09 January 2008, David Douard wrote: > On Tue, Jan 08, 2008 at 05:26:53PM +, Phil Thompson wrote: > > On Tuesday 08 January 2008, Martin Höfling wrote: > > > Hi all, > > > > > > I am trying to create a filter Toolbar bar class, filtering a model. > > > > > > why does the following

Re: [PyQt] signal-slot connect problem

2008-01-09 Thread David Douard
On Tue, Jan 08, 2008 at 05:26:53PM +, Phil Thompson wrote: > On Tuesday 08 January 2008, Martin Höfling wrote: > > Hi all, > > > > I am trying to create a filter Toolbar bar class, filtering a model. > > > > why does the following connect command in the loadModel Method not work?: > > > > clas

Re: [PyQt] signal-slot connect problem

2008-01-08 Thread Phil Thompson
On Tuesday 08 January 2008, Martin Höfling wrote: > Hi all, > > I am trying to create a filter Toolbar bar class, filtering a model. > > why does the following connect command in the loadModel Method not work?: > > class FilterToolBar(QToolBar): > def __init__(self): > super(FilterTool

[PyQt] signal-slot connect problem

2008-01-08 Thread Martin Höfling
Hi all, I am trying to create a filter Toolbar bar class, filtering a model. why does the following connect command in the loadModel Method not work?: class FilterToolBar(QToolBar): def __init__(self): super(FilterToolBar,self).__init__(QString("Filter")) self.expFilterCombo