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

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

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.