diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2016-01-20 22:47:58 +1100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-20 07:53:49 -0800 |
commit | 471270437b47926afcdf1ff67ab817bc179b8bf4 (patch) | |
tree | 3998dc3b800ead975c094487a89414ac6045ab23 /qt-mobile/qml/DownloadFromDiveComputer.qml | |
parent | f3f79309d35b52788ea9b1ab0d5728c77b7eb330 (diff) | |
download | subsurface-471270437b47926afcdf1ff67ab817bc179b8bf4.tar.gz |
QML UI: make all buttons more attractive
Commit f3f7930 introduced a more attractive button style to the start page.
This patch turns it into its own type so it can easily be used everywhere.
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DownloadFromDiveComputer.qml')
-rw-r--r-- | qt-mobile/qml/DownloadFromDiveComputer.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qt-mobile/qml/DownloadFromDiveComputer.qml b/qt-mobile/qml/DownloadFromDiveComputer.qml index d23754407..a401d5712 100644 --- a/qt-mobile/qml/DownloadFromDiveComputer.qml +++ b/qt-mobile/qml/DownloadFromDiveComputer.qml @@ -36,7 +36,7 @@ Item { RowLayout { Layout.fillWidth: true TextField { Layout.fillWidth: true } - Button { text: "..." } + SubsurfaceButton { text: "..." } } GridLayout { columns: 2 @@ -51,7 +51,7 @@ Item { RowLayout { Layout.fillWidth: true ProgressBar { Layout.fillWidth: true } - Button { text: "Download" } + SubsurfaceButton { text: "Download" } } } } @@ -62,10 +62,10 @@ Item { Text { text: "Downloaded dives" } - Button { + SubsurfaceButton { text: "Select All" } - Button { + SubsurfaceButton { text: "Unselect All" } } @@ -77,14 +77,14 @@ Item { } RowLayout { width: parent.width - Button { + SubsurfaceButton { text: "OK" onClicked: { stackView.pop(); } } - Button { + SubsurfaceButton { text: "Cancel" onClicked: { |