The problem is that QDialog in Qt4 has no maximize button and I don't know how to add one. Thanks in advance.
P.S. Mostly I'm going to use it on x11 and Mac.
The problem is that QDialog in Qt4 has no maximize button and I don't know how to add one. Thanks in advance.
P.S. Mostly I'm going to use it on x11 and Mac.
See Window Flags Example.
J-P Nurmi
an example
PS. look at QTDIR/examples/widgets/windowflagsQt Code:
... pd.setWindowFlags(pd.windowFlags() | Qt::WindowMaximizeButtonHint); pd.exec(); ...To copy to clipboard, switch view to plain text mode
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
It might be caused by x11 but window hints does not work at all in the windowflags example. Simply a dialog has no minimize and maximize buttons; but a window has them.
Seems like there's no window type flag, except Qt::Window, that allows minimize and maximize btns.
Bookmarks