I am having a problem using the common dialog in PyQT. For some reason, when I try and import 'QFileDialog', I get a not found error, same with importing QDialog. I am on Py 2.7 (was 2.6) using 'PyQt-Py2.7-x86-gpl-4.8.2-1'. I can import QTCore and QTGui just fine. I thought PyQT4 exposed the QT Dialog class? It also doesn't seem to be part of the QTGui module either, even though the Class reference says it is.
I am using it as:
filename=QFileDialog.getOpenFileName("", "*.dbf", self, "FileDialog")
Error:
NameError: global name 'QFileDialog' is not defined