[openlp-dev] [OpenLP] QGraphicsView Renderer Concept

Tomas Groth second at tgc.dk
Sun Dec 4 09:02:17 EST 2016


Hi Mattias,

2016-12-04 11:59 GMT+01:00 Mattias Põldaru <mahfiaz at gmail.com>:

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

Not if you want to see chords on the main screen, which is possible in the
current chord-branch.


>
> Can QGraphicsView show video supporting all the formats VLC does?
>
>
There is QGraphicsVideoItem, and according to
https://wiki.qt.io/Qt_5.7_Multimedia_Backends Qt uses the underlying OS for
decoding video, so it probably depends on the OS you're on and if you've
installed some extra decoders. So VLC will probably always be the better
choice, and we also need VLC for DVD playback.


>
> Mattias
>
>
/Tomas


>
>
> 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/%7Etomasgroth/openlp/chords>
> https://code.launchpad.net/~tomasgroth/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>:
>
>> 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> 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
>>> _______________________________________________
>>> openlp-dev mailing list
>>> openlp-dev at openlp.io
>>> 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
>>
>>
>
>
> _______________________________________________
> openlp-dev mailing listopenlp-dev at openlp.iohttps://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/68056afc/attachment.html>


More information about the openlp-dev mailing list