On 04/22/2013 09:19 AM, Rob Oakes wrote:
Dear Developers,

If I remember correctly, as of the last developer meeting, QtCore
classes were being tolerated in the core of LyX.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg172533.html

Is this correct? Are there any examples of QtCore and Signals/Slots
being integrated into the core of LyX?

I've been corresponding with one of the GSOC students about using the
outline enhancements for a GSOC project, and it seems that moving
certain text insets to use QObject (or related) as their base class
might be an interesting goal. This would allow for insets to make use of
the signal/slot mechanism for communicating updates to the view.

In the case of the outline view and underlying TOC model, it wouldn't be
necessary to scan for changes, and would provide a nice speed boost to
the editing experience.

Would such a project be too ambitious?

There are other signal-slot mechanisms that could be used, I believe. Boost signals are used in the core already. I'm not sure exactly what the idea is here, though, so I'm not sure if that helps or not.

A larger question concerns whether this threatens to subvert the dispatch mechanism.

Richard

Reply via email to