Age | Commit message (Collapse) | Author |
|
In commit e9503cfa3d1740 re-coloring of the status bar was
forgotten. Added here.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
|
|
The missing id line in our own button generates an error in log and makes the buttons to fat.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Use the ligther text color on the secondary row of text when a dive is selcted in the divelist
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
In most places we wrongly used the darker primary color instead of the primary color.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Replace the "map it" button implementation with our own button.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Replace the generic buttons on the DC download page with our own.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Add out own styled button as resource.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
As per title, helps simplify theme modifications.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Add out own styled checkbox as resource.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
As per title, helps simplify theme modifications.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
This adds a switch styled for us, size is about the same as the material default.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Kirigami prevents us from altering the color of the gps icon in the action menu. So let's display an gps fix icon in the lower left corner of the drawer when the location services is running, colored to match the themes primary accent color.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
This adds colred versions of the Material ic_gps_fixed icon, in our primary blue and pink colors.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Independ of the settings, the threshold to reset the GPS data was
hard coded to 5 minutes. Now, honour the entered (and updated during
a session) time to refresh the GPS data in the location service.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
|
|
Display proper error message when cloud credentials are incorrect.
See #481
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
|
|
This makes much more sense than displaying "No dives"
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Not the lsit is much more compact and shows a lot more dives even on
smaller screens. And it's similar in style to the dive list.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Replace the theme checkboxes on the settings page
so that we get a unified UI.
These switches are linked and as such can only be activated
deactivation occurs when the user selects another theme.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Move the location services switch to the GPS menu, indicate both with icon and text if the service is active or not.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
The credential status has nothing to do with GPS functionality.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Simple typo on the overlay drawer.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Strangely, a click/tap anywhere else worked as expected, but if you hit
exactly on the checkbox, the status change wasn't propagated.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
We removed the action button for saving on the Settings page, so credentials
never got saved.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
This isn't perfect, but at least it doesn't disclose a password that
isn't currently being edited.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
And remove line that's commented out.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
In stead of using the fixed 4 column code introduced in f2fcad89b0db9b164d8fd3f89218ad27ca362bd3 use percentages of page width to allow for a more flexible layout since no block really has 4 columns.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
As per title.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
As per title.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Automatically save changes made on the settings page on completion of text fields or theme checkboxes.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Put all GPS settings in one block and revert to a 2 column layout while maintaing the 4 column widh.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Replace the checkboxes for location services and developer with switches.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Simple typo fix.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
|
|
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
|
|
Addresses: #492
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Had a bit of rebase issue with this one.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Move the locations service switch to the GPS section of the preferences page.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
As per title.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
The title says it all.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
New icons for the dive management sub-menu
ttps://material.io/icons/
The icons are under Apache License Version 2.0
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Add an icon to each item in the global drawer
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Add a couple of icons from the material repository.
https://material.io/icons/
The icons are under Apache License Version 2.0
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Add a checkbox to the preferences page to facilitate selective visibility of the developer menu. With the coresponding function in qmlmanager.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Change the order of the items in the global drawer and change the name of some of them.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Fixes: #490 items 1) and 2).
1) Reference to isBluetooth.leftPadding is removed as the isBooltooth
checkbox is gone.
2) Do not set background color of downloaded dives. The checkbox is used
to denote "selected or not".
In addition, incorrect references to subsurfaceTheme.PrimaryColor (which
does not exist) are replaced by the correct subsurfaceTheme.primaryColor.
Finally, an obvious copy/paste error width: childrenRect.height. that
is supposed to be width: childrenRect.width.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
|
|
This commit adds the capability to cancel a running download from DC.
The actual cancel is fully handled in the underlying libdivecomputer
code. As the user may be interested in the dives downloaded up to
the moment of cancel, do not just close the download screen (as
it was before this commit). Now, the <quit> button changes to
<cancel> when the download is started, and pressing cancel, only
cancels the download and does not close the download screen, but
presents the so far downloaded data. When no download is running,
the <quit> button just quits the screen as before.
Fixes: #485
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
|
|
Trucate the logfile on open to remove any data from previous sessions.
This confused me very much, as the new logfile started from the
top, leaving old data on the bottom.
Also added system date for easy reference.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
|