Commit graph

6436 commits

Author SHA1 Message Date
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
Fabio D'Urso cfa8c3a6d5 HighlightAnnotation text improvements
- Changed property dialog title from "Highlight" to "Text Markup",
   because it's used for Underline, Squiggle and Strike out too.
 - Renamed Squiggly (adjective) to Squiggle (noun)
 - Show the precise type of HighlightAnnotation in the review panel and
   on right-click on a HighlightAnnotation
2013-04-20 11:16:11 +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
Script Kiddy cbc693b664 SVN_SILENT made messages (.desktop file) 2013-04-20 09:48:58 +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 51076a2653 Fill polygon annotations with their inner color in PagePainter (for non-PDF docs)
Note: Poppler doesn't blend multiply in this case. Maybe we can make this
annotation unbuffered in PagePainter too?
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
Script Kiddy b3b6f26a9b SVN_SILENT made messages (.desktop file) 2013-04-18 09:38:21 +02:00
Albert Astals Cid f24445a6e2 Merge remote-tracking branch 'origin/KDE/4.10' 2013-04-17 22:13:34 +02:00
Albert Astals Cid f7b742af0d Rename the variable
Makes it easier to understand, imho
2013-04-17 22:13:02 +02:00