Hi all,
I want to disable the maximize button in my pyqt4 main window.
I have created a main windows using the qt designer and want to disable the maximize button in it.
any example, tutorial, code will highly be appreciated..
Hi all,
I want to disable the maximize button in my pyqt4 main window.
I have created a main windows using the qt designer and want to disable the maximize button in it.
any example, tutorial, code will highly be appreciated..
and of course I use python then for the functions, etc..
I meant I have created the UI using the qt designer..
read more about window flags Qt::WindowFlags
example on C++
Qt Code:
... setWindowFlags(windowFlags() ^ Qt::WindowMaximizeButtonHint); ...To copy to clipboard, switch view to plain text mode
Is it possible to remove any one of the maximize or minimize button(not just disabling) ?
I want to have only a close button and minimize button in my widget.
So far what I hv achieved is only disabling the maximize button. Can I hide/remove that completely?
The minimize and maximize button are comming as a pair always. Is there any way to get only one of them like close button?
Thanks and regards,
~netmat
Bookmarks