Commit graph

235 commits

Author SHA1 Message Date
Matti Viljanen
960750f2a7
Fix QSettings not getting saved, get rid of load() and save() 2019-01-08 20:19:54 +02:00
Matti Viljanen
ad28b2e402
Display battery state 2019-01-08 20:18:25 +02:00
Matti Viljanen
7ef7775c89
Add state to battery data, return translated state 2019-01-08 20:16:10 +02:00
Matti Viljanen
10fe796d1c
Add scroll decorator 2019-01-08 20:06:08 +02:00
Matti Viljanen
244c97ad7b
Make GitHub link HTTPS, not HTTP 2019-01-06 16:44:19 +02:00
Matti Viljanen
5eea9e9732
Use QSettings instead of QSqlDatabase, move defaults to headers.
This is what over thinking looks like. QSettings need *absolutely no configuration*, whereas QSqlDatabase couldn't even get the directory created, and for some reason (simple write permissions, I think) QDir couldn't even create the data folder. Gah!
2019-01-06 16:39:33 +02:00
Matti Viljanen
2a9db678b0
Make empty and one-line functions really one-liners 2019-01-06 16:37:02 +02:00
Matti Viljanen
d2668194ce Rename LICENSE to LICENSE.md 2019-01-06 12:07:46 +02:00
Matti Viljanen
d6dd460471
Create LICENSE 2019-01-06 12:05:57 +02:00
Matti Viljanen
c1b7742f9b
Updated readme 2019-01-06 12:02:01 +02:00
Matti Viljanen
76b250f917
Readme created 2019-01-06 11:50:44 +02:00
Matti Viljanen
6fce9e5dcc Remove qDebug 2019-01-06 11:34:54 +02:00
Matti Viljanen
ab9dc6609c Changed some texts 2019-01-06 11:34:26 +02:00
Matti Viljanen
746b4adbd7 Make audio quieter, add test notification text, mabe buttons translatable 2019-01-06 11:34:04 +02:00
Matti Viljanen
23eb888dc9 Fix upper limit sound 2019-01-06 11:31:48 +02:00
Matti Viljanen
7d3ea81ca4 Fix audio file paths 2019-01-06 11:31:03 +02:00
Matti Viljanen
c1ecb486ce Update translations, create Finnish translation 2019-01-06 11:29:12 +02:00
Matti Viljanen
6f9ade76c8 Icons created 2019-01-06 01:02:07 +02:00
Matti Viljanen
e1d1a0b1d8 Publish and auto-close notification 2019-01-06 00:28:43 +02:00
Matti Viljanen
705b445185 Version bump 2019-01-05 23:48:29 +02:00
Matti Viljanen
c5a4a7bb4b Improve MainPage, add alert tests 2019-01-05 23:42:57 +02:00
Matti Viljanen
9678c93914 Comment the old sounds related code 2019-01-05 23:41:59 +02:00
Matti Viljanen
57f153055e Remove unused addImportPath 2019-01-05 23:41:33 +02:00
Matti Viljanen
8467c6e7c6 Add GPLv3 license comments in source files 2019-01-05 23:40:22 +02:00
Matti Viljanen
629bdbd1f7 Actually include settings.h and settings.cpp 2019-01-05 23:38:41 +02:00
Matti Viljanen
e25ae8d2cc Add InfoPage.qml 2019-01-05 23:37:44 +02:00
Matti Viljanen
28ed6b936d Check battery level automatically every minute and play sound when necessary 2019-01-05 22:02:01 +02:00
Matti Viljanen
ac9e3a088b Add Settings object, alert level sliders 2019-01-05 21:58:52 +02:00
Matti Viljanen
284d37755a Refresh battery data automatically 2019-01-05 21:57:35 +02:00
Matti Viljanen
790064e56b Add "About..." page 2019-01-05 20:16:04 +02:00
Matti Viljanen
b1cc485099 Include sound files 2019-01-05 20:15:29 +02:00
Matti Viljanen
dfb3560d90 Remove useless cover actions 2019-01-05 17:37:09 +02:00
Matti Viljanen
18bf91fdce Display current battery level and charging status - milestone achieved! 2019-01-05 17:15:32 +02:00
Matti Viljanen
5b99d11f3f Battery class added 2019-01-05 17:14:00 +02:00
Matti Viljanen
46e27d18b7 Created project, added .gitignore 2019-01-05 15:49:35 +02:00