Jean-Marc Lasgouttes wrote:
Le 13/06/2009 01:34, Richard Heck a écrit :
David Palacio wrote:
Hi,
On KDE 4.3, when using a KDE widget style, Qt applications get KDE
file dialogs for free. That is not the case for Lyx. I guess it is
because Lyx customizes the file dialog. It would be great for Lyx to
get the integration Qt applications have in KDE 4.
If this could be done cheaply, that'd be great. Anyone know? Andre?
Isn't that just a matter of using the native dialog in linux?
Yep, just an "ifdef MAC or WIN" to remove.
Actually, I would have proposed that generally if only we were able
to use QFileDialog::setSidebarUrls. The problem with that method is that
the URLs cannot be given names, so that if we add $lyxrid/clipart in
the sidebar, it will appear as "clipart". And if we add
$userdir/clipart, it will appear as... "clipart" too.
We could solve that with some symlink tricks, but I do not think
this can be done in wondows (unless lnk files work here).
We use the native dialog on Windows anyway so...
Abdel.