Commit graph

558 commits

Author SHA1 Message Date
Montel Laurent 8fad6ebe09 Don't create action when we don't have qtspeech 2015-03-06 14:00:02 +01:00
Martin T. H. Sandsmark 0b59e83530 fix format of zoom level percent 2015-02-24 23:24:44 +01:00
Jeremy Whiting 61554c833e Reenabled text to speech using QtSpeech as an optional dependency.
If QtSpeech (dev branch) is built and installed this builds and works
very well.
REVIEW:122553
2015-02-23 12:24:44 -07:00
Lukáš Tinkl e9ae1d99af port away from KLocale 2015-01-29 21:48:47 +01:00
Montel Laurent e9921b6dd5 Merge remote-tracking branch 'origin/master' into frameworks 2015-01-03 07:55:24 +01:00
Albert Astals Cid a27ca79cf3 Improve Audio handling
Say "Play Sound" instead of "Follow this link"
Only offer to stop sound when there's one playing

Inspired by https://git.reviewboard.kde.org/r/120683 by Nidhi Jain
2015-01-02 23:19:47 +01:00
Montel Laurent bb02e208d2 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	CMakeLists.txt
2014-12-28 10:38:34 +01:00
Albert Astals Cid 67807b73b8 Fix mid mouse button click on the scrollbar
On 45dc1990 i made the wrong assumption that if you were in
slotRequestVisiblePixmaps with the mid mouse button pressed
it meant that you were mid mouse button zooming, but this is not
true if you mid mouse click on the scrollbar.

So the solution to ignore pixmap request on mid mouse button zooming
is actually use blockPixmapsRequest

BUGS: 341583
FIXED-IN: 14.12.1
2014-12-12 00:48:41 +01:00
Jonathan Doman b069e3557f Allow each PageView to use a different tool
Keep a local MouseMode setting, and don't rely on the value returned by Settings::mouseMode().
BUGS: 334251
REVIEW: 120660
FIXED-IN: 14.12.0
2014-12-10 15:34:26 +01:00
Montel Laurent f95258ec1d It uses QUrl 2014-10-28 08:14:21 +01:00
Montel Laurent 21360d6b7a Fix includes 2014-10-12 17:20:07 +02:00
Albert Astals Cid e8fd56f3ba Fixup last commit
Somehow i ended up commiting a partial patch and not what was in reviewboard, this amends the previous commit to be what i really wanted to commit

Sorry for the mess :/
2014-10-09 00:53:54 +02:00
Albert Astals Cid d95efa7698 Move synctex up to the core from poppler generator
This way dvi and any other potential user gets it for free

The diff is huge, but the synctex files are just moves.

And the code in core/ is also mostly just a move from the generator_pdf.cpp code

Acked by Luigi

REVIEW: 120311
2014-10-09 00:17:53 +02:00
Montel Laurent 17b7049c69 Fix includes 2014-10-08 13:48:01 +02:00
Montel Laurent 26fc592e7d Fix includes 2014-10-06 08:31:17 +02:00
Lukáš Tinkl 48300404cb replace deprecated QAction::setShortcut with KStandardShortcut 2014-10-04 21:48:32 +02:00
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