[Qt-interest] Adding a minimize button to a dialog

Raphael Meloni raphael.meloni at gmail.com
Fri Jul 3 04:19:19 CEST 2009


Robert Caldecott escreveu:
> I have created a QDialog-based app using QtCreator and all is well
> other than the MainDialog has no minimize button.  How can I add one?
> Is there a property in the designer that I can set?


Set in source
dialog->setWindowFlags(Qt::Dialog | Qt::WindowMinimizeButtonHint);
Look a Qt Examples Window Flags



More information about the Qt-interest-old mailing list