{"id":5779,"date":"2012-05-23T07:58:39","date_gmt":"2012-05-23T07:58:39","guid":{"rendered":"http:\/\/www.notmart.org\/index.php\/Software\/Okular_on_touch_screens"},"modified":"2012-05-23T07:58:39","modified_gmt":"2012-05-23T07:58:39","slug":"okular_on_touch_screens","status":"publish","type":"post","link":"https:\/\/notmart.org\/blog\/2012\/05\/okular_on_touch_screens\/","title":{"rendered":"Okular on touch screens"},"content":{"rendered":"<p>Another small post about new developments in Plasma Active \ud83d\ude09<\/p>\n<p>An important use case for tablet is of course Ebook reading (being them pdf, epub or whatever).<\/p>\n<p>KDE offers a very complete document reading application, that supports a wide variety of formats: Okular. It is of course an application optimized for desktop usage and does a very good job at that, but what is less known is that Okular has a very good separation between the logic of document parsing and rendering, managing bookmarks, annotation etc and the ui itself.<\/p>\n<p>It has been revealed very easy to do a set of QML bindings that let opening all the supported documents by the desktop version of Okular and render them on a component directly usable by QML, alongside a very simple touch friendly application.<\/p>\n<p>This application represents the document as a stack of sheets, in which is possible to flick them around, pich zoom and switching pages with a swipe gesture. A side panel that can be dragged in (common UI pattern in Plasma Active) contains an overview of all the pages as a thumbnail grid.<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"http:\/\/www.youtube.com\/embed\/cvLVqiFC6_4\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p><a href=\"http:\/\/www.notmart.org\/videodemo\/okularactive.ogv\">OGG version<\/a><\/p>\n<p>It&#8217;s just the beginning as both the app and the reusable QML components still don&#8217;t have support or UI for more complex things like custom bookmarks and annotations, that will eventually come in future versions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another small post about new developments in Plasma Active \ud83d\ude09 An important use case for tablet is of course Ebook reading (being them pdf, epub or whatever). KDE offers a very complete document reading application, that supports a wide variety of formats: Okular. It is of course an application optimized for desktop usage and does [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[2,10,29,7,18,19],"class_list":["post-5779","post","type-post","status-publish","format-standard","hentry","category-software","tag-kde","tag-kde4","tag-okular","tag-plasma","tag-qml","tag-tablet"],"_links":{"self":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/5779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/comments?post=5779"}],"version-history":[{"count":0,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/5779\/revisions"}],"wp:attachment":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/media?parent=5779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/categories?post=5779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/tags?post=5779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}