Is there anyway to create window like below image , that has no close button in qt designer ?
Asked
Active
Viewed 856 times
1
-
2Possible duplicate of [Qt hide minimize, maximize and close buttons](http://stackoverflow.com/questions/3211272/qt-hide-minimize-maximize-and-close-buttons) – Mel Dec 08 '15 at 16:00
1 Answers
1
To get a look like that you'd want to use the setWindowsFlags
function, and pass in Qt::CustomizeWindowHint
Qt::FramelessWindowHint
, in C++ this would look like someUi->setWindowsFlags(Qt::CustomizeWindowHint | Qt::FramelessWindowHint)
but I'm not sure for PyQt.

Nicholas Smith
- 11,642
- 6
- 37
- 55