Pino Toscano
addcfcc34b
Backport: when moving annotations, consider just the rotation of their pages, and not also the page orientation.
...
CCBUG: 177598
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=898293
18 years ago
Albert Astals Cid
ff552335ff
Backport r894427
...
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
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=894428
18 years ago
Pino Toscano
3f2c5c30c9
backport of SVN commit 890803 by pino:
...
add more checks against invalid viewports
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=890804
18 years ago
Pino Toscano
38fe9646a9
backport: reset the line edit palette when we get results
...
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=890792
18 years ago
Pino Toscano
97923d10a7
Backport:
...
Add VIM-like navigation (HJKL) in the content view.
Patch by Frederik Gladhorn, thanks!
CCBUG: 174647
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=890790
18 years ago
Pino Toscano
3fecaaeeea
oups, accidental typo
...
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=872681
18 years ago
Pino Toscano
6a80bc6920
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).
...
CCBUG: 172661
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=870511
18 years ago
Pino Toscano
f365bd4aad
consider annotBoundary as boundary *without* cropping to the requested limits
...
this should fix drawing problems with note, stamp, and geometric annotations
CCBUG: 160396
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=870165
18 years ago
Pino Toscano
43d39f37bc
Backport: select all the text when opening the find bar.
...
CCBUG: 172585
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=869969
18 years ago
Pino Toscano
2994663818
backport: when no extension is set, assume png (fix the previous check)
...
reported by Fathi Boudra
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=866615
18 years ago
Pino Toscano
b3bd5e0818
- make sure to properly unregister all the observers before the Document gets destroyed
...
- keep ownership of the "export as" menu, and check before manipulating its child widgets: avoid crashes in case the part widget is destroyed before the part is
both the problems discovered and debugged with the precious help of Armin Berres, thanks!
CCMAIL: trigger@space-based.de
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=863714
18 years ago
Pino Toscano
fb79991ef8
backport: read-only text fields should be read-only, not disabled
...
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=863236
18 years ago
Pino Toscano
6d8a4dc8d4
Make "fit to width" the default zoom level for new documents.
...
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=859446
18 years ago
Albert Astals Cid
42b14de45b
Backport r844880 okular/trunk/KDE/kdegraphics/okular/ui/pageview.cpp:
...
If we are cancelling move, make sure we are where we should be
BUG: 165809
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=844887
18 years ago
Pino Toscano
b9f13d219a
Backport: enable the text-to-speech actions only when there is a document loaded (other than KTTS being present, of course).
...
This will be in KDE 4.1.1.
CCBUG: 168310
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=841925
18 years ago
Pino Toscano
efeefc9e0f
backport: more qreal/double mismatches
...
svn path=/branches/KDE/4.1/kdegraphics/okular/; revision=839973
18 years ago
Urs Wolfer
7bdd00bc7c
Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4".
...
Reduced disk space: 5128KB (5MB)
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=820008
18 years ago
Jakob Petsovits
df5364da6c
Copy Okular's app icon from Oxygen core as "okular",
...
in the hicolor namespace. Before, the non-specified
"graphics-viewer-document" icon was used, which caused
icon loaders from other toolkits not to find this icon
as they don't consider Oxygen by default.
Also update all the references that made use of the
"graphics-viewer-document" icon in the code and
the many .desktop files.
svn path=/trunk/KDE/kdegraphics/okular/; revision=819965
18 years ago
Pino Toscano
0f1f6d7396
some validity fixes for the annotation proxy models:
...
- page grouping proxy model:
+ more checks when an index is requested
+ be sure to return really unique indexes
+ proper calculation of the column count
+ directly reset() (instead of just a layout change) when we rebuild the structure
- author grouping proxy model:
+ more checks against invalid indexes
+ behave nicely on empty tree
svn path=/trunk/KDE/kdegraphics/okular/; revision=818419
18 years ago
Pino Toscano
c1463fd924
use the KIconLoader enum values for the sizes
...
initial patch by Rafael Fernández López
svn path=/trunk/KDE/kdegraphics/okular/; revision=818095
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
a921cca1f0
finish painting before assigning to another image
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=817856
18 years ago
Pino Toscano
c569aa712e
Make the presentation mode a normal widget (instead of a "fake" dialog), so it is not treated like a real dialog when compositing is active.
...
BUG: 163013
While I am on it, disable the active modality of the presentation mode, so the main window can be actively used once a presentation is active.
CCBUG: 152585
svn path=/trunk/KDE/kdegraphics/okular/; revision=817703
18 years ago
Pino Toscano
02ac5fb1dd
ask the style to draw the background of the items
...
also, manually do the "highlight on hover" effect only for non-kstyle-based styles, as kstyle provide that effect on its own
svn path=/trunk/KDE/kdegraphics/okular/; revision=815952
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
be4af97c11
the "i don't care about okular's quality" removal of a different (and it seems distracting) style in the thumbnails list
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=812512
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
Albert Astals Cid
bdd4fa1c0d
make sure we keep next and previous pages if we are on aggresive mode
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=803592
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
7042bd4cc2
add viewId()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801718
18 years ago
Albert Astals Cid
6772c5f061
do not search twice
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801665
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
e6a93e2f38
Add a very simple configuration widget for caret annotations.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=800059
18 years ago
Pino Toscano
e1d9b6dd1a
make the text of the creation and modification date labels copyable
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799321
18 years ago
Pino Toscano
f56e78aac1
apply an optional new icon for file attachment annotations
...
(even if we cannot construct them so far)
svn path=/trunk/KDE/kdegraphics/okular/; revision=799319
18 years ago
Pino Toscano
eaea89500f
instead of a squeezed text label, use a normal label and word wrap its text; there's enough room for long descriptions
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799253
18 years ago
Pino Toscano
a8294eb55f
- add oxygen icons for the 'pushpin' and 'paperclip' symbols for file attachment annotations
...
- add oxygen icon for the 'stamp' tool, and use it in the review toolbar tools
svn path=/trunk/KDE/kdegraphics/okular/; revision=799092
18 years ago
Pino Toscano
4500f491ef
when a file attachment annotation has no description, show that there's no description available, instead of nothing
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799073
18 years ago
Pino Toscano
2634a4b8d4
Show the icon of file attachment annotations in the annotation properties dialog.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=798746
18 years ago
Pino Toscano
eb3215b4c2
properly align the text labels to the right, as per HIG
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=798693
18 years ago
Pino Toscano
5fc6a887c0
Optionally create an extra widget to be shown as third tab in the annotation properties dialog.
...
Use this possibility for file attachment annotations, for showing details about the embedded file.
svn path=/trunk/KDE/kdegraphics/okular/; revision=798689
18 years ago
Pino Toscano
48058c4743
rename to "style widget" the configuration widget for annotations that have one so far,
...
and centralize its creation in a single place
(just shuffling around some code)
svn path=/trunk/KDE/kdegraphics/okular/; revision=798679
18 years ago
Pino Toscano
13e05a7894
factorize the creation of pens with "standard" annotation style settings
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797655
18 years ago
Pino Toscano
522f72a302
geometric annotations: draw a dashed border if set so
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797613
18 years ago