[openlp-dev] [OpenLP] QGraphicsView Renderer Concept

Mattias Põldaru mahfiaz at gmail.com
Sun Dec 4 05:59:43 EST 2016


Tomas, as stageview (still being just a webpage) is going nowhere, then 
the main screen with effects could do without chords.

Can QGraphicsView show video supporting all the formats VLC does?


Mattias


03.12.2016 22:52 Tomas Groth kirjutas:
> Hi Laura,
>
> It was actually me who talked about it :-)
> We are currently working on getting chords into OpenLP, and to do that 
> we use some CSS, which unfortunately is not supported by the Qt rich 
> text engine, we know because it breaks the printing-rendering of 
> chords which uses Qt rich text. The docs on the supported CSS is here: 
> http://doc.qt.io/qt-5/richtext-html-subset.html#css-properties
> The formatting tags in OpenLP are also relying on HTML and CSS, but 
> for most cases I think the support in Qt rich text is sufficient.
> The code for the chords is currently in this branch: 
> https://code.launchpad.net/~tomasgroth/openlp/chords 
> <https://code.launchpad.net/%7Etomasgroth/openlp/chords> - we (or me) 
> hope to merge it soon. If we switch to the new renderer we will have 
> to re-implement that somehow.
>
> I think the new renderer looks good, but there are of course some 
> consideration about how it will measure up against our current 
> all-html approach. While a QGraphicsView based renderer could be the 
> future of OpenLP, I think we should stick to the webbased approach for 
> the upcoming  2.6 release. A thing to note about the performance is 
> that the QtWebEngine that we plan to move to as renderer to replace 
> the QtWebKit, should be faster since it should use hardware 
> acceleration. This is of course still to be tested...
>
> Best regards,
> Tomas (tgc)
>
>
>
> 2016-12-03 21:10 GMT+01:00 Laura Ekstrand <laura at jlekstrand.net 
> <mailto:laura at jlekstrand.net>>:
>
>     Tim Bentley was talking about using CSS to draw guitar chords
>     (presumably for a confidence screen).  I'm not sure if this
>     platform would accommodate that.  Could you elaborate on that
>     idea?  Is there code for this I could look at?
>
>     Thanks.
>
>     Laura
>
>
>     On Dec 3, 2016 11:21 AM, "Raoul Snyman" <raoul at snyman.info
>     <mailto:raoul at snyman.info>> wrote:
>
>         Hey Laura,
>
>         As I said in the IRC channel, I'm really impressed with this.
>         I think we all would like to see if we can make something that
>         contains all the features of our current rendering engine, and
>         then move onto the fancier stuff like transitions.
>
>
>         -- 
>         Raoul Snyman
>         082 550 3754
>         raoul at snyman.info <mailto:raoul at snyman.info>
>         _______________________________________________
>         openlp-dev mailing list
>         openlp-dev at openlp.io <mailto:openlp-dev at openlp.io>
>         https://lists.openlp.io/mailman/listinfo/openlp-dev
>         <https://lists.openlp.io/mailman/listinfo/openlp-dev>
>
>
>     _______________________________________________
>     openlp-dev mailing list
>     openlp-dev at openlp.io <mailto:openlp-dev at openlp.io>
>     https://lists.openlp.io/mailman/listinfo/openlp-dev
>     <https://lists.openlp.io/mailman/listinfo/openlp-dev>
>
>
>
>
> _______________________________________________
> openlp-dev mailing list
> openlp-dev at openlp.io
> https://lists.openlp.io/mailman/listinfo/openlp-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openlp.io/pipermail/openlp-dev/attachments/20161204/f53a6270/attachment-0001.html>


More information about the openlp-dev mailing list