[Qt4-preview-feedback] Qt 4.5 Mac: QFileDialog appears only once as Sheet
Richard
richardmg at trolltech.com
Wed Feb 11 15:07:33 CET 2009
As of Qt-4.5, to show a dialog as a sheet on Mac, use QDialog::open()
instead.
Using QDialog::exec() means that the dialog is supposed to be
'application modal', and therefore show up as a normal dialog. This
behaviour change turned out necessary since sheets on Mac are only
supposed to be used when dialogs are 'window modal'.
So the real bug you found was that whe dialog showed up as a sheet in
the first place. We'll look into that.
-Richard
Den Feb 8, 2009 kl. 3:54 AM skrev Florian Schwehn:
> Hi.
>
> I'm running Qt 4.5 Rc1 on Mac OS X (compiled for 64-bit
> architechture). I have an issue with QFileDialog when setting the
> windowflag Qt::Sheet. Each first time in an application I execute a
> QFileDialog everything seems to be ok - the dialog comes up as a
> sheet. Each other times it would appear as usual modal dialog, and
> on top of that the system plays a warning sound. Is there a chance
> to get it fixed?
>
> kind regards - Florian.
> _______________________________________________
> Qt4-preview-feedback mailing list
> Qt4-preview-feedback at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
More information about the Qt4-feedback
mailing list