[Qt-interest] Questions about windowFlags
Liviu Lalescu
livubuntu at lalescu.ro
Sun Jun 27 08:51:55 CEST 2010
Hello, List!
I have some questions about using window flags:
I have more QDialog-s. For some reasons listed below, may I make the
windowFlags for them to be Qt::Window? Will the properties and behavior of the
dialogs still be correct, like the close(), rejected() and accepted() slots?
Will it have always the minimize and maximize buttons shown, if I make the
window flags to be Qt::Window, under all platforms? Or should I also add to
flags Qt::WindowMinMaxButtonsHint with the OR operation?
What is exactly the meaning of Qt::CustomizeWindowHint? (it is not clear in
the Qt doc). Should I also add this, with the OR operation?
The reason why I would like to make the flags for some dialogs, from
Qt::Dialog to Qt::Window: under GNOME, the dialogs do not show the maximize
button, even if I add the flag Qt::WindowMinMaxButtonsHint. I need this
maximize button.
Or do you know how to add maximize buttons to a Qt::Dialog type window, under
GNOME?
More information about the Qt-interest-old
mailing list