Pino Toscano
6ac2174811
move the configuration update procedures of the page view into the page view itself
...
make the pageview update when changing the number of columns in overview mode
svn path=/trunk/playground/graphics/okular/; revision=599878
2006-10-28 22:58:05 +00:00
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
2006-10-26 20:59:07 +00:00
Pino Toscano
4c0808fabf
a bit less of #include's
...
svn path=/trunk/playground/graphics/okular/; revision=598229
2006-10-22 23:00:39 +00:00
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
2006-10-22 18:19:17 +00:00
Pino Toscano
7d6f5be0e5
less verbose
...
svn path=/trunk/playground/graphics/okular/; revision=598093
2006-10-22 13:49:11 +00:00
Pino Toscano
ed84916c0d
spell checking
...
svn path=/trunk/playground/graphics/okular/; revision=597875
2006-10-21 22:07:05 +00:00
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
2006-10-19 21:18:39 +00:00
Pino Toscano
85bf380d7d
this seems a little bit faster...
...
svn path=/trunk/playground/graphics/okular/; revision=596608
2006-10-17 22:56:49 +00:00
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
2006-10-17 21:26:43 +00:00
Pino Toscano
ef1fb7e8d5
const
...
svn path=/trunk/playground/graphics/okular/; revision=596146
2006-10-16 19:47:20 +00:00
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
2006-10-16 19:19:42 +00:00
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
2006-10-14 10:55:10 +00:00
Pino Toscano
c9346d8331
tooltip for annotation on the pageview
...
svn path=/trunk/playground/graphics/okular/; revision=595377
2006-10-14 10:07:42 +00:00
Albert Astals Cid
7ae910d0b8
fix rendering when at very high zoom levels
...
svn path=/trunk/playground/graphics/okular/; revision=594633
2006-10-11 20:26:09 +00:00
Pino Toscano
6bd498e8e3
draw the page outline rect correctly again
...
svn path=/trunk/playground/graphics/okular/; revision=594614
2006-10-11 18:26:23 +00:00
Albert Astals Cid
4458c20075
viewport() -> widget()
...
well spotted pino!
svn path=/trunk/playground/graphics/okular/; revision=593718
2006-10-08 20:12:02 +00:00
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
2006-10-08 18:20:04 +00:00
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
2006-10-07 14:40:32 +00:00
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
2006-10-03 17:13:42 +00:00
Albert Astals Cid
0ecf1ba8da
Fix autoscroll
...
svn path=/trunk/playground/graphics/okular/; revision=590053
2006-09-29 09:02:07 +00:00
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
2006-09-28 22:19:31 +00:00
Albert Astals Cid
6bf2d5947f
fix my own breakage
...
svn path=/trunk/playground/graphics/okular/; revision=589890
2006-09-28 21:41:50 +00:00
Albert Astals Cid
a1a3c9c559
IMadeItWorkSoRemoveTheTODO
...
svn path=/trunk/playground/graphics/okular/; revision=588911
2006-09-27 10:52:27 +00:00
Albert Astals Cid
7f63a0128c
makeItWork
...
svn path=/trunk/playground/graphics/okular/; revision=588909
2006-09-27 10:52:02 +00:00
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
2006-09-27 10:28:03 +00:00
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
2006-09-26 22:22:01 +00:00
Tobias Koenig
df7d144c10
Moved all classes in core/ into the 'Okular' namespace and removed
...
nearly all references to kpdf (knewstuff still missing).
svn path=/trunk/playground/graphics/okular/; revision=586993
2006-09-21 08:45:36 +00:00
Pino Toscano
9bbabc1f64
Forward port to okular of KPDF commit 586747:
...
Make okular a bit more friendly for users of RtL languages:
- correctly place the message pane (top-left corner of page view for LtR, top-right for RtL)
- make the mini-progressbar fully usable for both the writing directions
(the icons of the previous/next page buttons were already fixed by me)
svn path=/trunk/playground/graphics/okular/; revision=586751
2006-09-20 13:58:28 +00:00
Pino Toscano
b1d70d87a8
icon change for the annotation property action
...
svn path=/trunk/playground/graphics/okular/; revision=586559
2006-09-19 23:12:49 +00:00
Pino Toscano
45615e5289
Reworked a bit the ObjectRect API, by allowing subclassing for easiness wrt Annotation's. The brand new AnnotationObjectRect is responsible for providing the annotation bounding rect (that may vary for the various annotation types).
...
Adapted also to receive the X and Y scale, so the bounding rect for every kind of ObjectRect can depend on a specific page size.
As a consequence, we can add also the annotations among the rects of a Page, and use the standard getObjectRect to find them.
svn path=/trunk/playground/graphics/okular/; revision=586457
2006-09-19 17:17:29 +00:00
Pino Toscano
8357b47a8c
Annotations:
...
support the Hidden and DenyDelete flags
svn path=/trunk/playground/graphics/okular/; revision=584409
2006-09-14 18:42:28 +00:00
Pino Toscano
58610481d8
Annotations:
...
- really activate the Apply button of the Properties dialog only when something is changed
- apply the changed in real-time, so they cna be seen directly with Apply and no need to close the dialog
- add a small fix (last, I hope) for the PixmapPreviewSelector about the pixmap loading
svn path=/trunk/playground/graphics/okular/; revision=583922
2006-09-13 19:52:46 +00:00
Tobias Koenig
2f0946e831
Make selection tool working again
...
svn path=/trunk/playground/graphics/okular/; revision=583789
2006-09-13 12:49:12 +00:00
Tobias Koenig
c3c79fa216
SVN_SILENT code cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=583782
2006-09-13 12:11:42 +00:00
Tobias Koenig
90140c1479
warnings--
...
svn path=/trunk/playground/graphics/okular/; revision=578892
2006-08-30 14:17:22 +00:00
Albert Astals Cid
760fdbcadb
makeItBuild
...
svn path=/trunk/playground/graphics/okular/; revision=578661
2006-08-29 21:09:55 +00:00
Laurent Montel
fcac6654b8
Adapt to new qtdbus
...
svn path=/trunk/playground/graphics/okular/; revision=578226
2006-08-28 18:12:22 +00:00
Albert Astals Cid
5ce0f2a634
branchport r573007
...
svn path=/trunk/playground/graphics/okular/; revision=573009
2006-08-14 15:03:12 +00:00
Chu Xiaodong
9c575a91d3
replace embedded annotation dialog with annot window, child of PageView
...
svn path=/trunk/playground/graphics/okular/; revision=572243
2006-08-11 23:53:48 +00:00
Chu Xiaodong
a6516a74ef
Fix annotation size difference when added in diff scales
...
svn path=/trunk/playground/graphics/okular/; revision=571739
2006-08-10 15:12:37 +00:00
Chu Xiaodong
e6078e98c3
call Annotation context menu any time(implemented in pageview.cpp)
...
svn path=/trunk/playground/graphics/okular/; revision=571653
2006-08-10 08:59:58 +00:00
Chu Xiaodong
3f81e3788f
Free TextAnnotation,pop-up window and annotation properties dialog added.
...
svn path=/trunk/playground/graphics/okular/; revision=571124
2006-08-08 15:31:13 +00:00
Laurent Montel
ead282936e
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=569954
2006-08-05 10:35:03 +00:00
Clarence Dang
2561c5f879
remove probably unwanted debug from previous commit
...
svn path=/trunk/playground/graphics/okular/; revision=567576
2006-07-29 12:54:01 +00:00
Clarence Dang
8ecc533c70
Allow entering of "123" zoom instead of only "123%". Previously, if it couldn't find a % to chop, it would kill the last digit (the '3' in "123", giving an incorrect, 12%).
...
Add hack to get around "10&0%" action text which sometimes happens with kdelibs4.
okular developers: after updating kdelibs, zooming should work perfectly - please let me know if it doesn't.
svn path=/trunk/playground/graphics/okular/; revision=567575
2006-07-29 12:52:35 +00:00
Clarence Dang
8fa041d06f
make zoom combobox work; editing the text directly is not supported yet
...
svn path=/trunk/playground/graphics/okular/; revision=564799
2006-07-21 11:26:45 +00:00
Pino Toscano
250cca6cb5
no need to recalc the flags every time we paint
...
svn path=/trunk/playground/graphics/okular/; revision=560135
2006-07-09 11:10:24 +00:00
Pino Toscano
fd03b7e799
the speech of the current selection (via kttsd) is working again
...
svn path=/trunk/playground/graphics/okular/; revision=560087
2006-07-09 09:00:08 +00:00
Pino Toscano
5ce5a5f062
no need to opaque paint event for the whole pageview, the viewport has it already
...
svn path=/trunk/playground/graphics/okular/; revision=559644
2006-07-07 21:56:33 +00:00
Pino Toscano
87c3e54827
Forwardport of KPDF bug #105211 .
...
svn path=/trunk/playground/graphics/okular/; revision=558208
2006-07-04 21:57:19 +00:00