[PyQt] Rich text in buttons

2009-11-20 Thread Richard A. Litherland
I'm very new to this, so I apologize if this question has been asked 1000 times before. The text property of QAbstractButton doesn't recognize HTML markup, but the developers of KCalc, at least, have managed to work around this. I can't figure out how. Does anybody know? Rick L. -- R.A. Lither

Re: [PyQt] Freezes and crashes with signal autoconnection

2009-11-20 Thread Christian Roche
Hi Phil, Phil Thompson-5 wrote: > > I thought you were using current snapshots (where the code that was > crashing was only compiled in with old versions of Qt). > I've just tried against the latest snapshots (sip-4.9.2-snapshot-20091115.tar.gz and PyQt-x11-gpl-4.6.2-snapshot-20091115.tar.gz

Re: [PyQt] Problem with class inheriting QDialog

2009-11-20 Thread David Douard
Looks like you are not calling QMainWindow base constructor. Le Friday 20 November 2009 17:44:30 dizou, vous avez écrit : > Dialog.py: > > import sys > from PyQt4.QtGui import QDialog > > def Dialog(QDialog): > def __init__(self, parent): > QDialog.__init__(self, parent) > > M

Re: [PyQt] Problem with class inheriting QDialog

2009-11-20 Thread dizou
Dialog.py: import sys from PyQt4.QtGui import QDialog def Dialog(QDialog): def __init__(self, parent): QDialog.__init__(self, parent) MainWindow.py: from PyQt4.QtCore import SIGNAL, SLOT, QDir, QFile from PyQt4.QtGui import QApplication, QMainWindow, QMenu, QMessageBox,

Re: [PyQt] INSTALL_ROOT & DESTDIR

2009-11-20 Thread Jon Grosshart
On Fri, Nov 20, 2009 at 8:45 AM, Phil Thompson wrote: > On Fri, 20 Nov 2009 05:21:59 -0800 (PST), jong357 > wrote: > > jong357 wrote: > >> > >> Just a heads up, looks like the designer directory in PyQt-x11-gpl-4.6.1 > >> uses INSTALL_ROOT instead of DESTDIR like the rest of the source seems > to

Re: [PyQt] INSTALL_ROOT & DESTDIR

2009-11-20 Thread Phil Thompson
On Fri, 20 Nov 2009 05:21:59 -0800 (PST), jong357 wrote: > jong357 wrote: >> >> Just a heads up, looks like the designer directory in PyQt-x11-gpl-4.6.1 >> uses INSTALL_ROOT instead of DESTDIR like the rest of the source seems to >> use. When packaging, this spams the system, albiet fairly minor.

Re: [PyQt] INSTALL_ROOT & DESTDIR

2009-11-20 Thread jong357
jong357 wrote: > > Just a heads up, looks like the designer directory in PyQt-x11-gpl-4.6.1 > uses INSTALL_ROOT instead of DESTDIR like the rest of the source seems to > use. When packaging, this spams the system, albiet fairly minor. Didn't > bother to track down what qmake was doing but I ass

[PyQt] ANN: PyQt v4.6.2 and SIP v4.9.2 Released

2009-11-20 Thread Phil Thompson
PyQt v4.6.2 and SIP v4.9.2 have been released and can be downloaded from the usual places. These are both bug-fix releases. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt