Commit graph

42 commits

Author SHA1 Message Date
Nicolas Mailloux
6155e9344e Fix MainWindow tabSwitcher bug
When an user would click another button-tab (e.g. Settings or Apps)
after launching libraryWidget, InkBox would reset the window entirely
and get back to the Home widget. The user would then have had to re-
click on the button-tab he wanted to pick to get the appropriate
content.

This commit fixes this issue by requiring a resetFullWindowException
boolean variable to be set to false (meaning that the user didn't click
on any button-tab before leaving libraryWidget) for the
resetWindow(true) function to occur as described in resetFullWindow(),
when libraryWidget is destroyed.
2022-01-28 00:44:23 -05:00
Nicolas Mailloux
8e29140fac Set truncate treshold for "Recent books" buttons
Fixes https://github.com/Kobo-InkBox/inkbox/issues/11
2022-01-16 19:31:04 -05:00
Nicolas Mailloux
bbc5c3b927 Gutenberg: improvements 2022-01-04 19:06:47 -05:00
Nicolas Mailloux
57f99c0fe2 encfs: Open dialog if files present in dropbox 2021-12-31 15:50:59 -05:00
Nicolas Mailloux
3cdce7d0d1 Create new libraryWidget class and associate it with libraryButton 2021-12-26 08:36:29 -05:00
Nicolas Mailloux
6c6a64881d Even more encfs improvements 2021-10-18 08:46:27 -04:00
Nicolas Mailloux
a217545fd6 Speed up post-USBMS: no more reboots! 2021-09-26 16:46:25 -04:00
Nicolas Mailloux
6b8875272f Open book file from local storage search in Reader 2021-09-05 11:47:09 -04:00
Nicolas Mailloux
4c5fd69f57 Local storage book search implemented and working 2021-09-05 09:37:07 -04:00
Nicolas Mailloux
34252c01bc Progress in implementing "Open" function from search 2021-09-04 23:46:47 -04:00
Nicolas Mailloux
b8f4da12f7 Delay OTA check after successful network connection 2021-08-19 11:11:16 -04:00
Nicolas Mailloux
595da4b6be Some fixes for Wi-Fi dialog; IP address in System Info 2021-07-20 23:27:32 -04:00
Nicolas Mailloux
e73c8c371e Wi-Fi connection dialog implemented and working 2021-07-14 18:23:54 -04:00
Nicolas Mailloux
5793607d2b Toast messages; Wi-Fi dialog improvements 2021-07-14 01:24:30 -04:00
Nicolas Mailloux
a532d00f48 Wi-Fi button/icon in MainWindow
Dialog's coming soon, hopefully ...
2021-07-13 15:18:59 -04:00
Nicolas Mailloux
13803ef333 The search button now does something
And it does what you'd expect it to! Only dictionary search available at
the moment.
2021-07-05 22:21:20 -04:00
Nicolas Mailloux
e9c17ca382 Virtual keyboard! 2021-07-05 16:01:32 -04:00
Nicolas Mailloux
9fd002213e Implemented "Go to page" dialog and function. 2021-07-05 13:45:35 -04:00
Nicolas Mailloux
3e0183a170 Enable back USBMS prompt
Really, I could've just checked the battery state to know whether an USB
cable was plugged in...
2021-06-29 10:19:21 -04:00
Nicolas Mailloux
19f31e1d44 Auto-suspend feature implemented :check: 2021-06-28 19:57:40 -04:00
Nicolas Mailloux
347abf85dc cinematicBrightness: don't do that twice 2021-06-28 16:13:44 -04:00
Nicolas Mailloux
ae0284bed2 Glo: cinematicBrightness for a nice brightness fade-in 2021-06-28 15:26:04 -04:00
Nicolas Mailloux
3b61530507 Kobo Glo: methods to set brightness 2021-06-25 22:09:42 -04:00
Nicolas Mailloux
31367c5357 MainWindow: Set battery icon every tab switch 2021-06-23 11:26:00 -04:00
Nicolas Mailloux
9428483d02 Add QTextBrowser widget and dialog
Some things, such as UIDs, just couldn't display normally and we need
such a browser for them.
I'll work on implementing as the main engine for the Reader framework.
2021-06-08 07:49:52 -04:00
Nicolas Mailloux
ef34273f37 Improved USBMS prompt
Still half-working but better
2021-05-09 14:07:05 -04:00
Nicolas Mailloux
253d94a059 KoBox launcher basic implementation
I still need to fix some border bug
2021-04-29 23:36:25 -04:00
Nicolas Mailloux
b38a5bd9a0 Added KoBox settings base 2021-04-27 08:40:08 -04:00
Nicolas Mailloux
7e799d999a Finalized working tab switcher
Settings Chooser won't disappear anymore when invoked after Apps tab was
opened.
2021-04-24 12:44:57 -04:00
Nicolas Mailloux
6eefeed69f Basic settings stacked widget implementation 2021-04-24 09:34:35 -04:00
Nicolas Mailloux
d1d03ae16e Tab switcher working
Rearranged layout, home button on the top left, time at top right. Apps
is no longer a window, but embedded into stackedWidget > Index page 1.
Possible to switch back and forth between main display and Apps widget.
2021-04-23 22:23:24 -04:00
Nicolas Mailloux
09e14b74cd Finalized low/critical battery alert warnings
QTimer implementation which triggers them when the battery reaches a
certain charging level
2021-04-23 08:47:05 -04:00
Nicolas Mailloux
edb1203d7e Never mind
What an idiot am I...
2021-04-22 10:10:47 -04:00
Nicolas Mailloux
51fad25719 I discovered static variables
WIP, some changes coming, notably a critical/low battery alert, and some
big code revamping.
2021-04-22 07:38:54 -04:00
Nicolas Mailloux
f46e9f3f28 Vacuum-cleaner; centralized all functions in one header file. I'm sorry. 2021-04-05 09:50:58 -04:00
Nicolas Mailloux
22a3cb25ae Added update prompt at startup if update is detected 2021-04-01 08:58:37 -04:00
Nicolas Mailloux
55978a75fa Added general-purpose dialog; added soft reset option 2021-03-31 08:38:59 -04:00
Nicolas Mailloux
83777b6482 Implemented brightness control dialog in MainWindow 2021-03-29 21:47:21 -04:00
Nicolas Mailloux
6cf633dd9e Show battery state in MainWindow; fixed USBMS icon scaling for all
devices
2021-03-29 08:04:46 -04:00
Nicolas Mailloux
d3362890be First steps to control brightness from MainWindow and show battery
level/status
2021-03-28 22:18:48 -04:00
Nicolas Mailloux
61e83d2596 Update process improvements; preparing for v1.1 2021-03-27 15:13:37 -04:00
Nicolas Mailloux
f8ff9e0c37 InkBox v1.0 Release Commit 2021-03-25 08:00:19 -04:00