Commit graph

21 commits

Author SHA1 Message Date
Matti Viljanen
b429c474c6
Use pointers to objects for consistency 2020-03-20 16:18:14 +02:00
Matti Viljanen
bac3580807
Update comment 2019-03-10 14:56:41 +02:00
Matti Viljanen
96225c71af
Increase polling frequency to 3s 2019-02-10 20:30:45 +02:00
Matti Viljanen
a9daef7d6b
Set QFile parents 2019-02-10 20:30:26 +02:00
Matti Viljanen
c7ba509bc7
Move sliders to Settings page, add alert interval setting 2019-01-29 01:11:32 +02:00
Matti Viljanen
722cac24b9
Fix broken state detection, move state translations to QML 2019-01-09 00:59:23 +02:00
Matti Viljanen
8eafae5808
Version bump to 1.1, update translations, minor cleanup, remove QDebug 2019-01-08 21:15:36 +02:00
Matti Viljanen
960750f2a7
Fix QSettings not getting saved, get rid of load() and save() 2019-01-08 20:19:54 +02:00
Matti Viljanen
7ef7775c89
Add state to battery data, return translated state 2019-01-08 20:16:10 +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
6fce9e5dcc Remove qDebug 2019-01-06 11:34:54 +02:00
Matti Viljanen
7d3ea81ca4 Fix audio file paths 2019-01-06 11:31:03 +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
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
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