Re: [PyQt] PyQt4 snapshot build issue with Qt 4.4.3

2011-01-05 Thread Hans-Peter Jansen
On Tuesday 04 January 2011, 15:31:53 Phil Thompson wrote: On Tue, 4 Jan 2011 13:35:14 +0100, Hans-Peter Jansen h...@urpla.net wrote: Hi Phil, wishing you a Happy New Year. Starting over right away, current PyQt4 snapshots seem to suffer from a build issue with Qt 4.4.3 resulting

[PyQt] display QImage using QtPainter

2011-01-05 Thread Massimo Di Stefano
hello All, i'm tring to use QtPainter to display a QImage object this is my paint event : def paintEvent(self, event): painter = QPainter(self) painter.fillRect(event.rect(), QBrush(Qt.black)) image = self.receiver.getimage() print image , 'passed'

[PyQt] saveState()/restoreState() of a nested QMainWindow

2011-01-05 Thread Bram Marien
Hello everybody, I'm trying to use QSettings to save and restore the window configuration, and the size and position of its docking widgets to be more precise, in my application. My application is a normal QMainWindow (let's call this 'outer'), which has a QDockWidget, and a normal QWidget as

[PyQt] modules, nameSpaces, and Wizards

2011-01-05 Thread James Polk
Good Day to All, I'd like to engage the heavy weight gurus out there, but anyone is welcome to respond,.. (Apologies for the long-winded email, but difficult to accurate explain) Though not new to software development, I'm still a bit of a green horn in PyQt, and in my usual habit of running

Re: [PyQt] modules, nameSpaces, and Wizards

2011-01-05 Thread James Polk
well, being the hacker I am ;-) I found a convenient, but perhaps not elegant solution... I simply cat'd the stripped main file the ui_AAA.py file, so that all graphical elements get the same namespace... Still, I get the sense I'm not following good form, and would still like to hear from

Re: [PyQt] modules, nameSpaces, and Wizards

2011-01-05 Thread Mike Ramirez
On Wednesday, January 05, 2011 10:12:30 am James Polk wrote: So, strategically thinking,...what's the best way to achieve this kind of program/module sharing/linking? Any thoughts, suggestions, advice, or words of wisdom, is mostly greatly appreciated, Thank you, -James I'm not really

Re: [PyQt] display QImage using QtPainter

2011-01-05 Thread Massimo Di Stefano
Hi All, i fixed my problem ... the Qt code works fine i haven't changed it the problem was during the conversion between PIL image Object to QImage Object thanks to some web search i fixed it adding the 2 function : open() and __PIL2Qt() using them i'm now able to performs some image