[Qt-interest] QFileDialog: native + sheet (Window modal) not possible?
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Thu Jan 27 18:52:53 CET 2011
On 2011-01-27 Nikos Nikos Chantziaras wrote:
> On 01/27/2011 06:32 PM, Oliver.Knoll at comit.ch wrote:
>> Hi,
>>
>> can anyone confirm my assumption here, that with the current Qt 4.7.1
>> it is apparently not possible to have both
>>
>> * native dialogs and
>> * Window modal dialogs (aka Sheets on Mac)
> (http://labs.qt.nokia.com/2010/02/23/unpredictable-exec/)
>
> Works just fine here. Make sure to open the dialog with open(), not exec():
Yes, I am using open(). But on Windows that really gives me the "Qt file dialog", not the native one.
> file:///usr/share/doc/qt-4.7.1/html/qfiledialog.html#open
> Doing that I get a native OS X file dialog as a sheet.
At least on Mac OS X then it works as expected! :)
Thanks for confirming this! I will eagerly try this out myself tonight. :)
Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list