Stephan Witt <st.w...@gmx.net> writes:
> Very well, but currently the Mac user cannot access the LyX templates
> and examples.
>
> See ticket http://www.lyx.org/trac/ticket/6861

Yes, I know there is a problem. We need those buttons in native dialogs.
Would you have some time to experiment with these URLs with this QUrl
solution at least in a mac-only setting?

I would create a directory somewhere and create files named
Documents -> document path
Examples -> sysdir/examples

The name on the left should go through gettext of course.

It may be that the simplest way is to create this directory in /tmp just
when the dialog is requested, i.e. directly in FileDialog::open and
friends. Or maybe just call setSideBarUrl directly in setButton[12] and
create the links as needed.

JMarc

Reply via email to