Commit graph

542 commits

Author SHA1 Message Date
Montel Laurent 927e7a9a19 Merge remote-tracking branch 'origin/KDE/4.14' into frameworks 2014-10-01 07:29:17 +02:00
Montel Laurent 378f6847a2 Remove some deprecated kdelibs4support 2014-10-01 07:27:09 +02:00
Arnold Dumas dc74543bac Port away from KGlobalSettings::desktopGeometry(). 2014-09-28 14:14:19 +02:00
Arnold Dumas a6db7a2655 Port from KInputDialog to QInputDialog.
REVIEW: 120378
2014-09-28 12:44:33 +02:00
Volker Krause 146e585f02 Make constants const, avoids a few extra symbols in the .data section. 2014-09-27 15:41:47 +02:00
Albert Astals Cid d888b20483 Fix dvi inverse search
distance being in sqr pixels and s_minDistance being a normalized value was not a good idea to compare them ^_^

BUGS: 326605
REVIEW: 120308
2014-09-21 23:54:20 +02:00
Frederik Gladhorn 6c602bf0e7 Use categorized logging even more 2014-09-16 23:38:25 +02:00
Frederik Gladhorn 9d89739972 Use categorized logging 2014-09-16 23:24:36 +02:00
Frederik Gladhorn e28dbc6c00 Port to QMime
compressedMimeFor now already does the inheritance check, so another
check was removed.
2014-09-11 16:32:43 +02:00
Frederik Gladhorn 83d3f1f6b7 Revert "Some more kDebug->qDebug"
Seems like kDebug doesn't spam the user, so this needs to use qCDebug.

This reverts commit 34fbdf8c85.
2014-09-11 02:03:46 +02:00
Frederik Gladhorn 34fbdf8c85 Some more kDebug->qDebug 2014-09-09 18:17:36 +02:00
Albert Astals Cid 3dfd172375 Only update zoomFactor for current page
REVIEW: 119894
BUGS: 335819
FIXED-IN: 4.14.1

Reviewed by Fabio and Markus Trippelsdorf
2014-08-24 22:38:33 +02:00
Albert Astals Cid f09df0aa05 Don't let people zoomin/out past the "range of values"
BUGS: 338452
FIXED-IN: 4.14.1
2014-08-21 23:34:54 +02:00
Vishesh Handa 077689c4d3 Port KAction and KMenu 2014-08-13 12:45:40 +02:00
Vishesh Handa e038950f50 KIcon -> QIcon 2014-08-13 11:54:49 +02:00
Frederik Gladhorn ac15a7075e More QUrl porting 2014-08-10 20:36:41 +02:00
Frederik Gladhorn 0c7a45c7a5 Disable lots of stuff and compile
The text generator is the only one compiled now.
This version links for me but then doesn't find its KPart on startup.

TTS has been completely disabled as well as some other things like the
about dialog.
2014-08-10 14:42:54 +02:00
Frederik Gladhorn fc73cbf886 Port UI: dialog buttons and friends 2014-08-10 14:08:47 +02:00
Frederik Gladhorn 0ba233788c Use moc include style dictated by automoc
While it's generally not a great idea to include moc files at least this
compiles.
2014-08-09 00:21:03 +02:00
Albert Astals Cid ad8fda2965 Merge remote-tracking branch 'origin/KDE/4.13' into KDE/4.14 2014-07-16 10:35:52 +02:00
Yuri Chornoivan 3669e776dc Fix two icons in the Tools menu
BUGS: 336530
2014-07-10 23:36:03 +02:00
Albert Astals Cid c7838fde26 Merge remote-tracking branch 'origin/KDE/4.13' into KDE/4.14 2014-07-10 23:15:05 +02:00
Albert Astals Cid e79719b93a reorder conditions to make the valgrind warning go away 2014-07-10 23:14:01 +02:00
Tingnan Zhang fad9c4e6fd Improvements to zoom behaviour
No need for double digit precision in the UI
ZoomIn/ZoomOut moves you through the well known steps + fit page, fit width; if you need any other you can always write it manually or use MMB zoom
BUGS: 323434
BUGS: 323435
FIXED-IN: 4.14.0
REVIEW: 112370
2014-05-06 00:48:38 +02:00
Jonathan Doman 89fd56c23b Launch documents from external sources in new tabs
FIXED-IN: 4.13.0
BUGS: 331872
BUGS: 332238
REVIEW: 116700
2014-04-09 23:29:58 +02:00
Montel Laurent 10d6ed2d27 Initialize pointer => fix crash 2014-03-05 07:24:47 +01:00
Albert Astals Cid 6daa7991e8 Fix spacing 2014-03-03 00:43:14 +01:00
Montel Laurent 04335b886f Fix crash when we click on print preview 2014-03-02 13:59:33 +01:00
Albert Astals Cid 11deb53aa5 Improvements to magnifier feature
In an ideal world I would have commented this in reviewboard and Michal would
have fixed it, but Feature Freeze is almost here so I decided just to fix it myself
2014-02-25 00:04:57 +01:00
Michal Humpula f22d9d2897 Add Magnifier
REVIEW: 113973
GUI
2014-02-24 23:42:10 +01:00
Michal Humpula c07ee043a3 Multiple Tiles Managers per Page
It's straighforward implementation. Every single place, where there were call for (or with) TilesManager, now has a DocumentObserver as companion. The m_tiledManager reference in PagePrivate was changed to QMap<DocumentObserver, TilesManager>.

REVIEW: 113986
2014-02-19 23:41:22 +01:00
Alexander Potashev f68c26bbea Disable action "View -> Auto Fit" when no document is opened
REVIEW: 115776
2014-02-16 18:09:46 +01:00
Yuri Chornoivan 3097f70878 Fix typo found by Freek de Kruijf 2013-10-27 14:05:45 +02:00
Ciro Santilli afc74e76ef Add an action to toggle Change Colors
This has the exact same behaviour of clicking the toolbox Settigs > Configure Okular > Accessibility > Change colors and then clicking Ok, therefore changing the saved configs.

BUGS: 173264
FIXED-IN: 4.12.0
2013-10-26 11:40:41 +02:00
Jaydeep Solanki e95b1db23c epub audio support 2013-10-24 00:20:11 +02:00
Fabio D'Urso 57ea580057 Merge remote-tracking branch 'origin/KDE/4.11' 2013-10-01 19:26:06 +02:00
Fabio D'Urso 177235d5d7 PageView: compile if PAGEVIEW_DEBUG is set 2013-10-01 19:21:13 +02:00
Thomas Fischer e4aa8317b5 Auto-fit zoom
BUGS: 249364
REVIEW: 110003
2013-08-18 17:19:20 +02:00
Albert Astals Cid 45dc1990eb Don't keep track of middle mouse press in a variable
This fixes the rendering problem in 321212. Why? Because what was happening is that for some reason the middle mouse press to gets to the PageView but not the release, this meant that the PageView got stuck into mouseMidZooming mode and all sort of bad things happened. Now since we don't cache if the mid mouse button is pressed (we just query it when needed) everything is better.

Ideally i'd like to know why we get the press and not the release, but not sure that's feasible to "fix".

BUGS: 321212
REVIEW: 111901
FIXED-IN: 4.11.0
2013-08-06 22:01:17 +02:00
Fabio D'Urso c64a6499e2 Show IBeam cursor instead of Cross while creating text markup annotations 2013-07-31 00:02:12 +02:00
Fabio D'Urso 39d44edbd7 Restore the open hand cursor after creating an annotation in non-continuous mode 2013-07-31 00:02:12 +02:00
Fabio D'Urso ef7aaaf4d5 updateCursor: small change to reflect that only Browse mode lets you interact with links/annotations
This patch only changes the code, the resulting behavior hasn't changed
2013-07-31 00:02:12 +02:00
Fabio D'Urso 8bf046371a Centralize cursor selection logic during creation of annotations into updateCursor 2013-07-31 00:02:07 +02:00
Yuri Chornoivan 3b73357d2f Fix some typos found by Krazy2 2013-06-24 13:46:16 +03:00
Peter Grasch 09dad5e6d2 Usability: Use crosshair cursor while annotating
REVIEW: 109633

updateCursor changes by Albert
2013-06-23 20:45:04 +02:00
Jon Mease b7ce9114c5 Undo support for PDF forms
Together with the already commited support for undo in annotations fixes 177501
BUGS: 177501
REVIEW: 110589
FIXED-IN: 4.11.0
2013-06-03 22:46:41 +02:00
Fabio D'Urso 5860fc89c5 Added shortcut to annotation config panel as review toolbar's context menu 2013-05-28 23:55:10 +02:00
Fabio D'Urso 9e7cf9ae4b Merge remote-tracking branch 'origin/master' into configurable-review-tools 2013-05-20 20:28:49 +02:00
Albert Astals Cid 446a636abf Merge remote-tracking branch 'origin/KDE/4.10' 2013-05-20 18:22:56 +02:00
Albert Astals Cid 4e05cc2526 Fix wrong check
Parker messed up the logic that force it to be in text selection mode
to be on non text selecion mode when doing an unrelated change.

As the "bug" as showed we can selectAll in non text selection mode as well
so remove the check altogether

BUGS: 159276, 319554
FIXED-IN: 4.10.4
2013-05-20 18:15:55 +02:00