Re: [PyQt] Python wrappers for QML/ Qt Quick?

2010-03-09 Thread Ville M. Vainio
On Mon, Mar 8, 2010 at 4:50 PM, Attila Csipa p...@csipa.in.rs wrote: Note that QML itself will be part of mainline Qt4.7, so I guess it's just a question of time (read: Phil's schedule :) until a bit more 'official' support for QML + PyQt appears. There is a bit more to think about than just

Re: [PyQt] Using new-style connections with QSignalMapper

2010-03-09 Thread Phil Thompson
On Mon, 08 Mar 2010 17:29:48 -0500, Mark Visser ma...@lumierevfx.com wrote: Is there some reason new-style connection from any signal to QSignalMapper.map do not appear to work? Using old-style self.connect works, i.e.: | #self.connect(self.b1, SIGNAL(clicked()), #

Re: [PyQt] Python wrappers for QML/ Qt Quick?

2010-03-09 Thread Ville M. Vainio
On Tue, Mar 9, 2010 at 2:07 PM, Giovanni Bajo ra...@develer.com wrote: It might make more sense to have a way to export PyQt classes to QML, that is implement QMLElement in Python rather than in C++, and make them available to QML itself. This is pretty much what I'm thinking of. Python would

[PyQt] Best way to implement an Image Viewer?

2010-03-09 Thread TP
I'm using Windows XP, Python 2.6.4, and PyQt 4.7.1. While trying out the example C:\Python26\Lib\site-packages\PyQt4\examples\widgets\imageviewer.pyw, I notice that the more I zoom into an 1553x2653 BW PNG image, the longer it takes to display. This becomes unacceptably long (on the order of a

Re: [PyQt] Python wrappers for QML/ Qt Quick?

2010-03-09 Thread Giovanni Bajo
On 3/9/2010 11:37 AM, Ville M. Vainio wrote: On Mon, Mar 8, 2010 at 4:50 PM, Attila Csipap...@csipa.in.rs wrote: Note that QML itself will be part of mainline Qt4.7, so I guess it's just a question of time (read: Phil's schedule :) until a bit more 'official' support for QML + PyQt appears.

Re: [PyQt] Best way to implement an Image Viewer?

2010-03-09 Thread Vincent Vande Vyvre
TP a écrit : I'm using Windows XP, Python 2.6.4, and PyQt 4.7.1. While trying out the example C:\Python26\Lib\site-packages\PyQt4\examples\widgets\imageviewer.pyw, I notice that the more I zoom into an 1553x2653 BW PNG image, the longer it takes to display. This becomes unacceptably long (on

Re: [PyQt] Python wrappers for QML/ Qt Quick?

2010-03-09 Thread Attila Csipa
On Tuesday 09 March 2010 15:54:54 Ville M. Vainio wrote: On Tue, Mar 9, 2010 at 2:07 PM, Giovanni Bajo ra...@develer.com wrote: It might make more sense to have a way to export PyQt classes to QML, that is implement QMLElement in Python rather than in C++, and make them available to QML

Re: [PyQt] Python wrappers for QML/ Qt Quick?

2010-03-09 Thread Giovanni Bajo
On Tue, 2010-03-09 at 19:57 +0100, Attila Csipa wrote: On Tuesday 09 March 2010 15:54:54 Ville M. Vainio wrote: On Tue, Mar 9, 2010 at 2:07 PM, Giovanni Bajo ra...@develer.com wrote: It might make more sense to have a way to export PyQt classes to QML, that is implement QMLElement in

[PyQt] Style sheet properties..

2010-03-09 Thread Jebagnana Das
Hello all, If i apply a property to a parent widget it is automatically applied for child widgets too.. Is there any way of preventing this?? For example if i set background color as white in a dialog then any button,combo boxes and scroll bars(within the dialog) looks white and it lacks it's

Re: [PyQt] VTK in PyQt

2010-03-09 Thread Bastian Weber
Gib Bogle wrote: Gib Bogle wrote: OK, I located QVTKRenderWindowInteractor.py. I'll see if I can figure out how to use it. Not much success here. Maybe you want to check the source code of http://sourceforge.net/projects/pymbs/ Its a python Multibody modelling tool width some

Re: [PyQt] QTreeWidget setItemWidget dissapears after drag drop

2010-03-09 Thread Taylor Carrasco
Any idea how to keep the setItemWidget() after it's reparented ? ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] VTK in PyQt

2010-03-09 Thread Matt Smith
I looked through the code and two things I see different than what I have: a. I set the size of my RenderWindow b. I keep a reference to it, which probably isn't your problem because your not getting a seg fault. I've got an example but I can't verify that it works since I don't have vtk

Re: [PyQt] Best way to implement an Image Viewer?

2010-03-09 Thread Vincent Vande Vyvre
TP a crit: On Tue, Mar 9, 2010 at 3:54 PM, TP wing...@gmail.com wrote: On Tue, Mar 9, 2010 at 9:27 AM, Vincent Vande Vyvre vincent.vandevy...@swing.be wrote: TP a crit : I'm using Windows XP, Python 2.6.4, and PyQt 4.7.1. While trying out the