Yuri Chornoivan
39b6e8147d
Fix minor EBN issues
8 years ago
Yuri Chornoivan
c04ca1fa96
Fix minor EBN issues
8 years ago
Aleix Pol
600e72100b
Remove the internal file navigation from the global drawer
...
Summary: Instead include an "open" item.
Test Plan: opened a file
Reviewers: #okular, mart, aacid
Reviewed By: mart
Subscribers: okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D12884
8 years ago
Aleix Pol
ad09cfdcf1
Kirigami: Properly reuse the page when scrolling back
...
Reviewed by Albert Astals
8 years ago
Aleix Pol
9cafd504c0
Kirigami: Asynchronous request of pixmaps
...
Don't block when reading the document to be able to render
Reviwed by Albert Astals
8 years ago
Aleix Pol
c92397da88
Kirigami: Don't try to render if the item is empty
8 years ago
Aleix Pol
1a170e81df
Kirigami: set request's normalized rect
...
We used to give a null rectangle and okular didn't render anything.
Reviewed by Albert Astals
8 years ago
Aleix Pol
cf4bb5e3b1
Android: Make it possible to associate with files
...
Summary:
Put the file into a file descriptor and open this file descriptor.
Just application/pdf for now.
Test Plan: opened some documents on my phone
Reviewers: #okular, aacid, mart
Reviewed By: mart
Subscribers: okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D12770
8 years ago
Aleix Pol
90f187e360
QtQuick: schedule a texture render when the window changes
...
It needs to the devicePixelRatio to the window where it's in.
8 years ago
Aleix Pol
a082ace479
QtQuick: simplify PageItem
...
Don't compare the limits to itself
8 years ago
Aleix Pol
970e0f2ba9
QtQuick: simplify drawing code
...
Removes a deprecated optimization
8 years ago
Aleix Pol
bf6f5f74dc
QtQuick: Don't reset zoom when scrollbars appear
8 years ago
Aleix Pol
df35e22314
QtQuick: make certain properties readonly
8 years ago
Aleix Pol
374d953e39
QtQuick: remove unnecessary use of QQuickPixmapItem
...
It was already ported to render into a pixmap, so just pass that pixmap
as a texture.
8 years ago
Aleix Pol
77dfe3ddc6
QtQuick: Port from Text to proper Kirigami.Units
8 years ago
Aleix Pol
84854afb64
QtQuick: Only emit when there's something to change
8 years ago
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.
8 years ago
Aleix Pol
19222f27ca
QtQuick: fix visual corruption
...
Don't request async pixmaps then render them straight away.
8 years ago
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.
8 years ago
Aleix Pol
2648ad7b73
Correctly list the supported file suffixes
8 years ago
Marco Martin
71f870836e
upport high dpi
8 years ago
Aleix Pol
4d19b4a8d7
No need to link to okularpart
...
It's wrong to link against plugins anyway.
8 years ago
Kevin Funk
a53a2402ca
clang-tidy: modernize-use-nullptr run
...
Semi-ACK'd by Albert :)
9 years ago
Albert Astals Cid
4072eb0c3a
Add override
9 years ago
Martin T. H. Sandsmark
033f21c826
Port some missing debug output to categorized logging
9 years ago
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.
9 years ago
Martin T. H. Sandsmark
afb5e01aed
Make the QML component plugin not crash when trying to be loaded without a QApplication
10 years ago
Martin T. H. Sandsmark
f2e9633ea7
Fix misuse of QWeakPointer
10 years ago
Olivier CHURLAUD
ef6f5ebc3b
Porting more files out of KDialog
10 years ago
Martin T. H. Sandsmark
67e7ada311
Fix build without implicit cast to/from ascii
...
See the previous commits for details. This is the last part.
10 years ago
Marco Martin
954c46ec46
go at beginning of page when switching
10 years ago
Marco Martin
1d5853c2cb
better behavior for wheel zoom
10 years ago
Marco Martin
5cc122f021
restore horiz flicking
...
restore scrolling with mouse wheel
10 years ago
Marco Martin
4bb05056ce
support zoom by ctrl+wheel
10 years ago
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
10 years ago
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.
10 years ago
Thomas Friedrichsmeier
df0c41212f
Fix build with MinGW on Windows.
...
REVIEW: 127328
10 years ago
Marco Martin
2b4486a00d
adapt to new components API
10 years ago
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
11 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
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
11 years ago
Marco Martin
be805e906e
port to Documentview
11 years ago
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
11 years ago
Marco Martin
709121c37c
better pinch behavior
11 years ago
Marco Martin
bb5c4291e2
fix and port the Table of Contents browser
11 years ago
Marco Martin
8d8665582c
toolbar to open sidepanels
...
fix bookmarks management
11 years ago
Marco Martin
5ba5e2189c
rename from active to mobile
11 years ago