Age | Commit message (Collapse) | Author |
|
This sets the color of the action side-buttons to the same color as the overlay drawer.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
The connection already clearly defines whether this is Bluetooth or not.
No reason for the separate checkbox.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Also style all three drop downs the same (otherwise the left edge of the
text doesn't align).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
We now actually handle connections in a sane manner and don't need
that workaround anymore.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
|
|
I wonder if we even need this anymore at all as the connection
clearly determines whether this is a BT download or not.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
If we can't find a match, just leave it unchanged. This way, if we
mis-recognize a device, the user can correct the product (or even
vendor) without losing the correct connection.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Add styling to the GPS fixes page.
The background color of the swipe list objects is wrong and also the icon overlay. This is a Kirigami issue.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
In order for the theme styilng to work we need the materials definitions.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
This was fixed in my local tree but I forgot to amend the commit
before pushing it out. Oops.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Simple typo.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
The built in theme in Kirigami has special variables for sertain objects, this sets the correct color for each object to match our themes.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
THe editable textboxes rely on the material theme to set the correct colors. This sets the appropriate colors for each theme.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
This adds separate colors for the overlay drawer background for light and dark themes.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
This adds style to the GPS services checkbox so that it matches the theme.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
This sets the checkboxes in the dive computer download dialog to match the rest of the theme.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Email addresses are checked for a someone useful pattern, passwords are
letters, numbers, and +-_. only. Reject anything else.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
This hides the text for the map it button if ther are no coordinates for a dive. Needed as for the dark theme the map it text was still visible.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
This changes the pink primary color to match the tone of the blue primary color.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
This adds the right handle icon that is needed for the swipe list items not to report an error when activated.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
This sets the background color to the recommended hue for dark themes.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Right now we need to restart Subsurface-mobile in order to detect
Bluetooth devices - so simply turning on BT after Subsurface-mobile was
started is not sufficient.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
No code change at all.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
This commit only has the actual changes, the next commit will clean up
the white space in order to make it more obvious what was done.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
It seemed cleanest and easiest to have this in the QMLManager and
not in the DCDownload object.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
The trick is to pick a path that is accessible from other applications.
In theory QStandardPaths::GenericDataLocation should provide that.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
These buttons only work when we successfully downloaded a dive. Also, don't
show a list of dives when there are no dives.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
To be shared between C/C++ and QML code in order to show the updates
and potential error messages from libdivecomputer.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
This should make it easier to tell how far we get downloading data
from dive computers.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Style the gps checkbos on the dive edit page so it follows
theme coloring.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
This styles the radio buttons in the preferences pane
so they follows the theme colors.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Style the checkbox to the themes primary color
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Change the accent colors in the dive details view
to match the theme colors.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Style the button in the DC download dialog so they follow
the theme colors.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Make the "map it" button follow the theme color.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
|
|
Thanks to Davide for paying for professional icon design.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
This way the AppLog starts with the name and version of Subsurface-mobile.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
The title was hidden under the title bar, anyway.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Latest Kirigami master allows us to turn off reachability mode. In
general this had been rather confusing to our users and it seems to
somewhat conflict with the pull down to refresh of the dive list.
Latest Kirigami also changes the behavior of refresh slightly, you now
need to pull "down" for at least 500ms before it triggers. So, with this
change and the latest Kirigami, hopefully the user experience for
refresh is good enough that we can consider keeping it enabled and use
it as an equivalent to manual sync (even in offline mode).
See #454
See #456
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Fast flicking to the top of the divelist triggers almost certainly a
pull down sync, as the default boundBehavior is DragAndOvershootBounds.
Despite being the default QML action, this leads to unwanted pull
down syncs (even in offline mode).
Setting the boundBehavior to DragOverBounds solves this issue. Now,
the user has to explicitly drag the top down to force a pull down
sync, and a accidental fast flick is stopped at the upper bound.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
|
|
Now that we support this for many dive computers, that seem reasonable.
I'm not happy with the icon, but couldn't figure out a better one in the
breeze icon set.
See #426
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
So it doesn't conflict with the hamburger menu button / opening the
global drawer.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|
|
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
|