I'm trying to create a window with PySide2 and now I have created a window, but I can't get rig of the close button and maximize&minimize button even after setting the PySide2.QtCore.Qt.FramelessWindowHint windowf flag like below:
self.setWindowFlags(self.windowFlags() | QtCore.Qt.FramelessWindowHint)
So my question is: how to remove the close and maximize&minimize buttons.
Thanks