PyQt4 QInputDialog and QMessageBox window flags
问题 I am using python 2.7 and PyQt4 to make a gui; my experience is pretty limited. I wanted to use the QInputDialog and QMessageBox objects for some of the dialogs I need. I don't want to have the "?" in any dialogs I use. There is an answer posted on how to do this for a similar question How can I hide/delete the "?" help button on the "title bar" of a Qt Dialog? That solution works for a standard QDialog. It amounts to: message = QtGui.QDialog(self, QtCore.Qt.WindowSystemMenuHint | QtCore.Qt