anyone here using PyQt and uic to load Qt designer's .ui files?
I'm using Qt 4.1.4 Designer (winxp) and PyQt4 and trying to get an animated png (aka mng) file to display.
It loads and displays fine (albiet not animated) in Designer, but won't display at all when I execute my Python script using PyQt and uic.
|
Source code
|
1
2
3
4
5
|
from PyQt4 import QtCore, QtGui, uic
app = QtGui.QApplication(sys.argv)
...
QtGui.QWidget.__init__(self, *args)
uic.loadUi("dialog.ui', self)
|