Re: [PyQt] pyqt on portable python?

2010-09-25 Thread Grissiom
if you want to get a lib/app for windows, it's better to get a native env to compile/run/test it ;) -- Cheers, Grissiom ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] [proposal]split ui setting functions into a separate class function

2010-04-08 Thread Grissiom
But I don't want to duplicate the code and parameters. -- Cheers, Grissiom ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Catching exceptions everywhere

2009-05-07 Thread Grissiom
indow.edit is an instance of Qt's QTextEdit class and is used to display > the message. > It seems this is a Really good idea! But what if I want to write messages to the original stderr(i.e, to the terminal)? -- Cheers, Grissiom ___ PyQt mail

Re: [PyQt] Catching exceptions everywhere

2009-05-07 Thread Grissiom
在 星期四 07 五月 2009 19:47:41,Frédéric Mantegazza 写道: > > Is there a way to catch Python exceptions in all parts of a PyQt program? > > > > I have a "report bug" dialog box which gets called if an exception occurs > > in > > the most frequently used parts of my program, but it would be nice if I > > co

Re: [PyQt] Help with New qtdemo Example

2009-04-29 Thread grissiom
ellent Phil~ After this patch(against snapshot-0428), the demo is perfect except the Assistant issue... Cheers, Grissiom diff -ur 0428/qtdemo/colors.py work/demos/qtdemo/colors.py --- 0428/qtdemo/colors.py 2009-04-29 10:41:23.0 +0800 +++ work/demos/qtdemo/colors.py 2009-04-29 21:

[PyQt] Re: pyrcc4 regression in snapshot-0425?

2009-04-28 Thread Grissiom
On Sun, Apr 26, 2009 at 21:40, Grissiom wrote: > Hi list, > > When I want to launch qtdemo with newly generated qtdemo_rc.py, I got: > > $ ./qtdemo.py > Traceback (most recent call last): > File "./qtdemo.py", line 47, in > import qtdemo_rc > File

[PyQt] pyrcc4 regression in snapshot-0425?

2009-04-26 Thread Grissiom
Hi list, When I want to launch qtdemo with newly generated qtdemo_rc.py, I got: $ ./qtdemo.py Traceback (most recent call last): File "./qtdemo.py", line 47, in import qtdemo_rc File "/home/grissiom/pyQtdemo/work/qtdemo/qtdemo_rc.py", line 3831 " ^ Sy

[PyQt] (PyQt-snapshot) + (SIP-snapshot) = plasma crash

2009-04-24 Thread Grissiom
Hi all, After installed PyQt-snapshot-20090422 and sip-snapshot-20090420 my plasma crashed after re-login. KDE4.2.2, Qt-copy(equal to 4.5). Need I recompile KDE?... Any hints? Thanks in advance. ;) -- Cheers, Grissiom ___ PyQt mailing listPyQt

[PyQt] Any possibility doing SIGNAL forward using pyuic4?

2009-03-10 Thread Grissiom
Hi, When I try to do SIGNAL forwarding using the designer I found that pyuic4 always generate a short-circuit connections but not a customed new signal. Is there anyway to do signal forwarding using pyuic4? -- Cheers, Grissiom ___ PyQt mailing list

[PyQt] Is there any pyqt4(v4.4.4) windows installer for python2.5?

2009-02-12 Thread Grissiom
I browsed the download page but could not find any. For some reason, I could only use python2.5 on the windows box and don't have a VC to compile the source. So is there any pyqt4.4.4 windows installer for python2.5? -- Cheers, Grissiom ___

Re: [PyQt] Two base classed inherit QWidget

2009-02-02 Thread Grissiom
On Mon, Feb 2, 2009 at 21:51, Frédéric wrote: > Le 2/2/2009, "Grissiom" a écrit: > >In my memory, one of the tutorial source file said that PyQt4 doesn't > >support multiple inheriting now. And I think besides calling > >Q1.__init__(...) and Q2.__init__(...)

[PyQt] Bugs and Question in doc/examples/tutorials/t10.py

2008-12-03 Thread Grissiom
; And here comes the questions: I think that creating a QtCore.QRect and moving it every time repaint the widget is not so good. So I move the code to __init__ and make cannonRect a local variable rather than a function. But the cannon doesn't move i.e, the widget doen't get repainte

[PyQt] A question about QImage

2008-09-21 Thread Grissiom
Hi, all, If I do some thing like this: im=QImage() im.load("some.png") im2=im def fun(in): im3=in fun(im) Then the im2 and im3 is only a referance of im or a copy of it? -- Cheers, Grissiom ___ PyQt mailing listPyQt@riverbankcom

[PyQt] How to use the QtGui.QImage.setColorTable()?

2008-04-06 Thread Grissiom
;) -- Cheers, Grissiom ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] character missing in the parameter list

2008-04-06 Thread Grissiom
http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qimage.html#setColor in the QImage.setColor method, missing '*olorValue' *-- Cheers, Grissiom ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.c

[PyQt] document error

2008-04-06 Thread Grissiom
In: http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qcolor.html#QColor It seems that you mistook the QColor.__init__ (*self*, Qt.GlobalColor *color *) reference for the QColor.__init__ (*self*) reference. Check it please ;) -- Cheers, Grissiom

[PyQt] Qt.color in pixel

2008-04-05 Thread Grissiom
t.color1) print 'QtCore.Qt.color1 in pixel is', mono_im.pixel(5, 5) #EOF I got this : bash-3.1$ python test2.py QtCore.Qt.color1 is 1 QtCore.Qt.color1 in pixel is 4294967295 Could anyone explain how could '1' became '4294967295'? Thanks in advance ;) -- Cheers, Grissiom ___