Commit graph

36 commits

Author SHA1 Message Date
Marco Martin 5ba5e2189c rename from active to mobile 2015-08-05 16:54:48 +02:00
Marco Martin 511054c423 set the contents size as the full size
crash--
2015-08-03 15:33:58 +02:00
Montel Laurent ae30a7fc51 USe new connect api 2015-03-17 09:13:17 +01:00
Lukáš Tinkl fd6a35486e port KUrl -> QUrl 2015-01-29 20:55:57 +01:00
Aleix Pol 71dd075437 fix build 2015-01-16 13:57:04 +01:00
Marco Martin 3d50fec102 initial port of QML components to QtQuick2
this is an initial port of the qml component set of okular to qtquick2

it's straightforward, except pageitem that right now is a qquickpainteditem, that works fine, but a bit slower than generating and uploading the textures by hand (that may be an eventual future port)

the okular active application is still missing, but the components can be used from anywhere in qml
REVIEW:121326
2014-12-02 20:41:16 +01:00
Frederik Gladhorn 83d3f1f6b7 Revert "Some more kDebug->qDebug"
Seems like kDebug doesn't spam the user, so this needs to use qCDebug.

This reverts commit 34fbdf8c85.
2014-09-11 02:03:46 +02:00
Frederik Gladhorn 34fbdf8c85 Some more kDebug->qDebug 2014-09-09 18:17:36 +02:00
Vishesh Handa a034265e75 QML PageItem: Handle document path changes
PageItem works quite well if the DocumentItem has the path on
construction, but it does not update if the path is initially blank and
then later changed.

REVIEW: 115751
2014-02-17 13:18:31 +01:00
Albert Astals Cid 541650a4f4 Remove the concept of observer/view id
Just use the pointer as id :-)

This is BIC and SIC, increase the soversion now to makes sure we don't forget in the future

Patch based in an earlier patch by Bogdan Cristea <cristeab@gmail.com>
REVIEW: 109115
2013-02-24 23:01:02 +01:00
Marco Martin 6041b31e43 go to exact bookmark point if possible 2012-10-12 12:50:39 +02:00
Marco Martin 6de4500fd1 bookmarkPosition function 2012-10-12 11:05:31 +02:00
Marco Martin f59404ed02 expose complete url 2012-10-12 10:51:32 +02:00
Aaron Seigo e82ee0f7e3 set an interval on the timer 2012-10-07 21:09:15 +02:00
Aaron Seigo 11bb8c0a7d avoid some redraws 2012-10-07 21:09:09 +02:00
Aaron Seigo 863e34dc7a put the thumbnail setting into PageItem as bookkeeping is helpful here 2012-10-07 21:07:38 +02:00
Aaron Seigo 973e9a28b8 fix off by one -> page is zeroth counted, number of pages obviously starts at 1 2012-10-07 20:24:48 +02:00
Aaron Seigo 6da814a022 don't clear prior requests when requesting thumbnails
this fixes the "some thumbnails don't show up" bug :)
2012-10-07 20:23:26 +02:00
Marco Martin ae5ddd097c support bookmarks with complete viewport 2012-10-05 15:59:08 +02:00
Marco Martin cbe00442f5 relicense to gpl as the rest of okular 2012-10-03 11:32:42 +02:00
Marco Martin 0934b778b1 use the version of PagePainter from ui 2012-10-02 14:19:09 +02:00
Marco Martin 8196b9db28 sort bookmark list
connect to the right signal
2012-08-01 19:09:48 +02:00
Marco Martin adabbf5fb5 api for setting/unsetting bookmarks 2012-08-01 18:14:12 +02:00
Aaron Seigo a1ec69a146 only paint the exposed area 2012-05-25 21:45:40 +02:00
Aaron Seigo 2119bb4e02 try to limit pixmap requests 2012-05-25 21:29:03 +02:00
Aaron Seigo 4c17d117b0 Revert "only repaint on things the app cares about"; turns out pagepainter does care about all changes
This reverts commit ac5c4364b7.
2012-05-22 16:18:41 +02:00
Aaron Seigo ac5c4364b7 only repaint on things the app cares about 2012-05-22 16:15:42 +02:00
Aaron Seigo c6ad83e189 m_pixmap is no longer necessary either 2012-05-22 16:08:03 +02:00
Aaron Seigo 8a9d9a54a8 and yet more repaints go bye-bye 2012-05-22 16:03:34 +02:00
Aaron Seigo b59578a149 and now i get actual content on the screen 2012-05-22 15:58:16 +02:00
Aaron Seigo 5c5b9deec8 if the painter is already AA'd, don't save/restore painter state 2012-05-22 15:57:52 +02:00
Aaron Seigo a92af5b5a4 reset the page pointer when the document changes 2012-05-22 15:57:32 +02:00
Marco Martin abca7780ad try to cache the rendered page to see if zooming speed improves 2012-05-21 20:09:14 +02:00
Marco Martin 4c7e1e50d3 include core files locally
they are not installed yet
2012-05-15 17:23:15 +02:00
Marco Martin 68f32efab8 switch my files to lgpl
pagepainter is still problematic, shouldn't be duplicated anymore
2012-05-14 21:16:56 +02:00
Marco Martin fd84427cc4 add a declarative plugin
two components:
Document, represents an Okular::Document
Page: represents an Okular::Page, once connected to a Document can display a single page
2012-05-14 20:37:22 +02:00