← Back to team overview

yade-dev team mailing list archive

Re: pyqt4 interface

 



I've recently given a first try at a qt4-based interface done with
pyqt4. I would like to have some feedback on its strengths and
weknesses, and also on running it atop different distributions/versions
of distributions.


Hello!
Sorry, but how to use pyqt4 interface?
I can run scripts/tests/qt4-pyqglviewer.py,
(after I added next lines:

3:from PyQt4.QtGui import *

17: argv=[]
18: app = QApplication(argv)

Without it I got error:

Running script qt4-pyqglviewer.py
QWidget: Must construct a QApplication before a QPaintDevice
)

I can't run any other script with gui...
Should I add class Viewer in my script?
And how to run Controller?

--
Best regards,
Sergei D.



Follow ups

References