Pino Toscano
d9404a544d
use the proper "page-zoom" icon for the zoom tool and the zoom selector
...
BUG: 193770
svn path=/trunk/KDE/kdegraphics/okular/; revision=972330
17 years ago
Pino Toscano
6e6ea57068
check whether normalized values of viewport targets are in the proper [0,1] range, and use a default value if not
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=969017
17 years ago
Pino Toscano
9190c9224d
raise a bit the tolerance
...
Thomas, what do you think?
CCBUG: 157336
svn path=/trunk/KDE/kdegraphics/okular/; revision=956361
17 years ago
Pino Toscano
212e8a6417
improve the source reference picking by looking for the nearest object in case there's none right under the mouse
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=943101
17 years ago
Pino Toscano
551145c54f
When moving annotations, consider just the rotation of their pages, and not also the page orientation.
...
BUG: 177598
svn path=/trunk/KDE/kdegraphics/okular/; revision=898291
17 years ago
Albert Astals Cid
522ffd00b6
Try to fix again the inifite scroolbar loop
...
It's still to be improved because it gives you a uncentered page, but better a bit ugly than unusable
This fix will be in KDE 4.1.4
BUGS: 160628
svn path=/trunk/KDE/kdegraphics/okular/; revision=894427
18 years ago
Pino Toscano
1d91c23432
Add VIM-like navigation (HJKL) in the content view.
...
Patch by Frederik Gladhorn, thanks!
BUG: 174647
svn path=/trunk/KDE/kdegraphics/okular/; revision=890465
18 years ago
Sebastian Trueg
b787abb5d8
Nobody reacted on my email to the devel mailing list, so I suspect that noone has any objections to my patches.
...
Anyway, this is what happens:
* I replaced the zoom combobox in the toolbar with the fit to width/page buttons. For one they look much cleaner and
also most users would never use the freezooming anyway.
* Removed the frame from the sidebar, making for a cleaner overall look. After all, nothing else has a frame.
* Let the statusbar stretch over the full width of the window. This again makes the app look cleaner.
* Used the same trick as in Gwenview: let the background shine through -> clean++
* Use QToolButton instead of QPushButton for the minibar buttons to fit the other buttons in all apps.
svn path=/trunk/KDE/kdegraphics/okular/; revision=887160
18 years ago
Laurent Montel
c2fc9836e8
Fix iterator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=882957
18 years ago
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