I want my window to be always maximized. I try setting:
setWindowFlags(Qt::Window | Qt::WindowMinimizeButtonHint | Qt::WindowCloseButtonHint);
(...)
showMaximized();
setMinimumSize(QSize(width(), height()));
setFixedSize(QSize(width(), height()));
So the window is opened maximized, but I can still click its title bar and drag it down. When doing so Windows (10) is resizing window from maximized state to normal.
How can I disable this behavior for my window?