Commit graph

49 commits

Author SHA1 Message Date
Aleix Pol
77049d3b80 Android: include metadata for okular kirigami
Summary:
Include an AndroidManifest.xml file so when it's installed it has a
proper icon and name.
Include appdata information so it can be listed

Reviewers: #okular, mart, aacid

Reviewed By: #okular, mart, aacid

Tags: #okular

Differential Revision: https://phabricator.kde.org/D12299
2018-04-19 01:05:54 +02:00
Marco Martin
71f870836e upport high dpi 2018-04-18 16:57:27 +02:00
Marco Martin
af1aef4e6f set the context properties the app expects 2018-04-18 15:46:34 +02:00
Aleix Pol
5f8f84d53c Turn okularkirigami into an executable
Summary:
Makes for straightforward Android testing and will work on normal
installations as well.

Reviewers: #kirigami, #okular, mart

Reviewed By: #kirigami, mart

Subscribers: plasma-devel

Tags: #kirigami, #okular

Differential Revision: https://phabricator.kde.org/D12176
2018-04-13 18:26:34 +02:00
Aleix Pol
4d19b4a8d7 No need to link to okularpart
It's wrong to link against plugins anyway.
2018-04-13 17:46:12 +02:00
Pino Toscano
9008803b32 remove deprecated Encoding key from desktop files
... even when only mentioned in apidox
2018-01-02 22:35:40 +01:00
Kevin Funk
a53a2402ca clang-tidy: modernize-use-nullptr run
Semi-ACK'd by Albert :)
2017-09-06 00:19:48 +02:00
Marco Martin
caf8820cf7 port to Kirigami 2
port kirigami 1 usage to kirigami 2
partially port to QQC2 when possible
(will need to wait newer qt versions for a full port waiting on
icons on toolbuttons and the new ScrollView
2017-07-13 18:48:18 +02:00
Albert Astals Cid
4072eb0c3a Add override 2017-03-02 20:38:50 +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
Martin T. H. Sandsmark
033f21c826 Port some missing debug output to categorized logging 2017-01-14 19:15:26 +01:00
l10n daemon script
191e10300d 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"
2016-11-04 09:43:54 +00:00
Luigi Toscano
ce4057c8b6 Cleanup Messages.sh files for mobile
Follow the changes to the structure of the files that happened during
the porting to Frameworks.
2016-11-03 23:01:08 +01:00
Martin T. H. Sandsmark
afb5e01aed Make the QML component plugin not crash when trying to be loaded without a QApplication 2016-10-15 15:22:16 +02:00
Martin T. H. Sandsmark
5e77764ac5 Don't show mobile version in menus 2016-08-13 22:53:29 +02:00
Martin T. H. Sandsmark
f2e9633ea7 Fix misuse of QWeakPointer 2016-08-13 22:36:20 +02:00
Olivier CHURLAUD
ef6f5ebc3b Porting more files out of KDialog 2016-07-21 21:53:54 +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
Marco Martin
954c46ec46 go at beginning of page when switching 2016-05-13 18:07:37 +02:00
Marco Martin
7fe208892d joined buttons style on plasma style 2016-05-13 18:01:31 +02:00
Marco Martin
f4de5d1bef move progressbar in MainView
only show on controls shown
2016-05-13 17:58:21 +02:00
Marco Martin
3b34e223c8 adjust look of thumbnails 2016-05-13 17:52:49 +02:00
Marco Martin
3c74f1acb0 minor layout fixes 2016-05-13 17:41:35 +02:00
Marco Martin
1d5853c2cb better behavior for wheel zoom 2016-05-13 17:19:48 +02:00
Marco Martin
5cc122f021 restore horiz flicking
restore scrolling with mouse wheel
2016-05-13 17:01:17 +02:00
Marco Martin
4bb05056ce support zoom by ctrl+wheel 2016-05-13 16:36:06 +02:00
Marco Martin
6fe6e884d1 make sure horiz scrollbar is off when not needed
size the page correctly to not have the horizontal
scrollbar when not needed, and make sure the flickable
is not interactive, as flicking is managed by hand
with a mousearea
2016-05-13 16:17:26 +02:00
Marco Martin
eb1f73800e port to kirigami
port away from plasma-framework dependencies
2016-05-13 14:49:08 +02:00
Dan Leinir Turthra Jensen
d01a5704bf Avoid a crash occurring when pushing the components a little hard
The situation described here occurs in particular when first increasing
the size of the component considerably, and then reducing it again
(such as switching to and from full screen in some application)
Error discovered in Peruse, but will happen elsewhere as well.
2016-04-25 08:28:50 +01:00
Thomas Friedrichsmeier
df0c41212f Fix build with MinGW on Windows.
REVIEW: 127328
2016-03-16 10:57:34 +01:00
Marco Martin
5b5f0a0c8a a message if no docs present 2016-01-27 10:47:40 +01:00
Marco Martin
0772330f79 fix OkularDrawer appearance 2016-01-08 17:31:01 +01:00
Marco Martin
9689a8eccd add missing file 2015-12-22 19:52:55 +01:00
Marco Martin
2b4486a00d adapt to new components API 2015-12-01 17:29:16 +01:00
Gleb Popov
c339bc5d0a Fix okularplugin linking on VS 2015.
okularplugin target from mobile/components suffers from the same problem as okularpart in https://git.reviewboard.kde.org/r/125741/
But the cause is a bit different now. okularplugin uses settings.cpp generated by KConfig and its header declares Settings class with OKULARCORE_EXPORT. For okularplugin target this macro gets expanded to __declspec(dllimport) and it makes linker to look for Settings class symbols in okularcore.

Fix this by tricking VS that we are building okularcore target.

REVIEW: 125742
2015-10-29 18:54:19 +03:00
Montel Laurent
466eb79615 Use QStringLiteral 2015-10-29 13:37:11 +01:00
Marco Martin
9d0f5e6312 remove references to non existent id 2015-09-25 17:47:26 +02:00
Marco Martin
c8838e94c9 directly scale the content item when pinching
when pinching, just scale the item, this scales the texture
with the GPU, avoiding costrly redraws.
redraw at the correct size only when the gesture ends
2015-09-25 16:33:46 +02:00
Marco Martin
be805e906e port to Documentview 2015-09-24 20:34:00 +02:00
Marco Martin
79622ee9a3 A touchscreen optimized view for a document
It supports changing pages by a swipe gesture, pinch zoom
and flicking to scroll around.
The mobile application will be ported to this new component
2015-09-24 17:47:26 +02:00
Marco Martin
709121c37c better pinch behavior 2015-09-23 16:14:49 +02:00
Marco Martin
bb5c4291e2 fix and port the Table of Contents browser 2015-09-23 14:34:12 +02:00
Marco Martin
c8db597052 tiny progressbar at bottom of the screen 2015-09-23 12:59:57 +02:00
Marco Martin
883a55f925 better sizing of thumbnails 2015-09-22 11:51:12 +02:00
Marco Martin
884b40287e by default fit to page 2015-09-18 19:53:51 +02:00
Marco Martin
8d8665582c toolbar to open sidepanels
fix bookmarks management
2015-09-18 18:22:28 +02:00
Marco Martin
933e72ec03 Browser in left panel
remove toolbar text when doesn't fit
2015-09-18 15:51:06 +02:00
Marco Martin
1dd033d914 rename all the active specific desktop files 2015-08-05 16:54:48 +02:00
Marco Martin
5ba5e2189c rename from active to mobile 2015-08-05 16:54:48 +02:00