Commit graph

6402 commits

Author SHA1 Message Date
Yuri Chornoivan c32b130342 Some i18n fixes 2013-05-19 10:59:43 +03:00
Fabio D'Urso c1bf817e75 Use a enum instead of strings to identify combobox entries 2013-05-18 23:43:12 +02:00
Fabio D'Urso b49db982ea Make two helper inline functions static 2013-05-18 23:43:04 +02:00
Fabio D'Urso c6989bccce Fix comment 2013-05-18 22:36:27 +02:00
Fabio D'Urso f1d5638dca Connect to a better signal 2013-05-18 22:36:27 +02:00
Fabio D'Urso 6be4155a98 Moved AnnotationTools config option under the Reviews group 2013-05-18 19:35:46 +02:00
Fabio D'Urso 14703512b6 Merge remote-tracking branch 'origin/master' into configurable-review-tools 2013-05-18 19:34:37 +02:00
Azat Khuzhin f30c8def7b Added missing core/textdocumentsettings_p.h 2013-05-18 17:44:11 +02:00
Fabio D'Urso e27182f113 Set clicked back to false when the creation of a PickPoint annotation is completed
So that the hoverIcon is not shown above the newly created annotation.
This was especially visible if the creation of the annotation triggers a
message box warning, because one could see both the annotation and the
hover icon as long as the warning wasn't closed.
2013-05-18 17:16:41 +02:00
Fabio D'Urso fded55268d Show stamp preview in stamp tool icon
Note that if a low-res 16x16 version is available, it is shown instead
of the 64x64 version actually used by PagePainter.
e.g. try with the default stamp "Okular"
2013-05-18 17:16:40 +02:00
Fabio D'Urso 871f230aa6 Fixed Inplace annotations' layout in PagePainter
The bounding box was incorrectly calculated unless the zoom was at 100%.
It caused word wrapping and text alignment errors.
2013-05-18 17:16:34 +02:00
Albert Astals Cid aa9b2668c9 prepend okular_ to the config gile names 2013-05-18 16:16:09 +02:00
Albert Astals Cid e11d760de8 And now fix the fix 2013-05-18 16:06:51 +02:00
Azat Khuzhin 1fdb0a0a06 Font selector for TextDocumentGenerator
REVIEW: 109021
2013-05-18 16:03:33 +02:00
Albert Astals Cid 7ee70a7140 Fix naming 2013-05-18 16:03:33 +02:00
Fabio D'Urso faaaeeb5c9 Made Inplace annotations' alignment configurable
Note that PagePainter support for this property is currently broken: it
only works at 100% zoom.
2013-05-18 15:30:46 +02:00
Fabio D'Urso f52432aa57 Show tool icon in EditAnnotToolDialog 2013-05-18 14:12:45 +02:00
Fabio D'Urso 0cc45d4102 Show big icons in annotation tool configuration panel 2013-05-18 14:12:45 +02:00
Fabio D'Urso a5cadb28c1 Merge remote-tracking branch 'origin/master' into configurable-review-tools
Conflicts:
	conf/settings.kcfgc
	ui/pageviewannotator.cpp
2013-05-18 14:02:44 +02:00
Fabio D'Urso a7cb8e1d3c Compile with Poppler < 0.20
I had added this special case because Poppler < 0.20 stored garbage
in the DOM node corresponding to inplaceText (but good data in contents).
This code copied the good value into inplaceText, so that our UI code,
which used to show the user what it read from inplaceText, showed the
good value instead.

Now that Okular only has contents, this special handling is no longer
needed.
2013-05-18 13:38:13 +02:00
Script Kiddy edcf708a99 SVN_SILENT made messages (.desktop file) 2013-05-17 09:40:41 +02:00
Albert Astals Cid bfbcbffc80 Merge remote-tracking branch 'origin/KDE/4.10'
Conflicts:
	generators/spectre/okularApplication_ghostview.desktop
2013-05-16 23:53:29 +02:00
Albert Astals Cid c9964acdc6 Fix clicking on notes being hard on high zooms
It is still not perfect because for some reason poppler is painting outside the boundaries box (or we are not creating/setting it correctly)
but at least now it's not ultra hard to click in a note application at high zoom

FIXED-IN: 4.10.4
BUGS: 319637
2013-05-16 23:51:11 +02:00
Script Kiddy 6c40f3ea9a SVN_SILENT made messages (.desktop file) 2013-05-14 22:30:22 +02:00
Script Kiddy c675ea8234 SVN_SILENT made messages (.desktop file) 2013-05-14 17:33:07 +02:00
Jon Mease 2ae9e58bb4 Merge window.text, contents and inplaceText annotation properties
BUG: 319442
REVIEW: 110391
2013-05-14 09:43:27 +02:00
Fabio D'Urso 460502d124 Make "Save As" default path point to where the file was opened from
BUG: 319042
FIXED-IN: 4.11.0
REVIEW: 110419
2013-05-14 01:02:51 +02:00
Azat Khuzhin fb52027fab Don't link unused libraries for txt backend
REVIEW: 110263
2013-05-07 22:44:48 +02:00
Jon Mease 4296ac7e5d Rotate annotation to match page when setting annotation's properties
BUG:318828
REVIEW:110229
2013-05-07 22:06:00 +02:00
Yury G. Kudryashov 36b445e5c0 Merge remote-tracking branch 'origin/KDE/4.10' 2013-05-05 17:23:06 +04:00
Yury G. Kudryashov 3e976b620f Fixup for e37c43b189
Use QFile::decodeName() instead of QString::fromLocal8Bit() as suggested by
André Wöbbeking a couple of days after commit.
2013-05-05 17:22:11 +04:00
Pino Toscano c06a906db8 Remove erroneous double-quotes around %c in Exec line 2013-05-03 22:53:56 +02:00
David Faure 155312269b Remove erroneous double-quotes around %c in Exec line 2013-05-03 13:25:44 +02:00
Aaron Seigo 7f42a78725 some small style fixes.
see http://community.kde.org/Plasma/QMLStyle
2013-05-01 18:02:15 +02:00
Aaron Seigo 0c68129bca allow 3x zooming
ends up triggering "the crash" however, on certain documents
2013-05-01 18:02:15 +02:00
Fabio D'Urso c95e8afc43 Merge remote-tracking branch 'origin/KDE/4.10'
Conflicts:
	core/document.cpp
2013-04-26 00:07:09 +02:00
Fabio D'Urso 9812f5277e Do *not* swap width and height in DocumentPrivate::refreshPixmaps
They must not be swapped, because generators already swap them on their
own, and swapping them twice results in distorted pixmaps.

BUG: 318829
FIXED-IN: 4.10.3
2013-04-25 23:57:06 +02:00
Yuri Chornoivan 19ca1df281 Remove extra dots after etc. 2013-04-25 22:28:50 +03:00
Albert Astals Cid 20297f7820 Merge remote-tracking branch 'origin/KDE/4.10'
Conflicts:
	VERSION
	core/version.h
2013-04-25 20:37:12 +02:00
Albert Astals Cid 61f0760518 Prepare for 0.16.3 2013-04-25 19:48:35 +02:00
Script Kiddy 0652ed12de SVN_SILENT made messages (.desktop file) 2013-04-21 08:44:39 +02:00
Albert Astals Cid 0b17c7fb72 Merge remote-tracking branch 'origin/KDE/4.10'
Conflicts:
	conf/settings.kcfgc
	generators/spectre/okularApplication_ghostview.desktop
2013-04-20 18:16:59 +02:00
Script Kiddy 6a66215957 SVN_SILENT made messages (.desktop file) 2013-04-20 15:46:14 +02:00
Fabio D'Urso 38a5a3f526 Made font configurable in inplace text annotations 2013-04-20 11:16:31 +02:00
Fabio D'Urso 04e008de89 Put hex color codes in lower-case, so that kcfg can recognize default annotations 2013-04-20 11:16:31 +02:00
Fabio D'Urso 93c824f931 Added support to edit existing annotation tools, renamed NewAnnotToolDialog to EditAnnotToolDialog 2013-04-20 11:16:31 +02:00
Fabio D'Urso 3dcaa58558 Create tool XML entries via DOM methods 2013-04-20 11:16:31 +02:00
Fabio D'Urso 2e6edb5e2c Distinguish straight lines and polygons in texts 2013-04-20 11:16:31 +02:00
Fabio D'Urso d197c9a109 Consistently call "Ink" -> "Freehand Line" 2013-04-20 11:16:31 +02:00
Fabio D'Urso 35d481e783 Consistently call "Note" -> "Pop-up Note" (as opposed to "Inline Note") 2013-04-20 11:16:30 +02:00