Review Request 117976: Implement support for QFileDialog::setFileMode
David Rosca
nowrep at gmail.com
Sun May 4 14:07:47 UTC 2014
> On May 4, 2014, 12:53 p.m., David Faure wrote:
> > Thanks!
> >
> > Anything else from options() that we're not handling?
>From a quick look, FileDialogOption::DontConfirmOverwrite option is unhandled.
This one is easy: dialog->m_fileWidget->setConfirmOverwrite(!options()->testOption(QFileDialogOptions::DontConfirmOverwrite));
There are also other unhandled options:
labelText (should be doable with setting the label of according widgets)
sidebarUrls, history, FileDialogOption::ReadOnly (not sure what to do)
- David
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117976/#review57244
-----------------------------------------------------------
On May 3, 2014, 4:38 p.m., David Rosca wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117976/
> -----------------------------------------------------------
>
> (Updated May 3, 2014, 4:38 p.m.)
>
>
> Review request for KDE Frameworks.
>
>
> Repository: frameworkintegration
>
>
> Description
> -------
>
> This implements support for QFileDialog::setFileMode.
> Obsolete value QFileDialog::DirectoryOnly is ignored.
>
> Autotest was added to test all FileModes.
>
>
> Diffs
> -----
>
> autotests/kfiledialog_unittest.cpp 69d474c
> src/platformtheme/kdeplatformfiledialoghelper.h c59bee9
> src/platformtheme/kdeplatformfiledialoghelper.cpp 777d818
>
> Diff: https://git.reviewboard.kde.org/r/117976/diff/
>
>
> Testing
> -------
>
> The file dialog works as expected, autotests pass.
>
>
> Thanks,
>
> David Rosca
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140504/c9ed994a/attachment.html>
More information about the Kde-frameworks-devel
mailing list