Hi all,
What is the correct method of asking for a user confirmation for the
drag-drop operation in the model? Consider a user is dropping
something into the model, and I want to ask him if he is sure about
this drop. Is it allowed to pop up a message box from the dropMimeData
method? How should I
On Thu Jan 29 19:03:50 GMT 2009, Matt Smith wrote:
> This test case makes two numpy arrays puts a vertical stripe and then
> creates QImages. Change either dimension to 101 instead of 100 and the
> image doesn't get painted properly.
>
> http://paste.pocoo.org/show/101921/
Right. I haven't tried
On Thu, Jan 29, 2009 at 5:34 PM, Matt Smith wrote:
> It looks like I could just replace the QThread with a
> multiprocess.Process except for the fact the QThread is a QObject which
> uses signals and slots.
>
> If I want to use the same techniques I would have to start a Process in
> a QThread to
On Thu, 2009-01-29 at 15:37 +, pyqt-requ...@riverbankcomputing.com
wrote:
>> I think that is the problem for two reasons. First it depends on the
>> size of the array, and Second the .ndarray part is left off of first
>> example, and doesn't change anything when I include it.
>You're just set
I'm not sure why you would want to do this. You could just set up a QTimer to
poll the Process to see if it was completed. The Qtimer func could then emit a
finished signal. You could poll every second or so. You could even poll for
percent complete if you have that information.
Much easier
It looks like I could just replace the QThread with a
multiprocess.Process except for the fact the QThread is a QObject which
uses signals and slots.
If I want to use the same techniques I would have to start a Process in
a QThread to get similar behavior; a signal when finished. I suppose
the
Hi,
Is there a port of PyQt4 for PocketPC ?
Thanks,
--
Frédéric
http://www.gbiloba.org
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Thu Jan 29 13:41:59 GMT 2009, Matt Smith wrote:
> I made a mistake about what works and what doesn't. If I use
>
> nimage = QtGui.QImage(total.data,w,h,QtGui.QImage.Format_Indexed8)
> nimage.setColorTable(COLORTABLE)
>
> Then there is strange wrapping that occurs if the image is not the correc
I made a mistake about what works and what doesn't. If I use
nimage = QtGui.QImage(total.data,w,h,QtGui.QImage.Format_Indexed8)
nimage.setColorTable(COLORTABLE)
Then there is strange wrapping that occurs if the image is not the correct size
If I use:
nimage = QtGui.QImage(total.data,w,h,QtGui.Q
Thanks, I didn't realize it was ported.
On 1/29/09 7:57 AM, "Umit Oztosun" wrote:
2009/1/29 Brian Kelley
>
> If you happen to be using python 2.6, multiprocessing is your friend.
>
> http://docs.python.org/dev/library/multiprocessing.html
Just to note that you can also use multiprocessing und
2009/1/29 Brian Kelley
>
> If you happen to be using python 2.6, multiprocessing is your friend.
>
> http://docs.python.org/dev/library/multiprocessing.html
Just to note that you can also use multiprocessing under python 2.5:
http://code.google.com/p/python-multiprocessing/
Regards,
Umit
___
If you happen to be using python 2.6, multiprocessing is your friend.
http://docs.python.org/dev/library/multiprocessing.html
It is very easy to use and because it runs in a separate process, there is no
global interpreter lock. Way, way, way better than threading for a lot of
cases. If it cr
2009/1/29, Linos :
> Yes i have read the book, anyway i will read other time the chapter 15 only
> in case i have missed anything important, but i prefer my users edit the
> information in external widgets, for example the address street it is too
> long to edit it clearly inside the table, i will
simozack escribió:
2009/1/27, Linos :
For an example form that i would need to manage i have a customer table and
an address table (because for every customer they can have > 1 addresses) so
in the same form i would like to edit all the possible data of the customer.
It seems a work for two Q
2009/1/27, Linos :
> For an example form that i would need to manage i have a customer table and
> an address table (because for every customer they can have > 1 addresses) so
> in the same form i would like to edit all the possible data of the customer.
It seems a work for two QSqlTableModel...
David Boddie wrote:
>
> On Fri Jan 23 12:47:29 GMT 2009, Atul Kulkarni wrote:
>
>> I have a problem of rendering SVG Images in QWebView. The SVG Images are
>> replaced with missing image icons ("?"). I am inserting a simple SVG
>> image
>> in an XHTML document.
>
> This is a common problem wit
16 matches
Mail list logo