Pino Toscano
5448cfb0c3
oups, accidental typo
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=872680
18 years ago
Pino Toscano
95b08ff0e6
Switch from a KSelectAction to a KActionMenu+KAction's, so the actions of the "View Mode" submenu can have custom shortcuts (and placed in toolbars, etc).
...
BUG: 172661
svn path=/trunk/KDE/kdegraphics/okular/; revision=870510
18 years ago
Pino Toscano
ba01e51526
convert most of the QAction to KAction, so shortcut change on them works again
...
yay for compatibility!
svn path=/trunk/KDE/kdegraphics/okular/; revision=870269
18 years ago
Pino Toscano
b1f070d6c6
when no extension is set, assume png (fix the previous check)
...
reported by Fathi Boudra
svn path=/trunk/KDE/kdegraphics/okular/; revision=866614
18 years ago
Pino Toscano
fbaeb30f30
Make "fit to width" the default zoom level for new documents.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=859445
18 years ago
Pino Toscano
bf6c19c108
"borders" -> "margins" in menu entry
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=851981
18 years ago
Pino Toscano
6993fda364
Load video widgets for the video annotations of the document in the main page view.
...
Add them as part of the page items, so they can be resized, moved and shown/hidden automatically according to the related pages.
svn path=/trunk/KDE/kdegraphics/okular/; revision=851960
18 years ago
Pino Toscano
723aa28f91
no need to tie the TTS object to the page view stuff, just emit the error messages and let the page view handle them
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=851245
18 years ago
Albert Astals Cid
6b106c32ca
If we are cancelling move, make sure we are where we should be
...
CCMAIL: 165809
svn path=/trunk/KDE/kdegraphics/okular/; revision=844880
18 years ago
Pino Toscano
8d83f021a8
Enable the text-to-speech actions only when there is a document loaded (other than KTTS being present, of course).
...
BUG: 168310
svn path=/trunk/KDE/kdegraphics/okular/; revision=841918
18 years ago
Pino Toscano
94a4d5086a
do not leave painters open more than necessary
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=817890
18 years ago
Pino Toscano
48647f1f8f
Zoom and ZoomMOdality of the PageView should be serialized
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=814994
18 years ago
Pino Toscano
356b4618f0
implement the ZoomModality capability (as View),
...
and stop using the zoom level and mode from the global settings
svn path=/trunk/KDE/kdegraphics/okular/; revision=814984
18 years ago
Pino Toscano
c84e2dc144
Store the annotation window associated to the annotation it represent (using an hash);
...
when there's a change in the annotations of a page, remove the windows of removed annotations and update all the others.
This improval in the page annotation update fixes bug #162822 .
BUG: 162822
svn path=/trunk/KDE/kdegraphics/okular/; revision=814256
18 years ago
Pino Toscano
f75e92de5f
borders -> margins, except in UI (todo added for kde 4.2)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=813364
18 years ago
Pino Toscano
2b971b07b2
Make it possible to draw just sections (crops within bounding boxes) of pages.
...
Separated normal & cropped geometries in page items;
made the page painter able to draw based on a crop section;
add a config + menu option for turning the white borders removal.
Based on a patch by the Mr. anonymous kde2eran@tromer.org, thanks.
BUG: 161599
svn path=/trunk/KDE/kdegraphics/okular/; revision=809496
18 years ago
Pino Toscano
c16505079a
Do not consider hidden pages when getting the text within the selected rectangle.
...
BUG: 157927
svn path=/trunk/KDE/kdegraphics/okular/; revision=808374
18 years ago
James Richard Tyrer
1bc88dcb4a
Changing icon name from "view-fit-*" to "zoom-fit-*"
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=807653
18 years ago
James Richard Tyrer
be5022cede
Correcting name for view-fit-* icons
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=806166
18 years ago
Pino Toscano
d1305c265b
Implement the canBeMoved() check for an annotation in the Annotation class itself.
...
Use this new version and remove the one in GuiUtils.
svn path=/trunk/KDE/kdegraphics/okular/; revision=803073
18 years ago
Pino Toscano
76531028ba
Make the page view a View, able to get and set the zoom level, and register it in the document.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801660
18 years ago
Pino Toscano
ada6be8c58
properly detect when the visible pixmap request is called as result of scollbar event
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797549
18 years ago
Malcolm Hunter
b6124a900b
Typo fixes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=795906
18 years ago
Albert Astals Cid
83912893ed
Save us from infinite resizing loops, we can afford to lose 1 pixel precision to fix that
...
BUGS: 160628
svn path=/trunk/KDE/kdegraphics/okular/; revision=795883
18 years ago
Pino Toscano
961b27e99c
Properly apply, and reload when changed, the annotation info in the annotation window (color, modication date, etc).
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=789344
18 years ago
Pino Toscano
082c385295
Make the push buttons of forms trigger their activation action, if present.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=788108
18 years ago
Pino Toscano
5eec89ead0
When the user changes the value of a form field, wait 1s and then refresh the interface.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=783268
18 years ago
Pino Toscano
d6c581e383
stop the talks when quitting
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=782641
18 years ago
Pino Toscano
f65c9225a9
Add an action to stop all the text speechs.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=782505
18 years ago
Pino Toscano
69179e2505
More interaction between Okular and the KDE Text To Speech system:
...
a) "Speak While Document" action to speak the content of the whole document
b) "Speak Current Page" to just speak the content of the currently shown page
c) "Speak Text" action in the right click menu of the editor-like text selection
(a) also implements KPDF's bug #118872 .
svn path=/trunk/KDE/kdegraphics/okular/; revision=782497
18 years ago
Pino Toscano
f407f84d8a
move in an own class (out of the page view) all the TTS related code
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=782420
18 years ago
Pino Toscano
21001e7dd0
Check the DRM limitations as well when copying the selection.
...
CCBUG: 157364
svn path=/trunk/KDE/kdegraphics/okular/; revision=781952
18 years ago
Pino Toscano
39c2d29ac2
Do not copy to the selection the text when selecting "Copy text" in the RMB menu, but after releasing the LMB when "visually" selecting text.
...
BUG: 157364
svn path=/trunk/KDE/kdegraphics/okular/; revision=779710
18 years ago
Pino Toscano
03ea6ff54d
Add the support in the core library and in the user interface for button form fields (ie, push button, check boxes and radio buttons).
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=773548
18 years ago
Pino Toscano
7eac68815b
Use the id of the form fields as id, not the name!
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=773440
18 years ago
Pino Toscano
4333d4b0b5
Manually set the scrollbars range, so they are correct when the viewport is resized and the content widget has the same size.
...
BUG: 155652
svn path=/trunk/KDE/kdegraphics/okular/; revision=761348
18 years ago
Pino Toscano
51f34f3f9f
support more than one annotation in the annotation popup
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=761316
18 years ago
Jakob Petsovits
11dcfffce7
Icon renaming (code changes - KDE/):
...
frame-edit -> select-rectangular
svn path=/trunk/KDE/kdegraphics/okular/; revision=756813
18 years ago
Jakob Petsovits
0141282203
Icon naming spec compliance (code changes - KDE/):
...
* zoom-best-fit -> zoom-fit-best
* plasmagik -> tools-wizard
* and some other fixes, many of them in KMobileTools
svn path=/trunk/KDE/kdegraphics/okular/; revision=756800
18 years ago
Jakob Petsovits
0da4f3ebb8
Icon naming spec (code changes - KDE/):
...
* view-left-right -> view-split-left-right
* view-top-bottom -> view-split-top-bottom
svn path=/trunk/KDE/kdegraphics/okular/; revision=755418
18 years ago
Jakob Petsovits
1ae1545a4a
Icon renaming (code changes - KDE/):
...
consolidate the fileview-* icons to view-*
svn path=/trunk/KDE/kdegraphics/okular/; revision=755384
18 years ago
Pino Toscano
327ec1cc34
correctly reacts when the "center first page" option is changed, and we need to apply it (more than 1 column)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=755279
18 years ago
Pino Toscano
39fb1ef5b6
correctly show/hide the form widgets in each page correctly even when not in Continuous mode
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=755275
18 years ago
Pino Toscano
d54e2515ae
clear the list of pages with text selection when the document changes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=755228
18 years ago
Pino Toscano
3c52fd1456
Change the page layouting procedure so:
...
- pages not in the view (wth no Continuous mode active) are just "hidden", but they now have a valid size;
this way, we can preload "hidden" pages even when in Continouos mode
- merge the layouting methods (simplify a bit)
CCBUG: 153675
svn path=/trunk/KDE/kdegraphics/okular/; revision=755216
18 years ago
Pino Toscano
288fce0b82
AnnotationGuiUtils -> GuiUtils
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=752259
19 years ago
Pino Toscano
76d061b443
draw correctly the border of the rectangular selection
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=746592
19 years ago
Pino Toscano
cd5b0a9d7f
fix icons
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=746590
19 years ago
Pino Toscano
761276e938
correctly enable/disable tools and text tools when switching document
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=746447
19 years ago
Pino Toscano
1022878a5a
icon renaming:
...
- pencil -> draw-freehand
svn path=/trunk/KDE/kdegraphics/okular/; revision=746342
19 years ago