<div dir="ltr"><div><div><div>Yes, but i'd better set it to Text.RichText :^)<br><br></div>If you have time, check, please, latest prototype at Mini repository .platforms\qml\metro\ (it is desktop *.qmlproject, just open it in QtCreator and run). Welcome for comments... It is not ready for usability test but a current development direction.<br>
<br></div>I found that QML is ideal for Windows Phone style, and it is really looks good (when designed well). And it would look organic on modern platforms as Android4 and iOS7 had been influenced by it. Your notices on this matter also welcome.<br>
<br></div>Not sure how it should look on 7"+ devices, and how texts should be arranged on screen. But i would like to keep ListView as base element, maybe to add some management to allow horizontal spitted-views(is it important?).<br>
<div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/27 Gary Holmlund <span dir="ltr"><<a href="mailto:gary.holmlund@gmail.com" target="_blank">gary.holmlund@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>The default for Text.textFormat is
Text.AutoText which supports the HTML text. Also, I inlined the
css so it was not external. <br><span class="HOEnZb"><font color="#888888">
<br>
Gary</font></span><div><div class="h5"><br>
<br>
<br>
On 08/26/2013 11:48 AM, λΟΣΤΡ νΑΣΜΐΛ wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<p dir="ltr">You need to set explicitly Text.textFormat to
Text.RichText. And another reason why it is not styled is: *.css
file can not be loaded (as webmedic mention here you would set
full path to it) or style sheet contain constructions that can
not be resolved by Qt engine. Default BibleTime template contain
such constructions...<br>
</p>
<p dir="ltr">I get it working in my first qml prototype
mini_repository/platforms/qml/btmini/main.qml with modified
template file ./src/display-templates/Basic-Mini.tmpl</p>
<div class="gmail_quote">26.08.2013 21:57 ΠΟΜΨΪΟΧΑΤΕΜΨ "Gary
Holmlund" <<a href="mailto:gary.holmlund@gmail.com" target="_blank">gary.holmlund@gmail.com</a>>
ΞΑΠΙΣΑΜ:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><br>
The QML "Text" object supports HTML 3.2 but no css. I did
try out using "Text instead of "WebView" in the Mobile
code. As expected, I did see the text, but it is no
formatted in any way by the css. <br>
<br>
Gary<br>
<br>
On 8/26/2013 7:30 AM, webmedic wrote:<br>
</div>
<blockquote type="cite">
<p>I have been able to load external resources by giving
the entire path to the local file. </p>
<div class="gmail_quote">On Aug 26, 2013 2:52 AM, "λΟΣΤΡ
νΑΣΜΐΛ" <<a href="mailto:kostyamaslyuk@gmail.com" target="_blank">kostyamaslyuk@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Sorry for confusion. Qt call html format they
support as RichText as opposed to PlainText
format. So i'm not about RTF but HTML that Qt
supports internally.<br>
<br>
</div>
I would mention again that i did not managed to load
external resources with it (QTextDocument: neither
css or images) and it does not support some css
features. There is already made BibleTime template
that works with Qt-Html at Mini repository.<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/8/26 Greg Hellings <span dir="ltr"><<a href="mailto:greg.hellings@gmail.com" target="_blank">greg.hellings@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
<div>On Sun, Aug 25, 2013 at 11:42 PM,
Gary Holmlund <span dir="ltr"><<a href="mailto:gary.holmlund@gmail.com" target="_blank">gary.holmlund@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>λΟΣΤΡ,<br>
<br>
To use RichText we would have to
have a different renderer. I am
not sure I want to make this now.
I still hope that Qt 5.2 will
support WebKit on Android. You
have had a rich text renderer in
the past for Mini. Was it hard to
make? We can do it at a later date
if we decide it is the only
choice.<br>
</div>
</div>
</blockquote>
<div><br>
</div>
</div>
<div>The engine supports RTF output, FYI.
FMT_RTF should get you that. It's only
used in BibleCS (aka The SWORD Project
for Windows). So creating the renderer
shouldn't be /too/ difficult.</div>
<span><font color="#888888">
<div><br>
</div>
<div>--Greg</div>
</font></span>
<div>
<div>
<div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div> <br>
Developing on Qt 4.8 does not
seem like a good choice since
the QML code (Quick 1.0) is
depreciated.<br>
<br>
I think that developing Quick 2
on desktops is the best choice
for now.<br>
<br>
I am going to look at a single
window mode for smaller
displays. If you wish to work on
the install manager, I will
avoid changes in that area.<span><font color="#888888"><br>
<br>
Gary</font></span>
<div>
<div><br>
<br>
<br>
On 08/23/2013 05:06 AM,
λΟΣΤΡ νΑΣΜΐΛ wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">
<div>It think we would use
Qt RichText for a while.
It is used in Mini for a
long time and WebKit is
an runtime option on
platforms that supports
it. I know that it is
not full functional but
it was enough.<br>
</div>
<div>Or develop on
desktops, i simply do
not know what a features
supply WebKit that Qt
RichText haven't (except
images, proper css
handling).<br>
</div>
<div><br>
</div>
Necessitas project that
support Qt 4.8.2 on
Android have WebKit
support but have QtQuick1
modules only.<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/8/23
Gary Holmlund <span dir="ltr"><<a href="mailto:gary.holmlund@gmail.com" target="_blank">gary.holmlund@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 08/22/2013
07:25 AM, λΟΣΤΡ
νΑΣΜΐΛ wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have tried
Mobile on Android,
but without WebKit
support in Qt, it
does not makes
sense (fails
loading qml file).
I also fixed one
issue, related to
comparison between
translated and
non-translated
strings.<br>
<br>
Related to WebKit
support on
Android, <a href="https://bugreports.qt-project.org/browse/QTBUG-32093" target="_blank">https://bugreports.qt-project.org/browse/QTBUG-32093</a><br>
<br>
</blockquote>
</div>
I had missed the fact
that WebView did not
come with the Qt 5.1
Android port. I can
see this is on the
list they want to do
for the next Qt
release, but it is not
guaranteed to be in Qt
5.2<br>
<br>
I don't know that we
have a good choice
now. We could:<br>
<br>
1. Continue on
developing a QML
version on linux or
windows and hope the
Qt 5.2 (or later) has
the WebView for
Android. The QML
"Text" type supports
html and we may be
able to use it in the
sort term and make an
Android version.<br>
<br>
2. Wait on the QML
version and put more
effort into the widget
version of Mini.<br>
<br>
What are your
thoughts?
<div>
<div><br>
<br>
Gary<br>
<br>
<br>
<br>
_______________________________________________<br>
bt-devel mailing
list<br>
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
bt-devel mailing list
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
<br>
</blockquote>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
<br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
bt-devel mailing list
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
<br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
bt-devel mailing list
<a href="mailto:bt-devel@crosswire.org" target="_blank">bt-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
bt-devel mailing list<br>
<a href="mailto:bt-devel@crosswire.org">bt-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/bt-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/bt-devel</a><br>
<br></blockquote></div><br></div>