Commit graph

95 commits

Author SHA1 Message Date
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
7d4cd543c5 [app] Don't auto-scroll storage view if it's not visible
User expects to return to the same place where he/she opened the book
or the settings page.
2020-11-01 17:23:16 +02:00
Slava Monich
5fb0779519 [app] Fixed scrolling of storage view on SD card insertion
It was producing strange results if contentX was non-zero
2020-11-01 17:07:33 +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
94a5f981a7 [app] Dropped HarbourImageProvider
HarbourHighlightIcon works better
2020-10-23 01:53:04 +03:00
Slava Monich
a03e4e3dc7 [app] Added UI to configure night mode brightnesss 2020-10-23 01:21:24 +03: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
e4cbab0301 [app] Made night mode brightness configurable
Brightness control is implemented by rendering content with transparent
background, providing background as a separate item behind the content
and adjusting opacity of the content item according to the selected
brightness.
2020-09-21 00:53:21 +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
7ba8a502b3 [app] Colorize SD-card icon according to ambience 2020-02-04 01:48:10 +02:00
Slava Monich
d2bc2d10cd [app] Made BooksHints a singleton 2020-02-03 04:34:37 +02: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
0bd4373862 [app] Use fixed color for folder title
Because the background color is fixed too.
2019-12-10 03:43:58 +03:00
Slava Monich
85473cb2b4 [app] Use HarbourLib QML components 2019-04-01 02:06:55 +03:00
Slava Monich
9422fa4f68 [app] Slightly tweaked the toolbar 2019-04-01 01:25:37 +03:00
Slava Monich
e1f75ed04a [app] Only use those HarbourLib classes that we really need 2019-03-31 04:03:16 +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
3ccc36e335 [app] Added keepDisplayOn option 2018-05-16 23:55:43 +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
9e9d954722 [app] UI tweaks 2018-02-04 13:09:08 +03:00
Slava Monich
3325aad1b2 [app] Eliminated unnecessary QML object creation 2018-01-20 13:49:51 +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
2295ebfb7f [app] Added "Select all" pulley menu item to the import view 2017-09-07 23:46:52 +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
bd403f44c9 Hide history controls if there's no history
Also, long-press on the history arrow clears the history
2017-08-03 21:24:03 +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
59f49be0c3 Specify slider animation duration in addition to velocity 2017-08-03 18:41:59 +03:00
Slava Monich
8344963cc9 Tweaking tool icons 2017-08-03 16:19:51 +03:00
Slava Monich
3ffcd7cdf2 [app] Housekeeping 2016-11-06 21:52:09 +03:00
Slava Monich
e3b0e1c453 [app] Support for footnotes 2016-11-02 19:51:34 +03:00
Slava Monich
af9271dff5 [app] Made root directory configurable for removable storage
The dconf entry is /apps/harbour-books/removableRoot
2016-10-23 20:17:13 +03:00
Slava Monich
caf858b581 [app] Use shared instance of BooksSettings 2016-10-16 23:36:13 +03:00
Slava Monich
55b47f18f2 [app] Took out unused slider code 2016-10-16 22:41:29 +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