[Qt-interest] QWindow:WindowStayOnTopHint and QDialog:WindowStayOnTopHint under OSX
KC Jones
kc at asperasoft.com
Fri Dec 4 20:37:36 CET 2009
Do you pass your main window in as the parent to establish the
dialog's modality?
Assuming you do, have you tried calling
setWindowModality(Qt::WindowModal)? I'm not sure if this is effective
with QFileDialog et al, but its worth a try.
On Fri, Dec 4, 2009 at 9:21 AM, Martin Guillon <MGuillon at movea.com> wrote:
> H,
>
>
>
> I am currently porting my QT application under OSX (currently under
> windows), and I am now facing a big problem with QDialogs
>
>
>
> My application main window is a fullscreen Qt::WindowStayOnTopHint.
>
> Now from this window I can open QFileDialog/QFontDialog.
>
> Under windows, the QDialog appears on top of my MainWindow which is exactly
> what I want
>
> The problem is under OSX, even if create my QDialog as a child of the
> MainWindow the Qdialog opens below it and doesn’t go in front event when in
> focus.
>
> That s a real breakdown for me.
>
>
>
> Any idea?
>
>
>
> Thanks
>
>
>
> Martin
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
More information about the Qt-interest-old
mailing list