~/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.

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to