1

Is there anyway to create window like below image , that has no close button in qt designer ?

sample image

Andy
  • 49,085
  • 60
  • 166
  • 233
Cahit Yıldırım
  • 499
  • 1
  • 10
  • 26
  • 2
    Possible 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 Answers1

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