RE: [PyQt] simpler 'connect' function

2008-01-14 Thread Peter Shinners
> No, but a few ideas have been thrown around on the list in the past couple > of days. > > Your suggestion is nice and concise - the dropping of SIGNAL() was briefly > discussed during developed of PyQt4. Allowing string arguments for the signal/slot name would be a good improvement. Hopefully th

[PyQt] How to determine the color of select items?

2008-01-14 Thread Aaron Digulla
Hello, When I select items in a list, they turn white on a blue background. How do I determine the exact color of that blue shade? Background: I want to implement a graphical drag&drop like the one you have in Windows XP explorer which should feel as if you ripped the selected item out of the lis

Re: [PyQt] Custom widgets usable from designer

2008-01-14 Thread Aaron Digulla
Martin Höfling schrieb: [forgot to reply to the list] > Hi all, > > is there a tutorial or sth which describes how to implement a custom widget > to > make it usable from designer? > > I wanna implement a simple widget consisting of a label a LineEdit (with full > path of file) and a Butto

[PyQt] Custom widgets usable from designer

2008-01-14 Thread Martin Höfling
Hi all, is there a tutorial or sth which describes how to implement a custom widget to make it usable from designer? I wanna implement a simple widget consisting of a label a LineEdit (with full path of file) and a Button to select a file. The Button and the Line Edit should be synced and af

[PyQt] Re: SIP newbie question (%MethodCode oddity)

2008-01-14 Thread Jim Crowell
On Thu, 10 Jan 2008 18:00:36 GMT, [EMAIL PROTECTED] said: > > On Tuesday 08 January 2008, Jim Crowell wrote: > > > > float __float__(); > > %MethodCode > > sipRes = (double)sipCpp->numerator() / sipCpp->denominator(); > > %End > > > > Fraction __add__( Fraction ); > > %MethodCode > > sipR

Re: [PyQt] one column not wrapping in QTableView

2008-01-14 Thread Kerri Reno
Yay! Thanks, Mark, that did it! Having read your (most of) book, I should've thought of that, but it hasn't all sunk in yet. Kerri On 1/14/08, Mark Summerfield <[EMAIL PROTECTED]> wrote: > > On 2008-01-14, Kerri Reno wrote: > > Thanks, Mark, that's closer. But it still only shows part of the n

Re: [PyQt] one column not wrapping in QTableView

2008-01-14 Thread Mark Summerfield
On 2008-01-14, Kerri Reno wrote: > Thanks, Mark, that's closer. But it still only shows part of the note, > 'emergency broadcast system'. Ah, what you need is the single shot timer trick. Add this line at the end of the notesView initializer: QTimer.singleShot(0, self.resizeRowsToContent

Re: [PyQt] one column not wrapping in QTableView

2008-01-14 Thread Kerri Reno
Thanks, Mark, that's closer. But it still only shows part of the note, 'emergency broadcast system'. On 1/12/08, Mark Summerfield <[EMAIL PROTECTED]> wrote: > > On 2008-01-11, Kerri Reno wrote: > > Below is my code. The first column wraps, but the third column doesn't, > > and shows > > > >

Re: [PyQt] pyqt and pycon

2008-01-14 Thread Giacomo Lacava
Clifford, Horst, and everybody else: US-DHS/TSA is not a pyqt-related subject, please leave it off-list :) cheers -- Giacomo Lacava ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] pyqt and pycon

2008-01-14 Thread CLIFFORD ILKAY
Horst Herb wrote: On Saturday 12 January 2008, David Boddie wrote: Some people are able to travel further than others - I'm happy to travel to EuroPython and PyCon UK to give talks, but less comfortable with a long distance trip to the US. I believe that in the current political climate many of