[PyQt] Re: QMainWindow without titlebar
tom
tomschuring at gmail.com
Thu Nov 19 23:26:52 GMT 2009
ah, found it.
self.setWindowFlags(QtCore.Qt.CustomizeWindowHint )
2009/11/20 tom <tomschuring at gmail.com>
> Hello,
>
> can somebody point me to an example where a QMainWindow (or QWidget) is
> setup without a titlebar please ?
>
> i have looked everywhere and they all say : do it using window flags, but i
> haven't been able to get anywhere near a solution.
>
> my main window (Menu) is derived from QMainWindow:
>
> and the constructor looks like:
>
> def __init__(self, parent = None):
> QMainWindow.__init__(self, parent)
>
> best regards,
> tom
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20091119/89dcef8a/attachment.html
More information about the PyQt
mailing list