Re: [MeeGo-dev] PDF reader for tablets running MeeGo

2011-05-15 Thread Héctor Blanco Alcaine
Hi Sivan,

On 13 May 2011 15:13, Sivan Greenberg si...@omniqueue.com wrote:
 Is this based on the QML book reading example that circulated here
 some 4 months ago?

No, it uses simpler transitions and is based on a PDF provider
subclassing QDeclarativeImageProvider and relying on Poppler Qt4 for
rendering.

We tried to use fancier transitions to move from one page to another,
but performance suffered a lot. It was in February, so things may have
improved.

That QML book code was really nice for an ebook reader, but we are
using this app mainly for close-range presentations :)

-- 
Héctor
http://www.linkedin.com/in/hectorblancoalcaine
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] PDF reader for tablets running MeeGo

2011-05-15 Thread Javier Urúen Val
Hi,

I've uploaded the ShowMee sources to github [0]. Note that this app is
initially intended to display PDF presentations in full screen mode.
That means if you try to display something bigger than a presentation
that needs more resolution such an A4 page, the aspect of the rendered
page in full screen will make it difficult to read.

Adding a zoom in/out would make it suitable to display other PDF
documents. I'm also working on replacing the current page switch for a
PathView.



[0] https://github.com/Warp-Networks/showmee
-- 
Javier Uruen Val

Warp Networks (http://warp.es)
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] D-Bus APIs on QML

2011-05-15 Thread Tom Swindell
Hi,

Currently, unfortunately, there is no way to integrate with dbus from QML 
directly. The easiest way is to write a C++ wrapper which exposes your QML 
friendly methods and handles making the dbus calls.

I appreciate that this isn't ideal if you're not a C++ dev and are trying to 
learn QML only, but there is currently no other way.

Cheers, Tom.

- Original message -
 Hi List!
 
 What is the easiest way to use D-Bus APIs on QML ?
 I've seen this article on the ineternet:
 http://minimoesfuerzo.org/2010/03/30/playing-qml-and-dbus/ But It looks
 quite complicate. It need a lot of preparation works (xml desc -
 qdbusxml2cpp - register into qml). Is there way to directly use D-Bus
 API by using Javascript on QML code ? (Actually, I expected that
 javascript interface such as like python-dbus.)
 
 Best regards,
 JC

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Re: [MeeGo-dev] D-Bus APIs on QML

2011-05-15 Thread Arjan van de Ven

On 5/15/2011 12:35 PM, Tom Swindell wrote:


Hi,

Currently, unfortunately, there is no way to integrate with dbus from 
QML directly. The easiest way is to write a C++ wrapper which exposes 
your QML friendly methods and handles making the dbus calls.


I appreciate that this isn't ideal if you're not a C++ dev and are 
trying to learn QML only, but there is currently no other way.





I would suspect that QML only is not a great start; while QML is great 
for writing some very basic apps once you want something fancy you 
very likely end up doing C++ work


___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] D-Bus APIs on QML

2011-05-15 Thread Tom Swindell


- Original message -
 I would suspect that QML only is not a great start; while QML is great 
 for writing some very basic apps once you want something fancy you 
 very likely end up doing C++ work
 

Yes, I completely agree. Otoh, the fact is a lot of potential developers seem 
to think that they can use pure QML to build their apps. I'm hoping one day 
that QML through the community creating plugins etc will make QML much more 
useful, maybe someone should think about setting up something like cpan or 
rubygems for QML C++ plugins. Best to think of these things now rather than 
rush it later.
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Re: [MeeGo-dev] D-Bus APIs on QML

2011-05-15 Thread Ville M. Vainio
CCing qt-qml mailing list which is the proper place for this discussion.

On Sun, May 15, 2011 at 4:35 PM, Tom Swindell t.swind...@rubyx.co.uk wrote:


 - Original message -
 I would suspect that QML only is not a great start; while QML is great
 for writing some very basic apps once you want something fancy you
 very likely end up doing C++ work


 Yes, I completely agree. Otoh, the fact is a lot of potential developers
 seem to think that they can use pure QML to build their apps. I'm hoping one
 day that QML through the community creating plugins etc will make QML much
 more useful, maybe someone should think about setting up something like cpan
 or rubygems for QML C++ plugins. Best to think of these things now rather
 than rush it later.

 ___
 MeeGo-dev mailing list
 MeeGo-dev@meego.com
 http://lists.meego.com/listinfo/meego-dev
 http://wiki.meego.com/Mailing_list_guidelines

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines