Commit graph

59 commits

Author SHA1 Message Date
cf5ae5c902 Adaptation for AuroraOS 2023-11-17 01:21:05 +03:00
Slava Monich
36a45a48d9 [app] Fetch current book index from ListWatcher
It appears that ListView's currentIndex on the QML side doesn't always
match the one on the native side (and when they differ, the native one
tracked by ListWatcher is the right one)
2023-04-15 04:48:38 +03:00
Slava Monich
fb8841294e [app] A better way to use Permissions and MediaKey
It has a better chance to survive a Qt upgrade
2022-10-10 18:48:25 +03:00
Slava Monich
2a64b91cde [app] Made colors configurable 2022-10-10 03:45:18 +03:00
Slava Monich
da9f682081 [app] Tweaked book opening and closing animations 2021-11-13 21:36:21 +02:00
Slava Monich
091c85d1ce [app] Added option to hide pulley menu in the book view 2021-11-13 18:20:50 +02:00
Slava Monich
21c278dae6 [settings] Show app version and icon in the settings page
But only when it's opened from jolla-settings
2021-08-06 05:08:37 +03:00
Slava Monich
b220cbd60d [app] Avoid QML runtime warnings
"Unable to assign undefined to bool"
2020-11-03 05:30:56 +02:00
Slava Monich
a39ad381b0 [app] Tweaking look loading UI 2020-11-03 05:13:33 +02:00
Slava Monich
cf51192137 [app] Implemented a fancy way of closing the book
By swiping it up
2020-11-03 03:12:22 +02:00
Slava Monich
a22d4f383a [app] Fixing issues with saving/restoring book position 2020-11-02 05:19:46 +02:00
Slava Monich
6c2354d2e5 [app] Make pulley menus initially invisible
They will be made visible by BooksMainPage when needed.
2020-11-02 02:29:00 +02:00
Slava Monich
b74d57291c [app] Reduced number of flickables
That makes scrolling easier. It appears that nested flickables with the
same flicking direction are having hard time fighting for mouse events.
2020-11-01 19:03:59 +02:00
Slava Monich
85c1f819f3 [app] Fixed a problem with marking pushed position as the current one 2020-10-26 02:08:30 +02:00
Slava Monich
ca6f60132c [app] Release media keys when book page is inactive
E.g. when settings page is open on top of it.
2020-10-22 04:13:25 +03:00
Slava Monich
2646d8ad4f [app] Fixed some references to non-existent QML properties
QML desperately needs a compiler or at least a validator
2020-09-28 03:28:52 +03:00
Slava Monich
f1f9dc226e [app] Allow to access settings from the book view
... at least in the Jolla store version. Most of those settings are
related to the book view, it may be quite convenient to access them
without closing the book.
2020-09-28 02:54:49 +03:00
Slava Monich
04e5a721e8 [app] Added bookPos role to the book model
And fixed a bunch of paging/rotation issues (or at least tried to)
2020-09-28 02:37:14 +03:00
Slava Monich
19c28e5c51 [app] Avoid unpleasant flicking when pages are being dragged 2020-09-17 01:44:58 +03:00
Slava Monich
429c58efb0 [app] Dropped BooksFeedback
Now that QtFeedback is allowed in Jolla Store, it's no longer needed
2020-09-17 01:30:34 +03:00
Slava Monich
4bc47ef775 [app] Made BooksFeedback a singleton
And only do bzzzzz once, when selection is started.
2020-02-03 04:28:00 +02:00
Slava Monich
8529942924 [app] A few more tweaks to reduce jumping between the pages 2020-02-03 03:09:13 +02:00
Slava Monich
6b5fb10b15 [app] React to jumpToPage signal from BooksBookModel
To ensure correct initial position of the view.
2020-02-03 02:50:03 +02:00
Slava Monich
85473cb2b4 [app] Use HarbourLib QML components 2019-04-01 02:06:55 +03:00
Slava Monich
278baef519 [app] Added dconf option to turn pages by tapping the screen 2018-07-24 00:06:39 +03:00
Slava Monich
be2b66f955 [app] Fixed a problem with paging animation 2018-07-23 23:55:24 +03:00
Slava Monich
73f4e53933 [app] Allow to fix page layout
Some users are annoyed by page layout changing after accident tap
2018-07-23 00:52:14 +03:00
Slava Monich
c8f643d8e3 [app] Fixed compatibility with Sailfish OS < 2.1.0
Notification object didn't have the "icon" property until Sailfish OS 2.1.0.
Its presense needs to be checked at run time.
2018-02-26 17:39:30 +02:00
Slava Monich
f699d3cb34 [app] Added "Copied to clipboard" pop-up notification 2017-12-04 01:24:39 +03:00
Slava Monich
b16f5e986b [app] Provide haptic feedback on entering/leaving selection mode 2017-12-03 16:23:25 +03:00
Slava Monich
89775f269e [app] Implemented text selection (whole words)
The selected text is getting copied to clipboard.
2017-09-07 19:03:17 +03:00
Slava Monich
0e8d758879 Turn pages with volume keys
And allow to configure volume key actions.
2017-08-08 16:19:30 +03:00
Slava Monich
1ca5fb3653 Added UI state with pager but without tools 2017-08-03 21:48:27 +03:00
Slava Monich
9ac726c523 Implemented history (position stack)
Allows the user to return back after selecting a cross-page link
2017-08-03 18:48:17 +03:00
Slava Monich
e3b0e1c453 [app] Support for footnotes 2016-11-02 19:51:34 +03:00
Slava Monich
caf858b581 [app] Use shared instance of BooksSettings 2016-10-16 23:36:13 +03:00
Slava Monich
b2d01710e8 [app] Support for internal hyperlinks 2016-10-16 20:07:03 +03:00
Slava Monich
01c9f0744b [app] Fixed condition for BooksBookView being interactive 2016-10-15 13:16:06 +03:00
Slava Monich
1cdafb5fd0 [app] Tweaking image view transitions 2016-10-08 23:36:28 +03:00
Slava Monich
4c918861d0 [app] Zoom images on long tap 2016-10-08 20:16:08 +03:00
Slava Monich
c15d6b840d [app] Open external links on long tap 2016-10-08 19:41:27 +03:00
Slava Monich
0a42d93e14 [app] Fixed the problem with the initial slider position 2016-10-08 01:09:57 +03:00
Slava Monich
5be7de14ba [app] Prefixed all string ids with harbour-books- 2016-10-07 18:47:27 +03:00
Slava Monich
0220a2c79a [app] Tweaking the "Loading..." screen 2016-02-21 15:13:40 +03:00
Slava Monich
58d0927e82 [app] Implemented per-book font size
The global font size setting still exists, per-book value is the adjustment
relative to the default value.
2015-12-13 14:46:53 +03:00
Slava Monich
512c698fd1 [app] Only show the cancel button when actually loading the book 2015-11-03 01:33:58 +03:00
Slava Monich
53f7693ced [app] Workaround for Qt crash
Qt was crashing when user was swiping over hidden cancel button.
Making button invisible helps to avoid the crash.
2015-10-31 00:04:04 +03:00
Slava Monich
312dbff58c [app] Don't mess with the Button width 2015-10-21 13:57:38 +03:00
Slava Monich
01e9c614a0 [app] Fixed the "cancel load" button
Now it disappears after loading is done and becomes compatible with SFOS 1.1.7
2015-10-21 13:38:28 +03:00
Slava Monich
e00e5624f9 [app] Made it easier to cancel book loading
Also, show the book title at the top of the loading screen
2015-09-12 19:37:02 +03:00