On Monday 10 August 2009 3:28:16 pm Abdelrazak Younes wrote:
> On 10/08/2009 20:27, rgheck wrote:
> > On 08/10/2009 02:03 PM, Manoj Rajagopalan wrote:
> >> Thanks, Richard and Vincent.
> >>
> >> For a long time I've wished for a LaTeX rendering widget in Qt. I do
> >> a lot of
> >> scientific computing and I'd like my GUI's to contain label widgets that
> >> display greek symbols etc. and what better way to do this than to have a
> >> constructor that interprets a subset of latex commands. Eg:
> >>
> >>     QLaTeXLabel *label = new QLaTeXLabel(this, QString("\frac{E}
> >> {\hbar\omega}"));
> >
> > I'm not sure, but I'd suspect that nothing like this is terribly
> > likely to come directly out of the LyX code.
>
> Well, Manoj could also simply embed a LyX work area. He just need to
> convert LyX into a library and use that. We have this nice sexy widget
> called EmbeddedWorkArea which is pretty straight forward to use :-)
>
> So Manoj, if you want to cleanup the source code a tiny bit so that we
> could generate a LyX dll instead of the executable, you're basically
> done. And you would be able to have a full blown LyX editor inside your
> app.
>

I took a look at EmbeddedWorkArea. It seems to be creating a new temporary 
buffer in the CTOR. When is this class instantiated in a typical lyx session 
and what is it for?

Reply via email to