Commit graph

33 commits

Author SHA1 Message Date
Aleix Pol 77dfe3ddc6 QtQuick: Port from Text to proper Kirigami.Units 2018-04-25 16:14:47 +02:00
Aleix Pol 84854afb64 QtQuick: Only emit when there's something to change 2018-04-25 16:01:19 +02:00
Aleix Pol a7b165c0f2 QtQuick: Adopt more assertive behavior upon document change
Don't change all pages to 0, it should be the application currentPage to
change. Otherwise we get to having 3 items at page 0.
2018-04-25 16:01:19 +02:00
Aleix Pol 19222f27ca QtQuick: fix visual corruption
Don't request async pixmaps then render them straight away.
2018-04-25 16:01:19 +02:00
Aleix Pol c51419dd9f QtQuick: use the right bounds when painting
Use textureSize as the documentation suggests, contentsSize is
deprecated.
Sometimes this size is invalid, use textureSize in such case.
2018-04-25 16:01:19 +02:00
Aleix Pol 2648ad7b73 Correctly list the supported file suffixes 2018-04-22 23:00:49 +02:00
Marco Martin 71f870836e upport high dpi 2018-04-18 16:57:27 +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
Kevin Funk a53a2402ca clang-tidy: modernize-use-nullptr run
Semi-ACK'd by Albert :)
2017-09-06 00:19:48 +02:00
Albert Astals Cid 4072eb0c3a Add override 2017-03-02 20:38:50 +01:00
Martin T. H. Sandsmark 033f21c826 Port some missing debug output to categorized logging 2017-01-14 19:15:26 +01: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 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 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
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 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 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 8d8665582c toolbar to open sidepanels
fix bookmarks management
2015-09-18 18:22:28 +02:00
Marco Martin 5ba5e2189c rename from active to mobile 2015-08-05 16:54:48 +02:00