mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f3f79309d3
commit
471270437b
8 changed files with 40 additions and 31 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue