Commit graph

164 commits

Author SHA1 Message Date
Yuri Chornoivan
55d55c98fd Some cleanup in docs, fix EBN warnings 2013-01-21 21:38:45 +02:00
Patrick von Reth
d940c53767 fixed build on windows 2013-01-13 15:35:02 +01:00
Jaydeep Solanki
1d914e6bf5 GUI to configure the Text/Graphics Anti-alias and Text hinting
BUGS: 164759
REVIEW: 106660
GUI:
2012-12-31 12:15:02 +01:00
Albert Astals Cid
12b6d1c3d3 Kill the ZoomFactor config
It was only used to return 1, that was then used in
CHMGenerator::textPage, that code still looks a bit fishy, but that was already there, it's just now that looks a bit more fishier
2012-11-15 23:45:01 +01:00
Mailson Menezes
f56c5a8ac9 Merge branch 'master' into tiled-rendering 2012-11-08 20:51:01 -03:00
Bogdan Cristea
7ce6990098 Separate settings in core and non core
Will make it easier to make separate apps based on the core in the future
Note this will most probably break your settings if you are not running a very up to date kdelibs (4.9 or 4.10)
so be careful on updating
REVIEW: 104947
2012-10-16 00:28:29 +02:00
Albert Astals Cid
ed02ecfb60 Remove the disable threading option
It was added ages ago when our threading code was not perfect, but should be top notch now so this makes not any sense
2012-09-25 21:18:10 +02:00
Sandro Mani
21fd5cfb0d Add option to show complete file path in window title
BUGS: 296870
REVIEW: 106345
FIXED-IN: 4.10.0
2012-09-08 15:33:42 +02:00
Mailson Menezes
740a60048a Allow zoom up to 1600%
Based on a patch by Jason Palmer
2012-06-16 15:15:06 -03:00
Parker Coates
1a96a7c797 Remember the mouse mode on exit
The default mouse mode on Okular startup is panning. I almost always
want text selection. Somebody else might prefer rectangular selection or
zooming. This patch stores the last active mouse mode in the config and
switches to it on startup.

REVIEW:104147
2012-03-09 13:31:24 -05:00
Yuri Chornoivan
34e4695efc This is not c-formatted message. Mark it to avoid confusion during translation. 2012-03-09 11:33:54 +02:00
Albert Astals Cid
4d8ba36488 Add greedy preloading option
Based on a patch by Sebastian Rose <s.rose@semkath.de>
REVIEW: 103129
BUGS: 184196
2012-03-09 00:12:20 +01:00
Albert Astals Cid
cee823fa35 Make search from current page the default 2012-02-20 20:35:05 +01:00
Albert Astals Cid
38e35ff7e4 The schema wants the include line to be the first 2011-12-11 23:22:04 +01:00
Michel Ludwig
d7e116f2d7 Move the definition of the 'EmbedMode' enum to 'part.h' 2011-11-02 20:29:31 +00:00
Michel Ludwig
2fd4100cbd Coding style fixes 2011-10-23 14:22:58 +01:00
Michel Ludwig
e8e0237ca0 Add the possibility to show sources location graphically on the rendered pages.
Note that currently the rotation of pages is not taken into account as one still has
to find a unique way of handling this.
2011-10-17 20:56:45 +01:00
Michel Ludwig
d29099b39c Only activate a subset of the available features when the part is launched in viewer mode.
In viewer mode the part will now use a different XML GUI file (part-viewermode.rc).
Also, some actions won't be created, e.g. those used for exporting stuff, for
launching presentation mode, or for selecting parts of the document. The captions
of the configuration dialogs also contain the word 'viewer' then.
2011-10-12 20:36:01 +01:00
Michel Ludwig
1a5f2be05c Merge branch 'master' into viewerinterface 2011-10-12 20:16:46 +01:00
Michel Ludwig
b4206819e3 Allow to specify which config file the part uses.
This is done through a string "ConfigFileName=<file name>" which can be given to
the constructor in its argument list.

Note that the file ui/fileinterpreterpreview.cpp currently still contains a
reference to "okularrc", which we leave for now (as it just stores the size
of a dialog in that config file).
2011-10-05 21:50:12 +01:00
Albert Astals Cid
098006ef53 Seems someone decided our labels have to be right aligned 2011-09-28 23:58:40 +02:00
Albert Astals Cid
8b95b3a7a7 Set buddies 2011-09-28 23:57:08 +02:00
Michal Svec
2360049a64 Added configuration setting for default zoom
BUGS: 169516
FIXED-IN: 4.8.0
REVIEW: 102491
2011-09-28 23:54:03 +02:00
Albert Astals Cid
9ed86abb6c More rewording 2011-09-08 01:06:46 +02:00
Albert Astals Cid
48fc40293c Relayouting and rewording 2011-09-08 01:02:36 +02:00
Albert Astals Cid
12a3fcf3b4 Add : to the label 2011-09-08 00:45:34 +02:00
Martin Ueding
5fd95a3c92 Allow setting an option so that next/prev page keys do not move really a viewport
You can set the amount of overlap in %
FIXED-IN: 4.8.0
BUGS: 152049
2011-09-08 00:43:30 +02:00
Albert Astals Cid
9f99d536dc Add GUI option to switch off showing the document title
Pleasing users is not so bad
BUGS: 158401
2011-08-09 16:59:49 +01:00
Montel Laurent
f9f65979f5 Normalize signals/slots 2011-07-31 21:22:04 +02:00
Albert Astals Cid
0071c788ff Make 53 users happy by allowing to show or hide the bottom page bar
Based on a patch by kde2eran@tromer.org
BUGS: 157284
FIXED-IN: 4.6

svn path=/trunk/KDE/kdegraphics/okular/; revision=1191188
2010-10-29 21:47:17 +00:00
Andrius Štikonas
c663b27305 i18n: Add translation context.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1172675
2010-09-07 19:33:38 +00:00
Albert Astals Cid
24b1b33906 remove the ViewRows config entry as it was unused
Change the ViewMode to be an Enum instead of an ugly int and fix the ugly code accordingly. This will break your ViewMode config, i'm sorry for that
Move the setting for centered pages to the view mode as people seems to be having a lot of difficulties of finding it in the old location

svn path=/trunk/KDE/kdegraphics/okular/; revision=1072353
2010-01-10 01:19:16 +00:00
Elvis Stansvik
820a667190 Save case sensitivity and regular expression search options for the Contents
and Reviews side panels to okularpartrc.

If these options are turned on they are now saved as:

[Contents]
ContentsSearchCaseSensitive=true
ContentsSearchRegularExpression=true

and

[Reviews]
ReviewsSearchCaseSensitive=true
ReviewsSearchRegularExpression=true

respectively.


svn path=/trunk/KDE/kdegraphics/okular/; revision=1051497
2009-11-19 17:26:41 +00:00
Albert Astals Cid
27830a988e Add a [hidden] config option to set hinting to fonts
Defaults to disabled
Made the dvi and pdf backends honor the hinting setting

svn path=/trunk/KDE/kdegraphics/okular/; revision=1032936
2009-10-08 21:55:51 +00:00
Laurent Montel
a61ccaa761 Fix warning
svn path=/trunk/KDE/kdegraphics/okular/; revision=1026023
2009-09-20 14:28:05 +00:00
Pino Toscano
b5f76c6af8 Add "Lyx client" as predefined editor.
Thanks to Juergen Spitzmueller for his lyx command line invocation!
BUG: 195348

svn path=/trunk/KDE/kdegraphics/okular/; revision=992401
2009-07-06 19:21:48 +00:00
Andrius Štikonas
377470ab15 Use KIntSpinBox instead of QSpinBox for better integration with KDE. As a bonus this allows to use plural suffix in spinboxes since KDE 4.3 if necessary.
svn path=/trunk/KDE/kdegraphics/okular/; revision=989660
2009-06-30 16:16:13 +00:00
Pino Toscano
23f93e3a71 Save & restore the value of "case sensitivity" and "from current page" options of the find bar.
svn path=/trunk/KDE/kdegraphics/okular/; revision=965341
2009-05-08 16:26:02 +00:00
Christoph Feck
1f812e3e46 SVN_SILENT Cleanup .ui files
This removes (as discussed on k-c-d)
* obsolete <pixmapfunction>
* deprecated <layoutdefault>
* empty <author>, <comment>, <exportmacro>


svn path=/trunk/KDE/kdegraphics/okular/; revision=957378
2009-04-21 21:54:46 +00:00
Laurent Montel
ebebbb58c1 not necessary to have this function
svn path=/trunk/KDE/kdegraphics/okular/; revision=937632
2009-03-10 07:47:30 +00:00
Pino Toscano
3ebce5aaf5 Add hidden configuration for showing the document title (if any) in the title bar. Default is true (as before).
Based on a patch by Alejandro Exojo, thanks!
$ kwriteconfig --file okularpartrc --group General --key DisplayDocumentTitle --type bool false

BUG: 158401

svn path=/trunk/KDE/kdegraphics/okular/; revision=890576
2008-11-29 14:36:14 +00:00
Pino Toscano
065ab69e8b Add Emacs client as text editor.
Courtesy of Jochen Trumpf, thanks!

svn path=/trunk/KDE/kdegraphics/okular/; revision=882065
2008-11-09 17:23:46 +00:00
Pino Toscano
9572c6e4fc add kile to the config ui too
svn path=/trunk/KDE/kdegraphics/okular/; revision=873578
2008-10-19 18:15:12 +00:00
Pino Toscano
4e927f01f8 Add Kile as possible editor.
svn path=/trunk/KDE/kdegraphics/okular/; revision=873571
2008-10-19 18:08:19 +00:00
Pino Toscano
4da5b7a105 Add a configuration page for the text editor used for source references links (that is, the ones used also for inverse search).
Factor out the editor commands structure.

svn path=/trunk/KDE/kdegraphics/okular/; revision=873570
2008-10-19 18:01:16 +00:00
Pino Toscano
9deffda3d0 in the editors enum, put "custom" as first
svn path=/trunk/KDE/kdegraphics/okular/; revision=873569
2008-10-19 17:56:54 +00:00
Pino Toscano
69f905b632 revert r858395, the changes there were not decided, nor even proposed, and they *do* changes the meaning of an option
CCMAIL: shafff@ukr.net

svn path=/trunk/KDE/kdegraphics/okular/; revision=858809
2008-09-08 19:07:12 +00:00
Nick Shaforostoff
4b9e256b35 make okular's config dialog 1024x600 friendly
svn path=/trunk/KDE/kdegraphics/okular/; revision=858395
2008-09-07 23:48:35 +00:00
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
2008-06-12 18:51:36 +00:00
Pino Toscano
f75e92de5f borders -> margins, except in UI (todo added for kde 4.2)
svn path=/trunk/KDE/kdegraphics/okular/; revision=813364
2008-05-27 14:00:59 +00:00