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
enter image description here
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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -