diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-01-16 16:44:25 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-21 21:50:07 +0100 |
commit | 661c3701f4731283a3f1062e4a8c8c02fb01e3c6 (patch) | |
tree | e19ff5c570d6cb8f6b54bce0a25d46b696ac91df /src/platformsupport/dnd/qshapedpixmapdndwindow.cpp | |
parent | 92237b22ea80b043bfd441ecad89cd504965b50f (diff) |
Fix Windows native file dialogs for use with QtQuick.
- Correct modality check.
- Allow for properties to be set if there is no native dialog.
- Make dialog thread for non-modal call back into dialog helper
for exec().
- Introduce QWindowsFileDialogSharedData to contain data to be
cached while no native dialog exists and to be updated by the
change notifications of the IFileDialogEvent interface to avoid
querying the dialog results after the dialog has closed. Reduce
virtual methods of QWindowsNativeFileDialogBase accordingly.
This also fixes a bug in the previous implementation causing
the directory not to reported back since the native API would
not return the directory after closing the dialog.
- Support nonmodal native dialogs when constructed on a QQuickWindow.
- Delete native dialogs after exec as QtQuick keeps the
dialog instances around.
Change-Id: Id1169d6657d9476afe12fb9909c36cbd03aa2a40
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/platformsupport/dnd/qshapedpixmapdndwindow.cpp')
0 files changed, 0 insertions, 0 deletions