Commit Graph

337 Commits

Author SHA1 Message Date
Fabio D'Urso
35d481e783 Consistently call "Note" -> "Pop-up Note" (as opposed to "Inline Note") 2013-04-20 11:16:30 +02:00
Fabio D'Urso
806fd2eafb Allow nameless tools (which default to predefined names)
Removed name attribute from default tools (ie those from tools.xml), so
that they now get default names, which automatically translated if the
application language is switched.

With this patch, tools.xml no longer contains strings to be translated.

NOTE: Messages.sh was not tested
2013-04-20 10:47:33 +02:00
Patrick Spendrin
67593aaedd revert the revert as it was right in the first place 2013-04-20 02:49:34 +02:00
Patrick Spendrin
21c100612d revert to previous state for now 2013-04-20 02:40:15 +02:00
Patrick Spendrin
6d74eb0d55 do use unneeded export here 2013-04-20 02:17:25 +02:00
Fabio D'Urso
def23dd0ba Moved (and partly rewritten) annotation tooltips from tools.xml to pageviewannotator
Two purposes:
 - Have tooltips available even for user-created annotations (not just
   the predefined ones)
 - Avoid i18n strings in settings (NOTE: the "name" attribute will be
   removed in next patch)

Some tooltips were created over new (eg for new tools), some were
rewritten to actually give instructions instead of repeating the name of
the tool, some were rewritten to avoid references to colors (because
colors are no longer fixed)
2013-04-19 19:28:19 +02:00
Fabio D'Urso
04441e7e4b Set new tools' default values the same values as predefined tools 2013-04-19 01:28:30 +02:00
Fabio D'Urso
6bce1b85bc Made line extensions configurable in the straight line annotation tool 2013-04-19 01:28:30 +02:00
Fabio D'Urso
5397f99262 Made polygon annotations' inner color configurable 2013-04-19 01:28:30 +02:00
Fabio D'Urso
d07735b23d Configurable innerColor in GeomAnnotation tools (rectangle, ellipse) 2013-04-19 01:28:30 +02:00
Fabio D'Urso
2e0296e913 Merge remote-tracking branch 'origin/master' into configurable-review-tools
Conflicts:
	ui/pageview.cpp
	ui/pageviewannotator.cpp
2013-04-19 01:17:56 +02:00
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
Fabio D'Urso
cb5d84eecf Provide default name for new annotation tools
This patch also removes the slot qualification to AnnotationWidget::applyChanges()
that I had added in "Show the same widget as the annotation properties dialog when
creating annotation tools", because it's not needed any more.
2012-12-29 13:22:56 +01:00
Fabio D'Urso
36aca4403a Show tool icons in the configuration widget 2012-12-29 13:22:14 +01:00
Fabio D'Urso
18981a6707 Made icon for Note annotations configurable
Unlike Stamp annotations, hoverIcon and icon are different in Note
annotations.
2012-12-29 13:22:14 +01:00
Fabio D'Urso
8d969a8dbf Made line width configurable in Ink, Line, Polygon, Square and Circle annotation tools
Note that previously the width attrubute was ignored by the PolyLine
engine and it always set width=1, that's why I had to change the default
value in tools.xml.
2012-12-29 13:22:13 +01:00
Fabio D'Urso
bd9a02863a Show the same widget as the annotation properties dialog when creating annotation tools
Note: Some properties are not stored in the tools' XML yet
2012-12-29 13:22:10 +01:00
Fabio D'Urso
aebf585464 Don't hardcode pixmap name in annotation tools' XML description
First step towards dynamically-generated tool icons
2012-12-28 10:26:04 +01:00
Fabio D'Urso
13e10acf9c Fixed localization issues
Translate strings when retrieving the default annotation tool list, so
that we can assume that strings in the AnnotationTools setting are
translated.

Note: In future patches, I'll remove i18n strings from the default tool
list at all
2012-12-28 10:19:21 +01:00
Fabio D'Urso
f5aa37c216 Added support to create new annotation tools 2012-12-28 10:19:21 +01:00
Fabio D'Urso
394cc00ac5 Initial implementation of widget to edit annotation tools
It only supports removal, moveup and movedown.
2012-12-28 10:19:05 +01:00
Fabio D'Urso
6ae60a08da Annotation settings: Added stub widget to edit raw XML tool data 2012-12-28 00:29:25 +01:00
Fabio D'Urso
e568f100d5 Turn the annotation tools list in a configurable option
Instead of using a system-wide tools.xml file containing a list of
<tool>...</tool> elements, store each tool element as string in a
stringlist configuration option.
Note that the global tools.xml file is still needed to read the
default values.
2012-12-28 00:29:18 +01:00
Fabio D'Urso
17ccabb691 Renamed "Identity" -> "Annotations" config panel
It only contained an option to set annotations' author name
2012-12-27 19:38:41 +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
Urs Wolfer
474d8d3d13 disable icon which is not available
svn path=/trunk/KDE/kdegraphics/okular/; revision=812519
2008-05-25 16:56:51 +00:00
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
2008-05-19 00:37:14 +00:00
Pino Toscano
d6518cec86 Add the possibility to select the current screen as start of the presentation mode, and make that the default (as one would expect).
GUI:

(futhermore, use an explicit value as screen index)

svn path=/trunk/KDE/kdegraphics/okular/; revision=795880
2008-04-11 18:25:15 +00:00
Pino Toscano
1817a198d0 Add the possibility to choose which screen to use for the presentation mode.
Default is "Default Screen", with the options for showing it to any available screen.

Also, dynamically resize when the screen used for the presentation mode changes size during a presentation.

Many thanks to 'zbsz' for his testing!
CCMAIL: zbigniewo@gmail.com

GUI:

svn path=/trunk/KDE/kdegraphics/okular/; revision=794501
2008-04-07 18:16:39 +00:00
Pino Toscano
6672443f43 Add an option to disable page transitions in presentation mode.
Implements KPDF wish #119919.

svn path=/trunk/KDE/kdegraphics/okular/; revision=785173
2008-03-13 13:00:37 +00:00
Laurent Montel
929ba8c53b Fix help button
svn path=/trunk/KDE/kdegraphics/okular/; revision=760515
2008-01-12 21:03:24 +00:00
Pino Toscano
f238c3d95d Start adding a configuration to toggle anti-aliasing for both text and graphics.
Let the Document propagate these settings to the backends, if they query for them.

svn path=/trunk/KDE/kdegraphics/okular/; revision=757647
2008-01-05 15:50:40 +00:00
Stephan Binner
c06deaf9fc i18n style guide fixes, the capitalization rules are explained on
http://developer.kde.org/documentation/standards/kde/style/basics/labels.html

svn path=/trunk/KDE/kdegraphics/okular/; revision=757596
2008-01-05 13:41:54 +00:00
Pino Toscano
53abd1a5a6 hide the "draw border around images" option, as it's not working yet
svn path=/trunk/KDE/kdegraphics/okular/; revision=755305
2008-01-01 00:46:54 +00:00
Jakob Petsovits
6164d717d8 Icon naming spec compliance (code changes - KDE/):
* go-{next,previous,first,last}-rtl -> go-{previous,next,last,first}
* document-start-presentation -> view-presentation

svn path=/trunk/KDE/kdegraphics/okular/; revision=753149
2007-12-26 19:31:48 +00:00
Pino Toscano
a38e6e7e70 icon renaming:
- launch -> preferences-system-performance

svn path=/trunk/KDE/kdegraphics/okular/; revision=735537
2007-11-11 23:25:11 +00:00
Pino Toscano
e789814651 use the 'cpu' icon
svn path=/trunk/KDE/kdegraphics/okular/; revision=732278
2007-11-03 12:03:21 +00:00
Pino Toscano
d51d279afb Make it possible to choose the size for the icons in the sidebar, by choosing it in the popup menu of the sidebar itself.
CCBUG: 151205

svn path=/trunk/KDE/kdegraphics/okular/; revision=731824
2007-11-01 22:58:09 +00:00
Pino Toscano
e38e9b397b no more need to show the 'debug' config page
svn path=/trunk/KDE/kdegraphics/okular/; revision=722138
2007-10-06 17:54:33 +00:00
Pino Toscano
6582af2a38 text proofread by mwoehlke
svn path=/trunk/KDE/kdegraphics/okular/; revision=720792
2007-10-03 18:23:22 +00:00
Pino Toscano
5df1895ec0 don't use deprecated api of KUser
svn path=/trunk/KDE/kdegraphics/okular/; revision=720663
2007-10-03 12:43:44 +00:00
Pino Toscano
02d6dab204 adapt to the new icon names
svn path=/trunk/KDE/kdegraphics/okular/; revision=720180
2007-10-02 16:23:28 +00:00
Pino Toscano
424ebb655d use better icons for a couple of sections in the preferences dialog, and in the File menu
svn path=/trunk/KDE/kdegraphics/okular/; revision=719820
2007-10-01 22:49:47 +00:00
Pino Toscano
20c96df680 Respect a bit more the HIG guidelines: align the labels of buttons and combos to the right.
svn path=/trunk/KDE/kdegraphics/okular/; revision=718787
2007-09-29 17:55:56 +00:00
Pino Toscano
cb693241b4 Accessibility configuration "refactory", part #2:
make the group containing the "change colors" information shrink to the minimum size (depending on the configuration widget chosen)

svn path=/trunk/KDE/kdegraphics/okular/; revision=712179
2007-09-13 20:16:19 +00:00
Pino Toscano
5fe5082302 Restucture a bit the Accessibility configuration:
- old way: all the options (and their configurations) at once
- new way: options in a combo box, with only the configuration for the active option that is shown below
Based on Florian's idea and mockups, thanks!

svn path=/trunk/KDE/kdegraphics/okular/; revision=712131
2007-09-13 18:00:01 +00:00
Pino Toscano
83454a5ff3 fix some memory leaks
svn path=/trunk/KDE/kdegraphics/okular/; revision=711280
2007-09-11 22:27:39 +00:00
Pino Toscano
0517d30bfc Remove the "Show Search Bar" option, mostly unuseful.
svn path=/trunk/KDE/kdegraphics/okular/; revision=709361
2007-09-07 10:31:33 +00:00
Pino Toscano
a4dada31bb Remember if the text is shown for the sidebar items.
svn path=/trunk/KDE/kdegraphics/okular/; revision=704629
2007-08-25 15:39:17 +00:00
Pino Toscano
1b0d81fbd4 (finally!) rename the okular configuration to okularpartrc, and make okular copy the old kpdf config if found (to preserve all the user settings)
svn path=/trunk/KDE/kdegraphics/okular/; revision=703108
2007-08-21 23:18:17 +00:00
Pino Toscano
cf667d55b0 fixuifiles
svn path=/trunk/KDE/kdegraphics/okular/; revision=696247
2007-08-04 10:38:20 +00:00
Pino Toscano
af7c661fb7 Change the names of two groups to be more coherent with the other settings.
svn path=/trunk/KDE/kdegraphics/okular/; revision=696236
2007-08-04 10:08:27 +00:00
Pino Toscano
80df7c8f59 As requested by Florian, set the defaul annotation author to the full name of the current user, or to the username if there's no full name available for it.
svn path=/trunk/KDE/kdegraphics/okular/; revision=696101
2007-08-03 20:34:04 +00:00
Pino Toscano
b59bca3b1b Small reordering into the General preferences tab:
- move the Center first page in row from the Features to the View options group, and state that it works not only in facing mode
- remove the Overview rows, never working

svn path=/trunk/KDE/kdegraphics/okular/; revision=694382
2007-07-30 15:16:44 +00:00
Pino Toscano
e862d6beb6 use 3 as default value of the overview columns, so it does not look like single mode
svn path=/trunk/KDE/kdegraphics/okular/; revision=694373
2007-07-30 15:05:42 +00:00
Pino Toscano
d57dc437b5 Give a "better" subtitle for the Accessibility configuration page so it's more "compliant" (but it was also before, IMHO) to the new HIG.
BUG: 145368

svn path=/trunk/KDE/kdegraphics/okular/; revision=689887
2007-07-19 11:23:09 +00:00
Albert Astals Cid
68822746af fixuifiles
svn path=/trunk/KDE/kdegraphics/okular/; revision=676227
2007-06-16 10:44:39 +00:00
Albert Astals Cid
a9abffb5ac Better wording.
Thanks Alex for the suggestion.
CCMAIL: suy@badopi.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=676224
2007-06-16 10:36:56 +00:00
Pino Toscano
2cd592a81e don't leak
svn path=/trunk/KDE/kdegraphics/okular/; revision=673077
2007-06-08 22:29:07 +00:00
Dirk Mueller
efee38c632 fix leak (CID 3621)
svn path=/trunk/KDE/kdegraphics/okular/; revision=671470
2007-06-04 20:40:40 +00:00
Dirk Mueller
60fc1ef5a3 fix memory leak (CID 3626)
svn path=/trunk/KDE/kdegraphics/okular/; revision=671467
2007-06-04 20:34:31 +00:00
Laurent Montel
e31f9ada54 Remove not necessary "class classname;"
svn path=/trunk/KDE/kdegraphics/okular/; revision=671220
2007-06-04 07:44:15 +00:00
Pino Toscano
8d28fd09eb export the Setting class with a dpointer
svn path=/trunk/KDE/kdegraphics/okular/; revision=667774
2007-05-23 22:16:54 +00:00
Pino Toscano
5049a38b70 slightly improve: remove some unneeded margins and spacers
svn path=/trunk/KDE/kdegraphics/okular/; revision=665792
2007-05-17 22:23:36 +00:00
Pino Toscano
faeaa3ec01 Sharing the same option for the accessibility render mode and for the view mode is not a good idea, really.
So, create a new ViewMode setting for the single/facing/columns view mode (leaving the RenderMode for compatibility with KPDF).
Rename [Rr]enderMode into [Vv]iewMode in the page view, following the new name of the setting.
Remove the "padding" enums from the settings, as it seems they have no real use beside giving issues.

svn path=/trunk/KDE/kdegraphics/okular/; revision=665773
2007-05-17 20:46:16 +00:00
Albert Astals Cid
0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Pino Toscano
d37f6a80ff no need to include config.h anymore
svn path=/trunk/playground/graphics/okular/; revision=628210
2007-01-29 14:35:07 +00:00
Pino Toscano
d3619da584 get rid of two CMakeLists.txt's used to only install one files each - install the stuff from the top-level CMakeLists.txt
svn path=/trunk/playground/graphics/okular/; revision=627106
2007-01-25 18:06:53 +00:00
Tobias Koenig
ea51ee18f5 Do a lot of include cleanups... we install all important
header files now

svn path=/trunk/playground/graphics/okular/; revision=619492
2007-01-03 14:30:48 +00:00
Pino Toscano
f72521f6bb SVN_SILENT no margin, like the other pages
svn path=/trunk/playground/graphics/okular/; revision=618137
2006-12-31 10:51:45 +00:00
Pino Toscano
e5ea578a9f our usability expert Florian agrees that the toc page numbers should be enabled by default
svn path=/trunk/playground/graphics/okular/; revision=615822
2006-12-22 21:16:30 +00:00
Pino Toscano
24c960bab0 simplify, and add an option
svn path=/trunk/playground/graphics/okular/; revision=615812
2006-12-22 20:26:19 +00:00
Pino Toscano
30362c45fc no more need to export is, as now it is in the kpart library only
svn path=/trunk/playground/graphics/okular/; revision=615761
2006-12-22 15:08:37 +00:00
Pino Toscano
b663cb313c isolate the debug options in an own tab, so it's easier to show/hide them
svn path=/trunk/playground/graphics/okular/; revision=615758
2006-12-22 15:04:01 +00:00
Albert Astals Cid
a0f5833201 somehow the signal connection got lost when going to Qt4
svn path=/trunk/playground/graphics/okular/; revision=608529
2006-11-27 20:03:08 +00:00
Pino Toscano
274469dae8 Almost complete support for inverse search within okular.
THe system generally works; what is missing is a good activating strategy (added in TODO - our usability expert is working on that), and a GUI to configure the editor.
The DVI backend was adapted to use this new feature.
(The PDF backend will use it soon.)

svn path=/trunk/playground/graphics/okular/; revision=605708
2006-11-17 22:15:15 +00:00
Aaron J. Seigo
77932c92dd two small changes, passed by pintoree on irc:
- render the viewed rect area in the thumbnail a bit more elegantly
- Render Mode -> View Mode ... "render" is geekanese, "view" is proper luserian

svn path=/trunk/playground/graphics/okular/; revision=604731
2006-11-14 00:27:30 +00:00
Pino Toscano
fa3fe38862 generator -> backend in the gui
svn path=/trunk/playground/graphics/okular/; revision=603918
2006-11-10 19:16:03 +00:00
Pino Toscano
a3fad9594f add a simple config page to configure the identity settings (only the author at the moment)
svn path=/trunk/playground/graphics/okular/; revision=601342
2006-11-02 22:47:52 +00:00
Pino Toscano
5862ea6dc8 create an Identity settings section and move the author field there
svn path=/trunk/playground/graphics/okular/; revision=601335
2006-11-02 22:19:32 +00:00
Pino Toscano
1112ada99f add an option to configure the color of the pencil of the presentation mode
svn path=/trunk/playground/graphics/okular/; revision=601067
2006-11-01 23:03:48 +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
2d41c4459b clean up the CMakeLists.txt files from the auto* stuff
svn path=/trunk/playground/graphics/okular/; revision=559521
2006-07-07 15:08:46 +00:00
Pino Toscano
1285825aa5 use install instead of install_files
svn path=/trunk/playground/graphics/okular/; revision=558033
2006-07-04 15:24:52 +00:00
Pino Toscano
157783d209 use the KButtonGroup in the Accessibility and Performance pages
svn path=/trunk/playground/graphics/okular/; revision=552966
2006-06-19 14:55:03 +00:00
Albert Astals Cid
eabbaeaead oKular is now okular
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550782
2006-06-12 18:25:18 +00:00
Pino Toscano
d088e2f631 remove all the Makefile.am, as they are no more needed
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547662
2006-06-02 22:13:10 +00:00
Pino Toscano
64867d5b3c move the okular configurations to config-okular.h
create again the options to force the DRM (give -DOKULAR_FORCE_DRM=ON to cmake)
KPDF_FORCE_DRM -> OKULAR_FORCE_DRM

svn path=/branches/work/kde4/playground/graphics/okular/; revision=542815
2006-05-20 12:35:11 +00:00
Pino Toscano
f8de9e780e adapt to the recent cmake changes
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540372
2006-05-13 09:10:26 +00:00
Pino Toscano
aca01f331f Support for visibility in oKular; oKular compiles and links, but it seems no plugins are found.
At the moment, the exported classes are only the one needed to make oKular and its actual plugins link, nothing more. Probably some other classes could be made visibile, but I'm not an expert about that.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=538771
2006-05-08 20:12:04 +00:00
Pino Toscano
e3994658b6 make it compile with the new snapshot
port to the new i18n api

svn path=/branches/work/kde4/playground/graphics/okular/; revision=528345
2006-04-10 19:50:00 +00:00
Pino Toscano
46c44fee25 SVN_SILENT a bit of cleanup
svn path=/branches/work/kde4/playground/graphics/okular/; revision=527308
2006-04-07 16:52:30 +00:00
Pino Toscano
404007d26a improve a bit
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525053
2006-03-31 17:55:18 +00:00
Pino Toscano
1c5fe13624 Convert the Accessibility and Performance configuration pages to Qt4.
Drawback: they still have a Q3ButtonGroup, I need a replacement for it...

svn path=/branches/work/kde4/playground/graphics/okular/; revision=525009
2006-03-31 15:14:47 +00:00
Pino Toscano
8683df0416 Ported the General and Presentation config pages to Qt4.
Small other touches.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=524391
2006-03-30 13:23:38 +00:00
Laurent Montel
3d0eefb6d4 Add support for cmake (not tested for the moment)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522661
2006-03-26 12:19:40 +00:00
Albert Astals Cid
b2f5f33559 conf compiles
svn path=/branches/work/kde4/playground/graphics/okular/; revision=521165
2006-03-21 19:01:58 +00:00
Piotr Szymanski
4387e1489e - GIGANTIC 2700 line diff with LOTS OF FEATURES!
- 1. editor-like text selection, and I do mean it, its not pseudo-editor 
  (like the ones acroread and kviewshell have) it doesnt intersect the 
  selection area with words under it, no, it does a lot more, including 
  work on cursors and searching for the text area closest to the given
  cursor
- 2. rotation support, change the orientation of the documents if 
  you need too :)
- 3. the kfaxview backend works beautifully, porting kviewshell backends
  is damn easy ! djvu and dvi will be next!
- 4. Hardware Blending of selection rectangles! We now use XRender 
  instead of KImageEffect, makes a damn faster blend!
- 5. Overview mode - as seen in Kviewshell, but quite a bit extended, 
  the kviewshell is only one state, while we support it in both 
  continous and non-continous form
- BTW. I coded all those features myself, (apart from kfaxview backend library)
  it is an impressive bit right? but oKular cant be run by only one person, 
  join in on the fun! i can introduce you into the code just mail niedakh@gmail.com


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=509871
2006-02-15 18:54:49 +00:00
Piotr Szymanski
d09fd28b89 - MERGE KPDF 3.5 CHANGES
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=477586
2005-11-04 11:59:51 +00:00
Albert Astals Cid
e3d38572aa rename
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471448
2005-10-17 18:43:52 +00:00
Piotr Szymanski
d5c57158b5 - rename to oKular
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471444
2005-10-17 18:34:58 +00:00
Piotr Szymanski
862715cb3c - begin renaming to oKular properly
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=471436
2005-10-17 18:18:43 +00:00
Piotr Szymanski
bb7a9f73ce - backport from head, remove nontranslantable string
- add an option to allow selecting a generator by the user if more than one generator found for given mimetype


svn path=/trunk/playground/graphics/oKular/kpdf/; revision=445154
2005-08-10 15:23:22 +00:00
Piotr Szymanski
6e8a08f692 - make the Page column in TOC configurable with secret config option instead of compile time switch
- mark one function to remove later
- add one more category to desktop file to be more vfolders compliant

svn path=/trunk/playground/graphics/oKular/kpdf/; revision=431970
2005-07-05 19:10:48 +00:00
Enrico Ros
51b07b3169 merged patch_053,062 (tinyurl.com/8t5ec)
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=428592
2005-06-24 16:43:19 +00:00
Enrico Ros
d10472663d PageView:
Added the frequently requested option for eBook style alignment. Better
  layouting in continous (center single pages, no more top aligned) and
  single modes. Layouting very consistant when switching modes. Proper keys
  and mouse handling in multiple columns modes. Start in 'Fit Page' zoom.
DlgGeneral KCFG:
  Added the "Center first page in facing mode" and config menu entry.
ToDo:
  Marked 100341 as done.

CCMAIL: 100341@bugs.kde.org

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=405524
2005-04-14 11:33:28 +00:00
Enrico Ros
ed16042b4e Regrouped options (looks cleaner now, expecially in kcfgcreator). Added
3 entries for saving checked state of 'Annotations side pane' (see next
commits).

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400285
2005-03-24 18:43:20 +00:00
Enrico Ros
0de54211f1 Annotations: Author name request. Configure::generalDialog: changes.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=397322
2005-03-13 17:23:12 +00:00
Jakub Stachowski
664d441534 Added action for showing/hiding left panel and removed it from settings.
"Watch file" moved to settings dialog.
BUG: 99316

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396976
2005-03-12 15:39:04 +00:00
Albert Astals Cid
99a10e1841 All fixes done in HEAD come to annotations branch
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=395067
2005-03-05 15:59:15 +00:00
Enrico Ros
c6191c4836 Annotations -Part2- PDF1.6 DSs are summarized and ready4impl in ann*.h
Annotation: the class has been passivized. It's only a data container now,
  no more active manipulation of events/paints.
PageViewAnnotator: this class has been created to handle creating annots.
  PageView creates its 'Annotator on demand. The annotator parses tool
  definition from the 'tool.xml' file.
  The Annotator internally uses AnnotatorEngine(s) to react to mouse events
  and the annotation is created when the job is really finished.
Page: added a (maybe temporary) NormalizedPoint to complement Norm..Rect.
PageViewUtils: removed PageViewEditTools and cleaned up header.
conf/: added a debug option for showing annotation boundary while creating
  one and added a temporary 'debug' toolbox in the config dialogs.

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=394959
2005-03-04 23:06:24 +00:00
nobody
8d960f1ed8 This commit was manufactured by cvs2svn to create branch
'kpdf_annotations'.

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=394413
2005-03-02 18:32:40 +00:00
Albert Astals Cid
0571097b26 Make what i really said yesterday.
--enable-force-kpdf-drm is a configure option, it defaults to NO, if YES DRM is ALLWAYS obeyed
skip_drm is a kiosk option, it defaults to YES, if NO, means the user is not authorized to skip DRM and DRM is ALLWAYS obeyed
if previous options are no and yes, the user sees a GUI option called Obey DRM limitations that defaults to YES but the user can set to NO from the GUI

svn path=/trunk/kdegraphics/kpdf/; revision=394412
2005-03-02 18:32:40 +00:00
Albert Astals Cid
1eed94c3d6 More on the DRM issue.
How it is going to end:
 - Exists a configure option called --enable-kpdf-drm that is DISABLE by default and you can use to FORCE kpdf obeying DRM
 - Exists a kiosk option called skip_drm that is true by default and the admin can set to TRUE to FORCE kdpf obeying DRM
 - Exists a GUI option called Obey pdf limitations that is shown if skip_drm is true, that option is ON by default, that means DRM is obeyed but the user can disable it from the GUI
Hope that will please everyone
Please can somebody with better english than me check that the wording i used is actually correct english? Thanks

svn path=/trunk/kdegraphics/kpdf/; revision=394212
2005-03-01 22:10:32 +00:00
Enrico Ros
a12cc5e5a8 Getting ready for HEAD merge of parts of the stuff.
pageviewtoolbox.cpp/.h: Removed.
PageViewToolBar (was PageViewToolbox): Moved def/impl inside the
  pageviewutils.c/.h files. Uses eventfilter to get notified when the
  anchorWidget changes in size. Cleaned up code.
Annotations: added empty code.
PageView: removed some code. fixed rmb popup menu hidden if no document
  was opened.
Updated TODO.

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=393302
2005-02-26 18:05:01 +00:00
Albert Astals Cid
f6b9f9d17a Typo: continous -> continuous
BUGS: 99859

svn path=/trunk/kdegraphics/kpdf/; revision=391513
2005-02-20 21:24:25 +00:00
Enrico Ros
fbc7d45083 Adding support for annotations in framework. Only need to add and
implement annotations now (and create the save/load procedure).

Annotations: converging to a stable Annotation definition. Changed a bit
  the paint functions. Added a first 'template' annotation, a simple
  pen-like segments recorder for framework testing purposes only. This
  has events filters in place and the rough paint function implemented.

PageView: removed the MouseEdit mode and using that button for toggling
  the editToolBox instead. Added Annotation support. When the Annotation
  is created, all pageView events flow through that new object. Repaint
  of damaged/old areas is done internally and is based on the geometry
  of the annotation we're creating. When an Annotation is complete, it
  is reparented to the Page that adds it to its internal list.
  From that point on the annotation will be rendered by pagePainter
  using the pixmap-based paint function provided by the annotation
  itself.

PagePainter: draws annotations stored in pages when rendering (using the
  'rought paint function' till the good pixmap based one will be in
  place.

Page: added preliminary support for adding Annotation(s) to the page
  and deleting them all.

Document: added the pass-through call to add an Annotation to the Page
  and notify observers.

PageViewToolbox: can be draged and attached to any side. Position is
  remembered between runs (choose your side and that the toolbox will
  always be there). Available on Right and Bottom sides too. Emits -1
  when the current tool is deselected.

Misc: added Annotations to both the 'observers changed flags' and the
  'pagepainter' ones and updated ui classes accordingly.

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=390638
2005-02-18 18:24:45 +00:00
Enrico Ros
c4c09c7c04 Added KTTSD support (only for selections). This is done via pure dcop and
without including any 3.4 header (like kspeech.h) to keep compatibility
 with 3.3 and older releases (reported to work on these).
Cleanups in PageView's mouse handling. Supports selections of different
 colors now.

svn path=/trunk/kdegraphics/kpdf/; revision=383651
2005-01-29 12:32:59 +00:00
Enrico Ros
3ba7c53676 Fix preloading. It does real good now.
Fix cache deallocator. Hard avoids swapping memory or filling it up to the
limit (allocated pages are referenced in an internal add/remove FIFO).
Merged open and open_recent buttons as many users requested.
Using viewmag icon for find-as-you-type popup.
Disabled debug output. Updated todo with the roadmap to release.
- Need to audit the memory code and choose good default policies now.

svn path=/trunk/kdegraphics/kpdf/; revision=380494
2005-01-20 17:33:05 +00:00
Stephan Binner
e5d68bf181 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdegraphics/kpdf/; revision=380114
2005-01-19 15:33:27 +00:00
Andrew Coles
c277d16b9b CVS_SILENT
Corrected typos.

svn path=/trunk/kdegraphics/kpdf/; revision=379421
2005-01-17 14:57:18 +00:00
Stephan Binner
73bdb5751d CVS_SILENT i18n style guide fixes
svn path=/trunk/kdegraphics/kpdf/; revision=379147
2005-01-16 17:04:31 +00:00
Albert Astals Cid
0f6f29c9e5 Typo
svn path=/trunk/kdegraphics/kpdf/; revision=378739
2005-01-15 14:01:30 +00:00
Albert Astals Cid
97847d8081 Make options be "Enable foo" instead of "Disable foo"
BUG: 97053

svn path=/trunk/kdegraphics/kpdf/; revision=378736
2005-01-15 13:58:08 +00:00
Stephan Binner
e2d888d5a1 CVS_SILENT i18n style guide fixes from the "tokoe will never learn it" series
svn path=/trunk/kdegraphics/kpdf/; revision=377306
2005-01-10 22:00:00 +00:00
Enrico Ros
10af2d6caa Added option to unlink thumbnailslist from pageview (oneliner). Fixuifiles.
Use palette->active->hilight color for wheel in presentation mode, since
black over black was hard to recognize. Fixes.

svn path=/trunk/kdegraphics/kpdf/; revision=377198
2005-01-10 15:58:01 +00:00
Enrico Ros
6dd95c9e06 Viewport MOD 1. Implemented the DocumentViewport class, owned by Document.
A const reference may be asked. When set all DocumentObservers will be
notified so they can update their gfx if needed. Converted TOC, Links
to the new usage. DocumentViewport can be saved/restored to/from QString
so it can be asked as metadata and saved on document's XML. When loading
a document the viewport is restored exactly where it was when the document
was closed. More fixes with Viewport class. Swapped groupboxes in Perform
dialog. Changed members naming in DocumentObservers and inherited classes.
PageView and ThumbnailsList now linked.

Still regressions / TODOs about the Viewport thing.

svn path=/trunk/kdegraphics/kpdf/; revision=377066
2005-01-09 23:37:07 +00:00
Tobias Koenig
3e317aab2f Add some variants of the basic transitions to the default transition menu.
svn path=/trunk/kdegraphics/kpdf/; revision=377061
2005-01-09 23:23:37 +00:00
Albert Astals Cid
eef18e87b7 Update
svn path=/trunk/kdegraphics/kpdf/; revision=377016
2005-01-09 21:55:56 +00:00
Enrico Ros
61eaf43b54 Implemented all missing PDF 1.4 transitions. Added: blinds(2), box(2),
wipe(4), dissolve(1), glitter(4). Between parenthesis the number of
variants. Try it on (Tobias Koenig's testcase):
http://robotics.dei.unipd.it/~koral/KDE/transition_test.pdf
Fixuifiles script on configuration dialogs, icons in Performance Dialog,
fixed spacing on dialogs to look the same way.

svn path=/trunk/kdegraphics/kpdf/; revision=376348
2005-01-08 00:12:08 +00:00
Stephan Kulow
4fd3493a03 non-recursive makes need special dependencies
svn path=/trunk/kdegraphics/kpdf/; revision=375674
2005-01-05 14:08:31 +00:00
Tobias Koenig
98000ff903 Add some nice features for presentation mode:
- cursor modes: visible, hidden, hidden with delay
  - automatic advance
  - loop on last page
  - default transition

I know it's quite late in the release cycle, but the code is stable and kpdf rocks!

svn path=/trunk/kdegraphics/kpdf/; revision=375353
2005-01-03 23:31:40 +00:00
Enrico Ros
208b6a5cf3 Added a bottom toolbar to the thumbnailsList to enable/disable thumbnails
filtering and similar options (toolbar is not created now). Changed
Document::openDocument(..) functions order. Restore last active page when
opening an already viewed pdf. Fix margins around pages in all modes.
Presentation: page change by clicking on the round 'wheel' indicator too.
Updated TODO.

svn path=/trunk/kdegraphics/kpdf/; revision=375229
2005-01-03 15:51:05 +00:00
Enrico Ros
87050538e5 fix: don't create a PageTransition object if there is no transition
specified or the transition is 'replace'.

svn path=/trunk/kdegraphics/kpdf/; revision=375057
2005-01-02 22:25:49 +00:00
Stephan Binner
52e763dbf0 CVS_SILENT i18n style guide fix
svn path=/trunk/kdegraphics/kpdf/; revision=374983
2005-01-02 17:12:35 +00:00
Stephan Binner
5193d9ab3c Compile with srcdir!=builddir
svn path=/trunk/kdegraphics/kpdf/; revision=374977
2005-01-02 16:53:59 +00:00
Stephan Binner
449ea39657 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdegraphics/kpdf/; revision=374963
2005-01-02 16:19:08 +00:00
Enrico Ros
3a8b826bf9 Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
Compile fixes.

svn path=/trunk/kdegraphics/kpdf/; revision=374944
2005-01-02 15:33:18 +00:00
Enrico Ros
ffe8ddaf9d Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico

svn path=/trunk/kdegraphics/kpdf/; revision=374920
2005-01-02 14:19:33 +00:00