Hi, does anyone know how to remove the program title bar? (In PyQT or in Designer) my goal is I need to replace it with my own title bar.
thanks to everyone who can help me.
The title bar is controlled by the window manager, not the application. Therefore, you cannot change the title bar using Qt Designer.
You can hide the title bar using widget.setWindowFlags(QtCore.Qt.CustomizeWindowHint) or widget.setWindowFlags(QtCore.Qt.FramelessWindowHint) . These and other options are described in the Qt Documentation (Qt Namespace) .
widget.setWindowFlags(QtCore.Qt.CustomizeWindowHint)
widget.setWindowFlags(QtCore.Qt.FramelessWindowHint)
An example of Qt window flags makes them easier to understand.
This problem is similar to yours: Qt4 custom windows, for example, in Office 2007?
See also: How to hide / remove "?" help in the title bar of the QT dialog?
Source: https://habr.com/ru/post/894789/More articles:https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/894784/finding-center-of-a-set-of-points-to-sort-them-clockwise&usg=ALkJrhghoA-uuJRF6kj-q02ZEMiMURTbAwAndroid registerOnSharedPreferenceChangeListener () causes crash in user view - androidC # .NET VS2010 Limit Points Not Working - c #Unittest setUpClass not working - pythonFacebook Graph API returns false, although posting is public - facebookEnsure compatibility with GLSL - c ++Qt4 custom windows for example in office 2007? - windowsHow to develop a custom Soft Keyboard for an Android application? - androidIphone. How to start recording when sound is detected and stop recording when silence is detected - iphoneHow to send HTTP authentication using Selenium python-binding webdriver - pythonAll Articles