[PyQt] default to list?

2009-03-12 Thread Damien Elmes
Hi all, Currently the list defaults to the original author when replying. What do you think about changing it to default to replying to the whole list instead? As it stands, people have to go out of their way to make their replies and advice public. Cheers, Damien __

Re: [PyQt] default to list?

2009-03-12 Thread Arnold Krille
Hi, On Thursday 12 March 2009 07:59:10 Damien Elmes wrote: > Currently the list defaults to the original author when replying. What > do you think about changing it to default to replying to the whole > list instead? As it stands, people have to go out of their way to > make their replies and adv

Re: [PyQt] derive from a designer widget

2009-03-12 Thread Andreas Pakulat
On 11.03.09 19:29:17, Mario Daniel Carugno wrote: > 2009/3/11 Andreas Pakulat : > > On 11.03.09 16:55:11, Mario Daniel Carugno wrote: > >> Hi, i'm using pytq4 + designer4. > >> I want to design a generic main window with common buttons (next, > >> previous, new, edit, ...) > >> with a central area

Fwd: Re: [PyQt] default to list?

2009-03-12 Thread Frédéric
Le 12/3/2009, "Arnold Krille" a écrit: >Hi, > >On Thursday 12 March 2009 07:59:10 Damien Elmes wrote: >> Currently the list defaults to the original author when replying. What >> do you think about changing it to default to replying to the whole >> list instead? As it stands, people have to go

Re: [PyQt] default to list?

2009-03-12 Thread Andreas Pakulat
On 12.03.09 15:59:10, Damien Elmes wrote: > Hi all, > > Currently the list defaults to the original author when replying. What > do you think about changing it to default to replying to the whole > list instead? As it stands, people have to go out of their way to > make their replies and advice p

Re: [PyQt] Compile PyQt with mysql driver support

2009-03-12 Thread Nahuel Defossé
El Monday 09 March 2009 17:58:18 Nahuel Defossé escribió: > Hi, > after some google searches I discovered that I had to recompile PyQt to get > MySql support on windows. So I donwloaded Qt 4.4.3 from Trolltech (the > version recompiled and bundled with mingw), sip 4.7.9 and pyqt source > 4.4.4. I c

[PyQt] QSortFilterProxyModel + QTreeView sort problem/bug

2009-03-12 Thread Baba-k
Hi Guys, I'm having a problem whereby the items in the QAbstractItemModel/QTreeView collapse after a sort. Im using a custom QAbstractItemModel wrapped in a QSortFilerProxyModel which is being displayed in a QTreeView. I've enabled sorting in the tree view by calling setSortingEnabled(True) on it

Re: [PyQt] Capturing keypress events

2009-03-12 Thread Sergio Daniel Gomez
Mal Wanstall escribió: I've got a simple little app that pre-loads a list of user defined sounds and I want the sounds to be triggered on a particular key press (also defined by the user). I'm fine with the QSound part of it but am having trouble working out how to get the sounds to play when a

Re: [PyQt] derive from a designer widget

2009-03-12 Thread Mario Daniel Carugno
2009/3/12 Andreas Pakulat : >> Thank you Andreas, i'll try it. Just in case, do you have some example >> of that ? > > Its pretty easy (from the top of my head, so might not work right away, but > you should get the idea) > > class MyMainWindow(QMainWindow): >    def __init__(self,parent): >      

Re: Re: [PyQt] default to list?

2009-03-12 Thread Damien Elmes
It's all very well to say it's a client issue, but if the majority of people are using clients that don't make it easy, then there's an argument for being more pragmatic. Anyway, I can work around it in my client, but my client defaults to personal replies and when I sent an answer to a question e

Re: Re: [PyQt] default to list?

2009-03-12 Thread Andreas Pakulat
On 12.03.09 22:58:56, Damien Elmes wrote: > It's all very well to say it's a client issue, but if the majority of > people are using clients that don't make it easy, then there's an > argument for being more pragmatic. Yeah, its always easier to ignore problems, then to fix them or change one's ha

[PyQt] Re: seeking advice on why this script segfaults

2009-03-12 Thread Darren Dale
On Wed, Mar 11, 2009 at 11:56 AM, Darren Dale wrote: > On Tue, Mar 10, 2009 at 8:03 PM, Darren Dale wrote: > >> On Tue, Mar 10, 2009 at 5:28 PM, Darren Dale wrote: >> >>> Hello, >>> >>> I am trying to create a simple model and view for a simple nested >>> dictionary like d: >>> >>> c1 = {'i

Re: [PyQt] Re: seeking advice on why this script segfaults

2009-03-12 Thread Arnold Krille
On Thursday 12 March 2009 17:31:40 Darren Dale wrote: > If anybody has some example of a working QAbstractItemModel/QTreeView for > dynamic data, would you please consider posting it (if its short) or > sending it to me off list? I've been working on this problem for days now > and I'm not getting

[PyQt] Build problem : Pyqt-4.5 on mac osx Leopard

2009-03-12 Thread massimo di stefano
Hi All, I'm tring to install pyqt4.5 on mac osx leopard (10.5.6) these the procedure i follow to build it : sip: export MACOSX_DEPLOYMENT_TARGET=10.5 python configure.py -n -d /Library/Python/2.5/site-packages \ -b /usr/local/bin -e /usr/local/include -v /usr/local/share/sip \ -s MacOSX10.5.sd

Re: [PyQt] Re: seeking advice on why this script segfaults

2009-03-12 Thread Darren Dale
On Thu, Mar 12, 2009 at 2:57 PM, Arnold Krille wrote: > On Thursday 12 March 2009 17:31:40 Darren Dale wrote: > > If anybody has some example of a working QAbstractItemModel/QTreeView for > > dynamic data, would you please consider posting it (if its short) or > > sending it to me off list? I've

Re: [PyQt] Build problem : Pyqt-4.5 on mac osx Leopard

2009-03-12 Thread Damien Elmes
I posted about this less than a day ago: While I wait for the next snapshot, I have tried compiling against python2.5, and the compile proceeds. However, I did run into an issue with lucene, like mentioned in this post: http://article.gmane.org/gmane.comp.python.pyqt-pykde/12047 I had the same i

Re: [PyQt] Build problem : Pyqt-4.5 on mac osx Leopard

2009-03-12 Thread William Kyngesburye
Or add a symlink in the SDK to libQtLucene. That way when you install a new version of Qt, you don't have to copy the library to the SDK again. sudo ln -s /usr/lib/libQtLucene.dylib /Developer/SDKs/MacOSX10.4u.sdk/ usr/lib On Mar 12, 2009, at 4:48 PM, Damien Elmes wrote: I posted about

Re: [PyQt] Build problem : Pyqt-4.5 on mac osx Leopard

2009-03-12 Thread massimo di stefano
ok, the simlink did the job :-) now qt-4.5 sip-4.8-snapshot-20090311 PyQt-mac-gpl-4.5-snapshot-20090311 are compiled on osx. i'll try to run some examples to see if all woks fine :-) thanks for the help! Massimo Di Stefano massimodisa...@yahoo.it epifanio on irc.freenode.net /join gfoss

Re: [PyQt] QTextEdit.ExtraSelection not working anymore

2009-03-12 Thread Henning Schröder
Hello Phil! On Tue, Mar 10, 2009 at 7:34 PM, Phil Thompson wrote: > > This will be fixed in tonight's SIP snapshot. > Thanks it works fine again, I just tested the current snapshot :) But some other behaviour changed and I wonder if this is intentional. The attached example with QTextBlockUserD