On Sat, 10 Mar 2018 18:46:12 -0800 (PST) Thomas Passin <tbp100...@gmail.com> wrote:
> Do you happen to know if it's feasible to use QML widgets in Leo? I > don't know either Qt or QML, but much of the PyQt code I see in Leo > looks very painful, a steep learning curve to climb. I remember when > I wrote my Matplotlib graphics plotting and calculator program, > finding out how to do even simple things in Matplotlib gave me fits. > It's mostly because there is so much *stuff* in there, it's hard to > find what you really need to do and how to do the details. It's > obviously similar for Qt, and for similar reasons. I think a long time ago Ville wrote something in QML in Leo but I'm not sure. It might have been a sort of continuous scrolling column of body editors that I remember being a bit more reactive / animated than regular Qt UI elements. Being fairly used to Qt I don't find it difficult to code in. OTOH maybe a modern browser based GUI system - well, really "HTML" CSS is a lot better than Qt's Stylesheet system I think. With Qt 5.8 breaking the ~= operator it's hard to even emulate CSS classes well. Cheers -Terry > Maybe QML would reduce that learning and coding effort. OTOH, it > looks like it's much easier to use QML with PySide rather than PyQt. > I have no idea if QML widgets constructed using PySide would be > compatible with Qt widgets instantiated with PyQt. > > On Saturday, March 10, 2018 at 8:49:37 PM UTC-5, Terry Brown wrote: > > > > On Sat, 10 Mar 2018 17:41:47 -0800 (PST) > > Thomas Passin <tbp1...@gmail.com <javascript:>> wrote: > > > > > If I could step in here some months later, and move to a higher > > > level of conversation, I think that there are several levels of > > > engagement with Jupyter that we could contemplate. > > > > I have a long term goal of doing something on the spectrum you > > describe as part of this project: > > https://github.com/leo-editor/leo-editor/issues/778 > > > > But don't hold your breath. Although seeing that project and this > > one > > > > https://github.com/leo-editor/leo-editor/blob/92ed9d33ac54210de5d97a4612bba2f1fb8f67d5/branches.md#qdock-layout > > > > are related, and the above is finally moving again, maybe? > > > > Cheers -Terry > > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.