python - Remove what'sThis from a dialog in pyside -
i have found quite few questions doing in c++, none doing in python/pyside. want remove '?' button
top of qdialog. know use setwindowflags()
, don't know should pass arguments.
based on how can hide/delete "?" button on "title bar" of qt dialog? can this:
from pyside import qtgui, qtcore app = qtgui.qapplication([]) d = qtgui.qdialog(none, qtcore.qt.windowsystemmenuhint | qtcore.qt.windowtitlehint) d.exec_()
Comments
Post a Comment