hi does anybody knows how to remove the programs title bar? (In PyQT or in Designer) my goal is i need to replace it with my own title bar.
thanks to anyone who can help me.
The title bar is managed by the window manager and not by the application. Therefore you can not modify the title bar with the Qt Designer.
You can hide the title bar with widget.setWindowFlags(QtCore.Qt.CustomizeWindowHint)
or widget.setWindowFlags(QtCore.Qt.FramelessWindowHint)
.
These and other options are described in the Qt documentation (Qt Namespace).
The Qt Window Flags Example makes them easier to understand.
This problem looks similar to yours: Qt4 custom window frames like in office 2007?
See also: How can I hide/delete the "?" help button on the "title bar" of a QT Dialog?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With