Montel Laurent
ae30a7fc51
USe new connect api
11 years ago
Lukáš Tinkl
fd6a35486e
port KUrl -> QUrl
11 years ago
Aleix Pol
71dd075437
fix build
11 years ago
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
11 years ago
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 .
12 years ago
Frederik Gladhorn
34fbdf8c85
Some more kDebug->qDebug
12 years ago
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
12 years ago
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
13 years ago
Marco Martin
6041b31e43
go to exact bookmark point if possible
14 years ago
Marco Martin
6de4500fd1
bookmarkPosition function
14 years ago
Marco Martin
f59404ed02
expose complete url
14 years ago
Aaron Seigo
e82ee0f7e3
set an interval on the timer
14 years ago
Aaron Seigo
11bb8c0a7d
avoid some redraws
14 years ago
Aaron Seigo
863e34dc7a
put the thumbnail setting into PageItem as bookkeeping is helpful here
14 years ago
Aaron Seigo
973e9a28b8
fix off by one -> page is zeroth counted, number of pages obviously starts at 1
14 years ago
Aaron Seigo
6da814a022
don't clear prior requests when requesting thumbnails
...
this fixes the "some thumbnails don't show up" bug :)
14 years ago
Marco Martin
ae5ddd097c
support bookmarks with complete viewport
14 years ago
Marco Martin
cbe00442f5
relicense to gpl as the rest of okular
14 years ago
Marco Martin
0934b778b1
use the version of PagePainter from ui
14 years ago
Marco Martin
8196b9db28
sort bookmark list
...
connect to the right signal
14 years ago
Marco Martin
adabbf5fb5
api for setting/unsetting bookmarks
14 years ago
Aaron Seigo
a1ec69a146
only paint the exposed area
14 years ago
Aaron Seigo
2119bb4e02
try to limit pixmap requests
14 years ago
Aaron Seigo
4c17d117b0
Revert "only repaint on things the app cares about"; turns out pagepainter does care about all changes
...
This reverts commit ac5c4364b7 .
14 years ago
Aaron Seigo
ac5c4364b7
only repaint on things the app cares about
14 years ago
Aaron Seigo
c6ad83e189
m_pixmap is no longer necessary either
14 years ago
Aaron Seigo
8a9d9a54a8
and yet more repaints go bye-bye
14 years ago
Aaron Seigo
b59578a149
and now i get actual content on the screen
14 years ago
Aaron Seigo
5c5b9deec8
if the painter is already AA'd, don't save/restore painter state
14 years ago
Aaron Seigo
a92af5b5a4
reset the page pointer when the document changes
14 years ago
Marco Martin
abca7780ad
try to cache the rendered page to see if zooming speed improves
14 years ago
Marco Martin
4c7e1e50d3
include core files locally
...
they are not installed yet
14 years ago
Marco Martin
68f32efab8
switch my files to lgpl
...
pagepainter is still problematic, shouldn't be duplicated anymore
14 years ago
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
14 years ago