Pino Toscano
0be674f981
Forwardport SVN commit 599376 by pino:
...
Don't try querying the document if it's closed.
svn path=/trunk/playground/graphics/okular/; revision=599385
20 years ago
Pino Toscano
03e01b97f6
it's not a real composition effect, but this should help a bit...
...
svn path=/trunk/playground/graphics/okular/; revision=598542
20 years ago
Pino Toscano
4c0808fabf
a bit less of #include's
...
svn path=/trunk/playground/graphics/okular/; revision=598229
20 years ago
Pino Toscano
ab1fe9f8cc
initialize a pointer is always a good idea
...
svn path=/trunk/playground/graphics/okular/; revision=598206
20 years ago
Pino Toscano
23b3a7f6a1
ooops forgot to remove some debug
...
svn path=/trunk/playground/graphics/okular/; revision=598204
20 years ago
Pino Toscano
339bfc6907
Create a new AnnotationEngine to select some text from the current page, and make it able to distill Highlight annotations. Now you can hightlight th text in your document, wooo :)
...
svn path=/trunk/playground/graphics/okular/; revision=598201
20 years ago
Pino Toscano
5f28d1163f
make a pair of actions name and label more close to the others
...
remove unused (duplicated) action
svn path=/trunk/playground/graphics/okular/; revision=598165
20 years ago
Pino Toscano
d010d05e6e
make the AnnotatorEngine able to return a list of annotations (this will be useful later...)
...
svn path=/trunk/playground/graphics/okular/; revision=598151
20 years ago
Pino Toscano
7d6f5be0e5
less verbose
...
svn path=/trunk/playground/graphics/okular/; revision=598093
20 years ago
Pino Toscano
d37a58ec71
show something as caption for the presentation mode; show always the file name instead of the full url when in both the part and presentation mode there is no document title available
...
svn path=/trunk/playground/graphics/okular/; revision=597895
20 years ago
Pino Toscano
ed84916c0d
spell checking
...
svn path=/trunk/playground/graphics/okular/; revision=597875
20 years ago
Pino Toscano
1fabb1880d
rename setSelected to setCurrent, as it clashes with a new function of Qt4.2
...
svn path=/trunk/playground/graphics/okular/; revision=597727
20 years ago
Albert Astals Cid
d3f03d2144
Change slotRequestVisiblePixmaps that is called due to a rotation change to a queued petition, this makes rotation changing from 0º to 180º work as previously pixmaps where not reasked because the page items relayouting was done after (in a queded petition) and so they did not intersect at this stage, now as we use a queued petition too for slotRequestVisiblePixmaps, the order is correct and works
...
Transform QTimer::singleShot to QMetaObject::invokeMethod as thiago said it is better
svn path=/trunk/playground/graphics/okular/; revision=597307
20 years ago
Pino Toscano
85bf380d7d
this seems a little bit faster...
...
svn path=/trunk/playground/graphics/okular/; revision=596608
20 years ago
Pino Toscano
a5d7d31d33
isolate the Xrender dependant code, so okular can be compile and work even without it
...
svn path=/trunk/playground/graphics/okular/; revision=596572
20 years ago
Pino Toscano
ef1fb7e8d5
const
...
svn path=/trunk/playground/graphics/okular/; revision=596146
20 years ago
Pino Toscano
87904adec4
change a bit how we look for objects in a page: first look for annotations, then links (acrobat reader does this way too, so it should be the "right" thing to do)
...
svn path=/trunk/playground/graphics/okular/; revision=596127
20 years ago
Pino Toscano
1deb800611
instead of being a frame, just use two frames acting as side lines to emulate a
...
visual zone for the minibar. this makes the prev/next buttons more reachable.
svn path=/trunk/playground/graphics/okular/; revision=595840
20 years ago
Albert Astals Cid
5143cd2512
Report page size
...
It's only reported in case it makes sense for the format
Only implemented for pdf atm
If all pages have the same size it's reported on document properties
else there's a label shown in the new bottom bar with the size of the current page
svn path=/trunk/playground/graphics/okular/; revision=595822
20 years ago
Albert Astals Cid
7cd16e9d61
fix indenting + hoverbuttons do not accept focus
...
svn path=/trunk/playground/graphics/okular/; revision=595774
20 years ago
Pino Toscano
f27f44fd79
Detach the progress widget from the minibar, and move the minibar as a small toolbar on the bottom of the page view.
...
Implements KPDF wish #102788 .
svn path=/trunk/playground/graphics/okular/; revision=595764
20 years ago
Pino Toscano
2b143ca661
better this than a null icon
...
svn path=/trunk/playground/graphics/okular/; revision=595472
20 years ago
Pino Toscano
22aac31f78
remove some code that is done automatically by Qt for us
...
svn path=/trunk/playground/graphics/okular/; revision=595471
20 years ago
Pino Toscano
c8ba6d8c15
be sure to remove also the pointer to the old annotation window when deleting the window itself
...
svn path=/trunk/playground/graphics/okular/; revision=595393
20 years ago
Pino Toscano
c9346d8331
tooltip for annotation on the pageview
...
svn path=/trunk/playground/graphics/okular/; revision=595377
20 years ago
Pino Toscano
20947b2e8d
much like the other side panes
...
svn path=/trunk/playground/graphics/okular/; revision=595366
20 years ago
Pino Toscano
280ba5fd68
improve tooltip
...
svn path=/trunk/playground/graphics/okular/; revision=595313
20 years ago
Albert Astals Cid
7ae910d0b8
fix rendering when at very high zoom levels
...
svn path=/trunk/playground/graphics/okular/; revision=594633
20 years ago
Pino Toscano
6bd498e8e3
draw the page outline rect correctly again
...
svn path=/trunk/playground/graphics/okular/; revision=594614
20 years ago
Pino Toscano
fd26a17131
show the clear button of the line edit
...
svn path=/trunk/playground/graphics/okular/; revision=593736
20 years ago
Albert Astals Cid
4458c20075
viewport() -> widget()
...
well spotted pino!
svn path=/trunk/playground/graphics/okular/; revision=593718
20 years ago
Albert Astals Cid
d212d60a99
correct indentign, that happens because i use vim instead of kate :-/
...
svn path=/trunk/playground/graphics/okular/; revision=593716
20 years ago
Albert Astals Cid
a5b9f5bff9
since QVBoxLayout seems to have changed its behaviour we do the relayouting at hand since it's easy enough
...
svn path=/trunk/playground/graphics/okular/; revision=593714
20 years ago
Albert Astals Cid
d767c84a30
Fix painting when at very few pages and zoom level alst pages where not beign painted
...
svn path=/trunk/playground/graphics/okular/; revision=593692
20 years ago
Albert Astals Cid
e6dae78ac3
Port Q3ScrollView to QScrollArea, probably still has some small issues but seems to work quite well
...
svn path=/trunk/playground/graphics/okular/; revision=593332
20 years ago
Pino Toscano
c2686ba1d1
show the annotation type in the review side tab, and a simple tooltip with its author
...
svn path=/trunk/playground/graphics/okular/; revision=593266
20 years ago
Pino Toscano
858a6bf783
factor out the text selections ruotines, so they can be used also from other places
...
svn path=/trunk/playground/graphics/okular/; revision=592041
20 years ago
Pino Toscano
ac87494ce0
As suggested by our usability expert Florian, add a bar above the page view showing in case the document has embedded files, that can be clsed with the X button.
...
svn path=/trunk/playground/graphics/okular/; revision=591837
20 years ago
Albert Astals Cid
792023ffde
don't show invalid dates
...
svn path=/trunk/playground/graphics/okular/; revision=590351
20 years ago
Albert Astals Cid
0ecf1ba8da
Fix autoscroll
...
svn path=/trunk/playground/graphics/okular/; revision=590053
20 years ago
Albert Astals Cid
de8d4bad59
reinstantiate the fact that right pressing and dragging in select mode moves you to the selection mode
...
svn path=/trunk/playground/graphics/okular/; revision=589908
20 years ago
Albert Astals Cid
6bf2d5947f
fix my own breakage
...
svn path=/trunk/playground/graphics/okular/; revision=589890
20 years ago
Pino Toscano
7bebb16619
make the sorting model working correctly, thanks to icefox!
...
svn path=/trunk/playground/graphics/okular/; revision=589657
20 years ago
Pino Toscano
71933af682
show something in case of documents with no fonts
...
svn path=/trunk/playground/graphics/okular/; revision=589094
20 years ago
Albert Astals Cid
a1a3c9c559
IMadeItWorkSoRemoveTheTODO
...
svn path=/trunk/playground/graphics/okular/; revision=588911
20 years ago
Albert Astals Cid
7f63a0128c
makeItWork
...
svn path=/trunk/playground/graphics/okular/; revision=588909
20 years ago
Pino Toscano
853d6c70a7
Give a tooltip in the page view for every kind of lnk we support.
...
Also improve a bit the one in the presentation mode, and give a message when the link is a "go to the page x" link.
Implements KPDF wish #131361 .
svn path=/trunk/playground/graphics/okular/; revision=588899
20 years ago
Albert Astals Cid
a9a27a9894
remove qt3 support calls
...
svn path=/trunk/playground/graphics/okular/; revision=588888
20 years ago
Pino Toscano
42310e184c
Restructuring a bit how the text-editor-like selection works:
...
* putting it in an own view mode
* associating the selection to every page
* using a better algorithm to calculate the selection, even in a page range
* moving its drawing from the page view to the page painter, so it's possibile to draw it just like it's done with eg annotations
Other changes (more or less related):
* moved the annotation popup to a better place, so it won't interfere with annotation drawing
* commented some debug code in TextPage
svn path=/trunk/playground/graphics/okular/; revision=588795
20 years ago
Pino Toscano
62e29bcc8f
KPDF -> okular
...
svn path=/trunk/playground/graphics/okular/; revision=587004
20 years ago