[PyQt] How can I use resource file created by designer

2012-02-16 Thread bluekyu
Hello. I use python3 and PyQt 4.8. I have a problem about module import. I created resource file using designer and then converted .ui to python module using pyuic4. I knew that ui module have "import rc_xxx", so I also converted .qrc to rc_xxx.py using pyrcc4 -py3. But my program use my pyth

[PyQt] dynamic signal creation

2012-02-16 Thread Emmanuel Mayssat
Is it possible to create signals dynamically? That is class LObject(QObject): def __init__(self, parent): self.dataChanged = pyqtSignal() self.dataChanged.emit() Regards, -- E ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.river

[PyQt] how to get all the signal from a QObject/QWidget ? and other Q about signals

2012-02-16 Thread Emmanuel Mayssat
I have a widget inside another widget. 1/ I would like to have a ~for loop that propagate all the signals of the inner widget as if they were emitted by the container widget. That is for each signals self.connect(myChild, SIGNAL("mySignal()"), self.mySignal.emit()) how can I list the signals that

Re: [PyQt] audio tags in QWebview

2012-02-16 Thread Phil Thompson
On Thu, 16 Feb 2012 19:33:42 +0100, Peter Bienstman wrote: > Hi, > > Upon upgrading to PyQt 4.9.1 Python 2.7 Win 32 bit from PyQt 4.8.6-1, > audio > tags in QWebview no longer work: > > import sys > from PyQt4 import QtWebKit, QtGui > > a = QtGui.QApplication(sys.argv) > w = QtWebKit.QWebView

[PyQt] audio tags in QWebview

2012-02-16 Thread Peter Bienstman
Hi, Upon upgrading to PyQt 4.9.1 Python 2.7 Win 32 bit from PyQt 4.8.6-1, audio tags in QWebview no longer work: import sys from PyQt4 import QtWebKit, QtGui a = QtGui.QApplication(sys.argv) w = QtWebKit.QWebView() w.setHtml("audio test") w.show() a.exec_() The control is not displayed, and t