Re: [PyQt] convert windows app to PyQt Widget

2010-12-01 Thread M Chauhan
Thanks Pete, I guess, like you said, I should avoid this on windows. However I will try it on X11 to see if it works fine. Regards, Mrugesh. On 29 November 2010 18:38, Hans-Peter Jansen h...@urpla.net wrote: On Monday 29 November 2010, 16:31:17 M Chauhan wrote: Hello all, I have been

Re: [PyQt] Resize columns in QTreeViewv

2010-12-01 Thread Hans Meine
Hi again! Op den Dunnersdag 25 November 2010 Klock 21:15:19 hett Gionata Boccalini schreven: Ok, don't worry, I absolutely don't want to waste your time!! But what do you mean with In general, your code could (and should) be much more concise. OK, I had a look again, your code is not

[PyQt] QtGui error after installation

2010-12-01 Thread Nicola Creati
Hello, I just installed sip 4.11.2 and PyQt4 4.8.1 and when I import PyQt4.QtGui I get the following error: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases If I reimport PyQt4.QtGui after the error everything goes

[PyQt] QVariant API 2 and QtGui.QGraphicsProxyWidget.itemChange()

2010-12-01 Thread Aron Bierbaum
I believe that we have found a bug with the conversion of QVariant objects in the QGraphicsProxyWidget.itemChange() method when using the API 2 version. The issue seems to be related to the fact that when we try to call setParent() on a graphics item that has overriden the itemChange() method, the

Re: [PyQt] Resize columns in QTreeViewv

2010-12-01 Thread Gionata Boccalini
Wow!! Wonderful!! I wasn't expecting you answer any more!! Thanks for you effort!!! I didn't know about QtGui.QHeaderView.ResizeToContents. Very interesting. I've read all of yous optimization and I (obviously) agree with you!! (Just keep in mind that I was building the first Model/View PyQt

[PyQt] pyqt4 cmake

2010-12-01 Thread luxInteg
Greetings, I am new to your mailing list. I am learnig to use pyqt4 in a cmake project. I have a machine with these:- ---pyQt4, sip-4.10.2,qt-4.6.2 and cmake-2.8.2. a small pyQT4/cmake project as follows:- ---stepA: a file -fileA.sip. ---stepB: Upon execution of fileA.sip, files

[PyQt] Sip usage problem

2010-12-01 Thread James Polk
I read the Wikipedia page that explains what SIP is and does, though I can't say I understood everything it explained ;-) I'm getting a SIP usage error and I was hoping someone here could help me understand the phenomena... In my program (which borrows heavily from the BasicSortFilter example)

[PyQt] How to trigger refresh of background window

2010-12-01 Thread Ian
Hi all, How can I cause a repaint event on a window that is not the current focus? When I click on the window it comes to the front, repaints itself and shows the (changed) data correctly. However in my use case, data shown in the background window, has been updated in another window, and I

Re: [PyQt] Question about Sort/Filter behaviour

2010-12-01 Thread Hans-Peter Jansen
On Wednesday 01 December 2010, 00:47:56 Hans-Peter Jansen wrote: On Tuesday 30 November 2010, 04:02:48 James Polk wrote: For example,...supposed I set filterColumn to Date filterSyntax  to  Wildcard and finally, in filterPattern, I type 1/*    (with no quotes) I would

Re: [PyQt] Sip usage problem

2010-12-01 Thread Hans-Peter Jansen
On Wednesday 01 December 2010, 23:45:44 James Polk wrote: I read the Wikipedia page that explains what SIP is and does, though I can't say I understood everything it explained ;-) I'm getting a SIP usage error and I was hoping someone here could help me understand the phenomena... In my