https://bugs.kde.org/show_bug.cgi?id=404833

--- Comment #10 from Kai Uwe Broulik <k...@privat.broulik.de> ---
> and that that was deemed acceptable (was a while ago though).

It still is as that binds your application to a specific Qt version and
requires recompilation on every Qt version update (even minor). Getting this
done right in KWin (which uses quite some private Qt headers these days to
provide Wayland integration) took a while.

> what would you want to do with the "actual window"?

Embed it like you asked for? Or set a transient parent on it to make it modal
to a non-widget dialog

> The application side could use findChildren()

the window doesn't have a parent and isn't a child of the QFileDialog.

> QFileDialog proxy

We had that in KDE4, it was called KFileDialog, and got abandoned in favor of a
QFileDialog + QPT approach which will get you native file dialogs on other
platforms. I don't see how QFile*Dialog* would be something that is supported
to be embedded elsewhere. In KDE code we would embed a KFileWidget. However,
there's also the issue of not being able to add custom widgets to such dialogs,
since the native dialogs aren't real Qt widgets you could add a widget to.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to