Hi,
I have a QMainWindow. I want to disable the resize button ( Maximize Window button ) of the main window. How can i do this.
Hi,
I have a QMainWindow. I want to disable the resize button ( Maximize Window button ) of the main window. How can i do this.
Try this in the constructor of your window:
Qt Code:
setWindowFlags(Qt::Window | Qt::WindowMinimizeButtonHint);To copy to clipboard, switch view to plain text mode
This will disable the maximize button. At least in 4.3 it does.
Regards
Bookmarks