Commit graph

548 commits

Author SHA1 Message Date
Gilbert Assaf a2aceadc13 Allow to create bookmarks from the TOC
BUGS: 190203
REVIEWS: 129999
2017-03-23 01:22:08 +01:00
Oliver Sander 338fd923b2 Avoid warning when opening GotoPageDialog
REVIEW: 129910
2017-02-03 00:29:43 +01:00
Albert Astals Cid e833b3ce65 Fix menu titles not showing up
QMenu title/section are optional to draw from the style side but we have crucial information in them
so reuse old KMenu code to create a fake action that behaves as title

I'll see if KF5 wants to accept this as contribution later

BUGS: 374079
2016-12-28 17:05:46 +01:00
Luigi Toscano 82f1a728f9 UI string: fix spelling 2016-11-16 22:27:13 +01:00
Yuri Chornoivan e1535db5a0 Fix minor typos 2016-11-04 13:16:34 +02:00
Albert Vaca c71f308252 Fixes suggested by Clazy 2016-10-29 16:33:05 +02:00
Aleix Pol c75a2e52d9 Make context menu on a bookmark menu action work again
Solves a todo from porting to kf5

Reviewed by Albert Astals
2016-10-29 12:23:25 +02:00
Martin T. H. Sandsmark decd4849a8 Use Okular's own print preview dialog for all documents 2016-08-13 22:30:22 +02:00
Martin T. H. Sandsmark f2dc74fc19 No need to set component data anymore, we set component name 2016-07-24 21:58:16 +02:00
Martin T. H. Sandsmark ab2fe5f178 Remove dead code that was added in 2004 but never used 2016-07-24 18:54:39 +02:00
Martin T. H. Sandsmark 9014ef75cb Fix setting of icon in backend about dialog 2016-07-24 18:35:44 +02:00
Olivier CHURLAUD 3b608a66c9 Preview functions again.
I added again the okularXXX.desktop

Correct the mess done by review 126193
2016-07-21 23:05:54 +02:00
Olivier CHURLAUD 327b560e4e This is Qt5 based, remove condition 2016-07-15 21:17:30 +02:00
Olivier CHURLAUD 741c616c7a Port most of part.cpp out of KDELibsSupport
minor: Change header cases : <qicon.h> becomes <QIcon>
2016-07-15 21:14:50 +02:00
Olivier CHURLAUD 1f69f5fdcc Port GotoPageDialog away from KDialog, KIntNumInput 2016-07-15 20:08:34 +02:00
Martin T. H. Sandsmark 39bff653a5 Add config migration 2016-07-13 00:37:34 +02:00
Martin T. H. Sandsmark c8e3c0eb01 Port part away from deprecated KArchive methods 2016-07-11 23:52:42 +02:00
Martin T. H. Sandsmark b51d495930 Port part away from NetAccess 2016-07-11 23:37:13 +02:00
Martin T. H. Sandsmark 4189304934 Port away from KStandardPaths 2016-07-11 23:25:09 +02:00
Martin T. H. Sandsmark 9ac9027467 Port part away from KFileDialog 2016-07-11 23:16:42 +02:00
Martin T. H. Sandsmark d5bdca64d2 Fix low hanging unused parameters warnings 2016-07-11 22:57:11 +02:00
Martin T. H. Sandsmark 44624bd52d Get correct error message when failing to create temporary file 2016-07-11 22:12:55 +02:00
Martin T. H. Sandsmark 67e7ada311 Fix build without implicit cast to/from ascii
See the previous commits for details. This is the last part.
2016-07-11 22:11:43 +02:00
Alex Richardson 93b94161f2 Bring back the about backend dialog
REVIEW: 126193
2016-01-04 15:59:07 +01:00
Alex Richardson 2f9246ae42 Port to new JSON plugin loading system
This means Okular can now work without ksycoca and KDELibs4Support.

REVIEW: 126193
2016-01-04 15:59:07 +01:00
Alex Richardson ab1d3a36cc Set the KXMLGUI component name to okular
Without this the .rc files will not be found by the unit tests or other
programs that use okularpart
2015-11-28 16:04:57 +00:00
Montel Laurent 466eb79615 Use QStringLiteral 2015-10-29 13:37:11 +01:00
Albert Astals Cid 8445660539 Merge remote-tracking branch 'origin/master' into frameworks 2015-10-18 22:29:00 +02:00
Albert Astals Cid ce7f81fc06 Make the sidebar work on widget pointers and not ints
This way we don't need to worry if we add more widgets in the middle
2015-09-16 01:18:17 +02:00
Albert Astals Cid 1cd101b480 Small cleanup of the layer support feature
Tab replacing, function naming, include removal, @since addition, etc
2015-09-15 01:38:09 +02:00
Albert Astals Cid d8f9800d28 Make the drawing tools be actions instead of tool buttons
3 benefits:
 * We can set the shortcut in the edit shortcuts dialog as before
 * Shortcuts can be activated without showing the topbar as before
 * Drawing in the toppbar is exactly as the other actions
2015-08-22 22:17:40 +02:00
Tobias Koenig 81f80ac3a4 Implement drawing quick selection tool for presentation mode
REVIEW: 124687
2015-08-22 22:17:40 +02:00
Montel Laurent 6fab218de9 Use Q_NULLPTR 2015-08-18 15:12:07 +02:00
Saheb Preet Singh f5f0947dd9 hided layers pane in a cleaner way 2015-08-16 23:49:36 +05:30
Saheb Preet Singh 5af8cc5873 solved some minor bugs, corrected the search options and proper hiding of layers section when not present 2015-08-10 18:26:17 +05:30
Montel Laurent 49ce3fc4d2 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	core/version.h
2015-08-03 09:44:50 +02:00
Saheb Preet Singh d891436231 reloading form widgets with layer show and hide 2015-07-20 22:25:35 +05:30
Jan Kundrát abd30fb774 s/auto_ptr/unique_ptr/
The old auto_ptr was used for simple RAII. None of the auto_ptr flaws
were apparent in that context, but given that that class is actively
deprecated and that compilers warn about its use, it's better to switch
to its drop-in replacement.

My reason for not using QScopedPointer is that the C++11 version works
well enough, Okular is being built in C++11 mode anyway, unique_ptr
works on the KF5-minimal-mandated-compilers according to their docs, and
therefore there's no point in using something with a different API
(QScopedPointer) just because its name begins with a Q.

REVIEW: 124027
2015-07-20 16:14:01 +02:00
Saheb Preet Singh 854f047d47 hide layers from the sidebar when layers are not present in the document 2015-07-12 17:36:18 +05:30
Saheb Preet Singh bf673495fb added layers on the left sidebar 2015-05-27 19:26:56 +05:30
Albert Astals Cid 8452e86b65 Fix porting mistake on next/prev page shortcuts
CCMAIL: lukas@kde.org
BUGS: 347109
2015-05-14 01:46:03 +02:00
Albert Astals Cid 146c6d85bb Merge remote-tracking branch 'origin/Applications/15.04' 2015-05-14 00:59:48 +02:00
Jonathan Doman 223092aa0e Fix embed mode detection
Wow, I have no idea how this happened. I wrote an big test case and spent a lot of time playing with tabs. Stephan Binner even told me about this a month ago, but I didn't quite understand the problem...
Broken embed mode detection means that the tabbed interface is disabled. It actually made it into release... ugh

REVIEW: 123680
2015-05-14 00:58:48 +02:00
Montel Laurent 080dba35b2 kdelibs4support-- 2015-03-17 23:15:20 +01:00
Montel Laurent 3580f0089b Fix includes 2015-03-17 09:06:01 +01:00
Montel Laurent d780d15ea9 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	autotests/mainshelltest.cpp
	part.cpp
	part.h
	shell/shell.cpp
2015-03-17 08:47:52 +01:00
Saheb Preet Singh 1eafe4feb1 New shortcut to resize window to fit page
FIXED-IN: KDE Applications 15.08
BUGS: 326844
REVIEW: 115283
2015-03-17 00:20:11 +01:00
Jonathan Doman 1cfb007b63 Fix session restore/save with multiple tabs
BUGS: 335852
REVIEW: 122570
2015-03-16 23:55:57 +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
Montel Laurent 61628e5bc7 Merge remote-tracking branch 'origin/master' into frameworks
Conflicts:
	part.cpp
2015-02-07 13:12:59 +01:00