mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 12:30:10 +00:00
Added new checkbox checked icon
This commit is contained in:
parent
5cd38c5aa7
commit
5028491ab3
3 changed files with 4 additions and 5 deletions
|
@ -55,7 +55,7 @@ RowLayout {
|
||||||
radius: 3
|
radius: 3
|
||||||
y: 0
|
y: 0
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
border.color: Qt.rgba(1, 1, 1, 0.25)
|
border.color: checkBox.checked ? Qt.rgba(1, 1, 1, 0.35) : Qt.rgba(1, 1, 1, 0.25)
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
@ -69,8 +69,8 @@ RowLayout {
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
source: checkBox.checked ? checkBox.checkedIcon :
|
source: checkBox.checkedIcon
|
||||||
checkBox.uncheckedIcon
|
visible: checkBox.checked
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
|
BIN
images/checkedIcon-black.png
Executable file
BIN
images/checkedIcon-black.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
|
@ -399,8 +399,7 @@ Rectangle {
|
||||||
persistentSettings.transferShowAdvanced = !persistentSettings.transferShowAdvanced
|
persistentSettings.transferShowAdvanced = !persistentSettings.transferShowAdvanced
|
||||||
}
|
}
|
||||||
text: qsTr("Show advanced options") + translationManager.emptyString
|
text: qsTr("Show advanced options") + translationManager.emptyString
|
||||||
checkedIcon: "../images/checkedVioletIcon.png"
|
checkedIcon: "../images/checkedIcon-black.png"
|
||||||
uncheckedIcon: "../images/uncheckedIcon.png"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue