This also now remove the auto appearing global drawer that is now a menu
on desktop. This also move the main page into the pagestack.
Bump the Kirigami dependency because PlaceHolderMessage doesn't exist in
old version of Kirigami.
Now the drawer open automatically when the window is big enough. The
drawer handle are also only visible when a document is open. The
thumbnails page was also improved and some spacing issues were solved.
Summary:
- Correct QQC2 import
- Apply search field changes from Thumbnails here as well
Test Plan:
- Open https://openboard.ch/download/Tutoriel_OpenBoard_1.5EN.pdf with okularkirigami
- open the context drawer
- switch to the "Table of Contents" tab
- the ToC should load successfully
Reviewers: #okular, bshah
Reviewed By: bshah
Subscribers: bshah, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D23066
Summary: Adds tootip, different icons depending on checked state and fixed functionality
Test Plan:
- Open a document
- click bookmark action
- the bookmarked page should appear in the bookmarks tab of the contextDrawer
Reviewers: #okular, #plasma:_mobile, ngraham
Reviewed By: ngraham
Subscribers: ngraham, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D22904
otherwise it doesn't get shown on Plasma Mobile as well, most
distribution doesn't enable mobile app or splits it in seperate package
so this should not be problem
Summary: Remove all QtQuick Controls 1 imports and replace by QtQuick Controls 2
Test Plan: The mobile app behaves just as before
Reviewers: #okular, ngraham
Reviewed By: ngraham
Subscribers: ngraham, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D21675
Summary: Move the error label to the results grid view, which fixes the layout of the TextField.
Test Plan: TextField and label are still visible if no search result is found.
Reviewers: #okular, ngraham
Reviewed By: ngraham
Subscribers: ngraham, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D21551
Summary: Port the drawer to QQC2
Test Plan: It still has the same features as before
Reviewers: #okular, ngraham
Reviewed By: ngraham
Subscribers: ngraham, okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D21550
Summary: The bug was that the Drawer use the `drawerOpen` properties now instead of just `open`. Also fix deprecation Kirigami.Label -> QQC2.Label.
Test Plan: Tested on my computer with the touchpad. I could potentialy try with my android phone, if needed.
Subscribers: okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D18637
Summary:
It was introduced in that version and apparently Qt 5.12 is stricter
about this and causes 'qrc:/package/contents/ui/main.qml:59
"Connections.enabled" is not available in QtQuick 2.1.' when trying
to start okularkirigami without this patch.
Test Plan: okularkirigami shows up
Reviewers: #okular, apol
Subscribers: okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D17196
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