Re: [PyQt] PyQt, QSVGWidget background color

2008-11-04 Thread Phil Thompson
On Tue, 04 Nov 2008 14:32:10 -0500, Matt Smith <[EMAIL PROTECTED]> wrote: > Okay, I made a graphing tool. Works great, somebody suggested that the > background should be white. No problem...I took the widget, > > widget.palette().background().setColor(QColor('white')) > > and it turned white.

[PyQt] PyQt, QSVGWidget background color

2008-11-04 Thread Matt Smith
Okay, I made a graphing tool. Works great, somebody suggested that the background should be white. No problem...I took the widget, widget.palette().background().setColor(QColor('white')) and it turned white. But that turned the background of every widget in the main window white too. Is there

Re: [PyQt] Getting length of QTextEdit without calling w.toPlainText

2008-11-04 Thread Edward K. Ream
On Mon, Nov 3, 2008 at 11:22 AM, Vicent Mas <[EMAIL PROTECTED]> wrote: > Hi, > > I suppose you can use the QTextCursor, move it to the end of your document and > then call its position method (but I haven't tested it). Thanks. The following does indeed work cursor = w.textCursor() curso

Re: [PyQt] Next PyQt, SIP, QScintilla Releases

2008-11-04 Thread Aaron Digulla
Quoting Phil Thompson <[EMAIL PROTECTED]>: The QImage constructor steals a reference to the uchar *data argument instead of increasing the reference count of the input string (tested) or buffer object (untested, but looked into siplib.c). It is the (not very well documented) responsibility of th

Re: [PyQt] Next PyQt, SIP, QScintilla Releases

2008-11-04 Thread Phil Thompson
On Tue, 4 Nov 2008 07:28:44 +0100, Gerard Vermeulen <[EMAIL PROTECTED]> wrote: > On Sat, 01 Nov 2008 17:29:59 + > Phil Thompson <[EMAIL PROTECTED]> wrote: > >> There will be new releases of PyQt, SIP and QScintilla in the next >> few days based on current snapshots. >> >> Let me know if there

Re: [PyQt] PyQt compile error on Windows XP

2008-11-04 Thread Phil Thompson
On Mon, 3 Nov 2008 15:22:44 +0100, Markus Dahlbokum <[EMAIL PROTECTED]> wrote: > On Monday 03 November 2008 13:39:20 you wrote: >> On Mon, 3 Nov 2008 13:10:42 +0100, Markus Dahlbokum <[EMAIL PROTECTED]> >> >> wrote: >> > Hi, >> > >> > I'm building PyQt on win XP with the following configuration: >>

[PyQt] How to return the text of item in QListWidget?

2008-11-04 Thread mili9528
Hi, I just touch the PyQt. Could you please tell me how to return the text of the specified line in the QListWidget? I used the QListWidgetItem.text() to do this task, but it didn't work. peter This message was sent using IMP, the