[ACCEPTED]-Adding a minimize button to a Qt dialog?-qt4
Accepted answer
You can't add the minimize button yourself 5 as it is handled by the window manager. You 4 can tell the window manager how your dialog 3 should be handled using Window Manager hints. This 2 is done using the windowFlags property of your widget. There's 1 also an example demonstrating this.
setWindowFlags(windowFlags() | Qt::WindowMinimizeButtonHint);
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.