[PyQt] AttributeError: global name 'QListView' is not defined
klia
alwaseem307ster at yahoo.com
Sun Feb 8 08:37:27 GMT 2009
~/Project2/GUI$ python wrapphotodb.py
Traceback (most recent call last):
File "wrapphotodb.py", line 48, in _actionImport_Photos
self.listView([QListView("filename %i" % i)])
NameError: global name 'QListView' is not defined
I am getting this error regarding this line..
self.listView([QListView("filename %i" % i)])
and this error when i add append
self.listView.append([QListView("filename %i" % i)])
~/Project2/GUI$ python wrapphotodb.py
Traceback (most recent call last):
File "wrapphotodb.py", line 48, in _actionImport_Photos
self.listView([QListView("filename %i" % i)])
AttributeError: append
any idea?????????????????????????!!!
--
View this message in context: http://www.nabble.com/AttributeError%3A-global-name-%27QListView%27-is-not-defined-tp21896838p21896838.html
Sent from the PyQt mailing list archive at Nabble.com.
More information about the PyQt
mailing list