Commit graph

468 commits

Author SHA1 Message Date
Albert Astals Cid
3e25263d77 Use KCrash 2018-04-08 11:50:18 +02:00
Dileep Sankhla
09b7b079ac Option to exit after printing
Summary:
When running okular with the parameter --print to directly open the print mode, it doesn't exit after acknowledging the print dialog. Hence adding --print_and_exit option exits Okular after acknowledging the print dialog and thus is useful for the command line batch processing or a Dolphin service as the issue suggests.

FEATURE: 318998

Test Plan:
1. open a file in Okular using the parameter --print. It will open Okular in print mode with the print dialog
2. Either print the file or cancel the print dialog
3. You will find that Okular stays open
4. Now using this patch, see for available options with the --help parameter. You will find --print_and_exit option
5. Now open a file in Okular using the parameter --print_and_exit. It will open Okular in print mode with the print dialog
6. Either print the file or cancel the print dialog
7. You will find that Okular closes after acknowledging the dialog

Reviewers: aacid, #okular, ngraham

Subscribers: ltoscano, ngraham, aacid, #okular

Tags: #okular

Differential Revision: https://phabricator.kde.org/D10249
2018-03-03 17:36:50 +01:00
l10n daemon script
4af533a4eb GIT_SILENT made messages (after extraction) 2017-12-31 03:15:40 +01:00
l10n daemon script
d150c10bce GIT_SILENT made messages (after extraction) 2017-12-28 03:13:34 +01:00
l10n daemon script
22885c00b0 GIT_SILENT made messages (after extraction) 2017-12-01 03:10:28 +01:00
Henrik Fehlauer
069a18b041 Merge remote-tracking branch 'origin/Applications/17.12' 2017-11-30 15:00:26 +01:00
l10n daemon script
0ef249b5a5 GIT_SILENT made messages (after extraction) 2017-11-28 05:48:07 +01:00
l10n daemon script
22ee80d317 GIT_SILENT made messages (after extraction) 2017-11-21 05:09:38 +01:00
l10n daemon script
3e2e5d2b36 GIT_SILENT made messages (after extraction) 2017-11-21 02:59:25 +01:00
Albert Astals Cid
19b7e3c112 The work in this branch was sponsored by LiMux
give them some credit in the headers
2017-11-16 09:58:31 +01:00
Albert Astals Cid
ea1815be13 Also note the modified status (*) on the tab name 2017-11-13 17:59:45 +01:00
Albert Astals Cid
54bcb44559 Merge remote-tracking branch 'origin/master' into dont-use-docdata-for-annots-and-forms 2017-10-23 16:03:18 +02:00
l10n daemon script
1883a06614 GIT_SILENT made messages (after extraction) 2017-10-20 03:05:06 +02:00
Lukas Hetzenecker
ecc1141e02 HiDPI Support for Okular
Summary:
This patch enables HiDPI throughout the application

Every pixmap is multiplied by the devicePixelRatioF
QPainter code is ajusted to take the DPR value into account

All pixmaps get cached with the highest DPR of all screens. When moving the application to another screen, the cache doesn't have to be invalidated.

BUGS: 362856 383589
REVIEW: D6268
2017-10-14 14:47:20 +02:00
l10n daemon script
72abe6f85a GIT_SILENT made messages (after extraction) 2017-10-11 06:41:11 +02:00
Albert Astals Cid
a93661e892 Merge remote-tracking branch 'origin/master' into dont-use-docdata-for-annots-and-forms 2017-09-27 15:01:57 +02:00
Albert Astals Cid
ce5999d513 have -> are 2017-09-18 22:20:42 +02:00
Albert Astals Cid
95a32d7730 Show dialog to ask when closing when more than tab open
Summary:
The checkbox is checked and says "Warn me on closing more than one tab",
for that reason we can't use the default KMessageBox::questionYesNo since
there the checkbox is always not checked and it's when checked that you enable it

Inspired by code from torham zed torhamzed@yahoo.com at review request 126406

Reviewers: #okular, #kde_applications

Subscribers: alexeymin, ngraham, colomar, rkflx, #okular

Tags: #okular

Differential Revision: https://phabricator.kde.org/D7714
2017-09-17 23:50:27 +02:00
Albert Astals Cid
04ed10d3ea Merge remote-tracking branch 'origin/master' into dont-use-docdata-for-annots-and-forms 2017-09-11 19:51:51 +02:00
l10n daemon script
7849af8f30 GIT_SILENT made messages (after extraction) 2017-09-11 03:20:48 +02:00
Kevin Funk
a53a2402ca clang-tidy: modernize-use-nullptr run
Semi-ACK'd by Albert :)
2017-09-06 00:19:48 +02:00
l10n daemon script
19406fdf57 GIT_SILENT made messages (after extraction) 2017-07-30 03:25:35 +02:00
Albert Astals Cid
1a5e20e22b Merge remote-tracking branch 'origin/Applications/17.04' 2017-07-02 18:01:14 +02:00
Albert Astals Cid
3b5f19fd9d Shell: Fix sync "Show menubar" action status
No need to sync it when Shell uses a native menubar
2017-07-02 18:00:04 +02:00
l10n daemon script
1658d3b64e GIT_SILENT made messages (after extraction) 2017-06-30 03:08:40 +02:00
l10n daemon script
5af987dac0 GIT_SILENT made messages (after extraction) 2017-06-20 05:05:53 +02:00
Albert Astals Cid
dc85379ce1 Merge remote-tracking branch 'origin/Applications/17.04' 2017-05-21 23:38:14 +02:00
l10n daemon script
bb8c12d1eb SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-05-21 05:48:05 +02:00
l10n daemon script
34edbb7711 GIT_SILENT made messages (after extraction) 2017-05-21 05:10:30 +02:00
l10n daemon script
767a1c0eac SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-05-21 04:36:10 +02:00
l10n daemon script
58d23a20ae GIT_SILENT made messages (after extraction) 2017-05-12 04:56:11 +02:00
l10n daemon script
ef9ea64bc3 GIT_SILENT made messages (after extraction) 2017-05-12 02:59:10 +02:00
Friedrich W. H. Kossebau
2779bb6c0c Don't repeat work of KAboutData::setApplicationData(), set window icon 2017-05-08 15:17:48 +02:00
l10n daemon script
cd1d36df29 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-04-22 05:08:45 +02:00
l10n daemon script
94fbca1c95 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-04-22 04:06:38 +02:00
l10n daemon script
a25642c178 GIT_SILENT made messages (after extraction) 2017-04-22 02:52:16 +02:00
Oliver Sander
3859fba07d Remove dependency on KActivities on Windows.
REVIEW: 130022
REVIEW: 126378
2017-03-18 01:58:47 +01:00
Albert Astals Cid
191a37fb52 Q_DECL_OVERRIDE -> override 2017-03-02 20:39:24 +01:00
l10n daemon script
5c929b2585 GIT_SILENT made messages (after extraction) 2017-02-28 09:33:35 +01:00
l10n daemon script
2a0bdca687 GIT_SILENT made messages (after extraction) 2017-02-07 08:56:11 +01:00
l10n daemon script
7381616690 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-02-06 06:04:23 +01:00
l10n daemon script
53a6cde141 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-02-04 06:23:35 +01:00
l10n daemon script
0922f2f524 GIT_SILENT made messages (after extraction) 2017-02-04 03:59:15 +01:00
l10n daemon script
0cbf1d24e7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2017-02-02 05:57:03 +01:00
Albert Astals Cid
ed4a9f42f4 Merge remote-tracking branch 'origin/Applications/16.12' 2017-01-16 00:37:25 +01:00
Albert Astals Cid
f467807506 Remove #ifdefs for Qt we require in cmake anyway 2017-01-16 00:36:08 +01:00
Albert Astals Cid
b13fc1d3be Readd test for file existance when opening files with # on the path
BUGS: 373855
2017-01-16 00:33:25 +01:00
l10n daemon script
93b824de9e GIT_SILENT made messages (after extraction) 2017-01-09 03:54:16 +01:00
l10n daemon script
4290dffb1b GIT_SILENT made messages (after extraction) 2016-12-26 06:45:49 +01:00
l10n daemon script
30993aa3f1 GIT_SILENT made messages (after extraction) 2016-12-26 03:41:57 +01:00