Re: [PyQt] centrawidget and mainwindow

2010-01-20 Thread David Boddie
On Wed, 20 Jan 2010 10:46:10 -0800, Jamie Riotto wrote: > When I run this, it correctly sets Text Edit #1 as Central Widget. > Pressing "Editor-2" button correctly changes the Central > Widget to Text Edit #2, however, when I press "Editor-1" button to > restore Text Edit #1 to Central Widget I ge

Re: [PyQt] Downloading PyQt for Python 2.6

2010-01-20 Thread Scott Ballard
Not sure why Phil hasn't chimed in by now, he usually does. Anyway, I throw PyQt-Py2.6-gpl-4.5.4.exe up on my FTP if anyone wants it. I believe that was the latest version for Python2.6 www.scottballard.net/PyQt-Py2.6-gpl-4.5.4.exe Cheers, -Scott Chris Bergstresser wrote: On Wed, Jan 20,

Re: [PyQt] Downloading PyQt for Python 2.6

2010-01-20 Thread Chris Bergstresser
On Wed, Jan 20, 2010 at 5:57 PM, Demetrius Cassidy wrote: > Er, you could compile it from source. But afaik, 2.6.4 is the current python > version, yes? PyQt4 should also be already compiled for Python 2.6 I have never compiled anything from source in my life. I don't have a compiler installe

Re: [PyQt] Downloading PyQt for Python 2.6

2010-01-20 Thread Demetrius Cassidy
Er, you could compile it from source. But afaik, 2.6.4 is the current python version, yes? PyQt4 should also be already compiled for Python 2.6 Chris Bergstresser wrote: Hi all -- I have PyQt installed on a Windows development machine here, and I'm trying to install it on another Windows de

[PyQt] Downloading PyQt for Python 2.6

2010-01-20 Thread Chris Bergstresser
Hi all -- I have PyQt installed on a Windows development machine here, and I'm trying to install it on another Windows development machine. I don't need the latest version, just a Python 2.6 compatible-version. However, it seems with the new release of PyQt the older binaries have been taken d

Re: [PyQt] QGraphicsPixmapItem not showing set pixmap

2010-01-20 Thread dizou
The PNG does exist. I did DisplayItem.ensureVisible(10, 10, 10, 10) and DisplayItem.ensureVisible() and neither function did anything. There were no errors though. Jason H-3 wrote: > > Simply, your PNG does not exist. Try print > QFile.exists('/.../.../pic1.png") > Or > You aren't looking at it.

Re: [PyQt] centrawidget and mainwindow

2010-01-20 Thread Jamie Riotto
Ok, I tried to help out here by creating a trivial example, but I seem to have a problem of my own! Here is the example: == from PyQt4 import QtCore, QtGui class MainWindow(QtGui.QMainWindow): def __init__(self): super(MainWindow, self)

Re: [PyQt] centrawidget and mainwindow

2010-01-20 Thread M Chauhan
Hi Tabish, I would like to replace centralwidget of a mainwindow with another widget which is created separately. For. ex. when I click on a button on mainwindow it should replace the current centralwidget by a new one. Please let me know if you need more info. Thanks, Mrugesh. 2010/1/19 tabi

[PyQt] Come with me to call for PyQt 4.7

2010-01-20 Thread Zhang Jiawei
Looks like the author is making PyQt 4.7 binary installer in the last minutes, let's give him a big applaus. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] List-like objects and QVariant

2010-01-20 Thread Sybren A. Stüvel
Hi all, This is my first post to this list. I'm a software engineer at Chess in Haarlem, The Netherlands, and I'm using PyQt to develop a testing application. We created a TestSuite class that contains a filename and an ordered dictionary of TestCase objects The TestSuite class implements the