aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
AgeCommit message (Collapse)Author
2017-07-18QML UI: set the color of the action side-buttonsGravatar Joakim Bygdell
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>
2017-07-18QML UI: Download from DC: remove Bluetooth checkboxGravatar Dirk Hohndel
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>
2017-07-18QML UI: Download from DC: smaller font for connectionGravatar Dirk Hohndel
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>
2017-07-18QML UI: remove the Paired Bluetooth Devices virtual vendorGravatar Dirk Hohndel
We now actually handle connections in a sane manner and don't need that workaround anymore. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-17Merge branch 'MobileUI' of git://github.com/jbygdell/subsurfaceGravatar Dirk Hohndel
2017-07-17QML UI: automatically set the Bluetooth checkboxGravatar Dirk Hohndel
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>
2017-07-17QML UI: only change connection when finding a matchGravatar Dirk Hohndel
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>
2017-07-16QML UI: show the connection choices in Download UIGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-15QML UI: style the GPS fixes pageGravatar Joakim Bygdell
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>
2017-07-15QML UI: add material theme controlsGravatar Joakim Bygdell
In order for the theme styilng to work we need the materials definitions. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-15Fix compile errorsGravatar Dirk Hohndel
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>
2017-07-15Fix typoGravatar Joakim Bygdell
Simple typo. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-15QML UI: add Kirkigami theme variablesGravatar Joakim Bygdell
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>
2017-07-15QML UI: define the material accent colors for each themeGravatar Joakim Bygdell
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>
2017-07-15QML UI: style the overlay drawerGravatar Joakim Bygdell
This adds separate colors for the overlay drawer background for light and dark themes. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-15QML UI: style the GPS services checkboxGravatar Joakim Bygdell
This adds style to the GPS services checkbox so that it matches the theme. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-15QML UI: style the DC download dialogGravatar Joakim Bygdell
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>
2017-07-14QML UI: enforce rules for cloud credentialsGravatar Dirk Hohndel
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>
2017-07-14QML UI: Hide map it text if no coordinates existsGravatar Joakim Bygdell
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>
2017-07-14QML UI: Change the pink colorGravatar Joakim Bygdell
This changes the pink primary color to match the tone of the blue primary color. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-14QML UI: Add right handle iconGravatar Joakim Bygdell
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>
2017-07-14QML UI: Don't use black for dark themeGravatar Joakim Bygdell
This sets the background color to the recommended hue for dark themes. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-12QML UI: only offer BT checkbox if BT is availableGravatar Dirk Hohndel
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>
2017-07-12QML UI: make BT state available to QMLGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-09Whitespace changeGravatar Dirk Hohndel
No code change at all. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-09QML UI: make Preferences page scrollableGravatar Dirk Hohndel
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>
2017-07-09QML UI: correctly wrap devinfo messageGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-09QML UI: actually write libdc logfileGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-09QML UI: add preference for libdivecomputer logGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-09QML UI: add variable for libdc logfileGravatar Dirk Hohndel
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>
2017-07-09QML UI: fix typo in color valuesGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-09Android: write appLog to fileGravatar Dirk Hohndel
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>
2017-07-09QML UI: show progress messages on the download pageGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-09QML UI: Download from DC: disable misleading UI elementsGravatar Dirk Hohndel
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>
2017-07-09QML UI: add progress message variableGravatar Dirk Hohndel
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>
2017-07-09QML UI: add dev_info data to AppLogGravatar Dirk Hohndel
This should make it easier to tell how far we get downloading data from dive computers. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-09QML UI: Style the gps checkboxGravatar Joakim Bygdell
Style the gps checkbos on the dive edit page so it follows theme coloring. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-09QML UI: Style the radio buttonsGravatar Joakim Bygdell
This styles the radio buttons in the preferences pane so they follows the theme colors. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-09QML UI: Style the BT download checkboxGravatar Joakim Bygdell
Style the checkbox to the themes primary color Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-09QML UI: Style Dive Details ViewGravatar Joakim Bygdell
Change the accent colors in the dive details view to match the theme colors. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-09QML UI: Style DC download buttonsGravatar Joakim Bygdell
Style the button in the DC download dialog so they follow the theme colors. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-09QML UI: Proper button colorGravatar Joakim Bygdell
Make the "map it" button follow the theme color. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
2017-07-08QML UI: better icon for download from dive computerGravatar Dirk Hohndel
Thanks to Davide for paying for professional icon design. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-06QML UI: start BT discovery a tiny bit laterGravatar Dirk Hohndel
This way the AppLog starts with the name and version of Subsurface-mobile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-07-06QML UI: drop AppLog title and add margin insteadGravatar Dirk Hohndel
The title was hidden under the title bar, anyway. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-06-29QML UI: disable reachability modeGravatar Dirk Hohndel
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>
2017-06-29QML UI: only drag a pull down sync, and not flick itGravatar Jan Mulder
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>
2017-06-27QML UI: DiveList: make download from DC main actionGravatar Dirk Hohndel
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>
2017-06-25QML UI: Download from DC: move accept button to the rightGravatar Dirk Hohndel
So it doesn't conflict with the hamburger menu button / opening the global drawer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-06-25QML UI: Download from DC: avoid assignments of undefined valuesGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>