mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-21 00:47:27 -04:00
https://trello.com/c/9ux5ftqK/48-hide-hints-functionality
This commit is contained in:
@@ -13,7 +13,7 @@ Item {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
width: 25
|
width: 25
|
||||||
radius: 4
|
//radius: 4
|
||||||
y: 0
|
y: 0
|
||||||
color: "#DBDBDB"
|
color: "#DBDBDB"
|
||||||
}
|
}
|
||||||
@@ -22,7 +22,7 @@ Item {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
width: 25
|
width: 25
|
||||||
radius: 4
|
//radius: 4
|
||||||
y: 1
|
y: 1
|
||||||
color: "#FFFFFF"
|
color: "#FFFFFF"
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ Item {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
radius: 4
|
//radius: 4
|
||||||
y: 0
|
y: 0
|
||||||
color: "#DBDBDB"
|
color: "#DBDBDB"
|
||||||
}
|
}
|
||||||
@@ -41,7 +41,7 @@ Item {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
radius: 4
|
//radius: 4
|
||||||
y: 1
|
y: 1
|
||||||
color: "#FFFFFF"
|
color: "#FFFFFF"
|
||||||
|
|
||||||
@@ -204,7 +204,7 @@ Item {
|
|||||||
color: "#FFFFFF"
|
color: "#FFFFFF"
|
||||||
height: datePicker.expanded ? calendar.height : 0
|
height: datePicker.expanded ? calendar.height : 0
|
||||||
clip: true
|
clip: true
|
||||||
radius: 4
|
//radius: 4
|
||||||
|
|
||||||
Behavior on height {
|
Behavior on height {
|
||||||
NumberAnimation { duration: 100; easing.type: Easing.InQuad }
|
NumberAnimation { duration: 100; easing.type: Easing.InQuad }
|
||||||
|
|||||||
@@ -9,14 +9,14 @@ Item {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.bottomMargin: 1
|
anchors.bottomMargin: 1
|
||||||
color: "#DBDBDB"
|
color: "#DBDBDB"
|
||||||
radius: 4
|
//radius: 4
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.topMargin: 1
|
anchors.topMargin: 1
|
||||||
color: "#FFFFFF"
|
color: "#FFFFFF"
|
||||||
radius: 4
|
//radius: 4
|
||||||
}
|
}
|
||||||
|
|
||||||
Input {
|
Input {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Item {
|
|||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
height: 24
|
height: 24
|
||||||
radius: 4
|
//radius: 4
|
||||||
color: "#DBDBDB"
|
color: "#DBDBDB"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ Item {
|
|||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 1
|
anchors.topMargin: 1
|
||||||
height: 24
|
height: 24
|
||||||
radius: 4
|
//radius: 4
|
||||||
color: "#FFFFFF"
|
color: "#FFFFFF"
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
@@ -31,7 +31,7 @@ Item {
|
|||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.margins: 4
|
anchors.margins: 4
|
||||||
radius: 2
|
//radius: 2
|
||||||
width: row.x
|
width: row.x
|
||||||
|
|
||||||
color: {
|
color: {
|
||||||
|
|||||||
@@ -8,14 +8,14 @@ Item {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: "#DBDBDB"
|
color: "#DBDBDB"
|
||||||
radius: 4
|
//radius: 4
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.topMargin: 1
|
anchors.topMargin: 1
|
||||||
color: "#FFFFFF"
|
color: "#FFFFFF"
|
||||||
radius: 4
|
//radius: 4
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Item {
|
|||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
y: buttonArea.pressed ? 0 : 1
|
y: buttonArea.pressed ? 0 : 1
|
||||||
radius: 4
|
//radius: 4
|
||||||
color: buttonArea.pressed ? parent.shadowPressedColor : parent.shadowReleasedColor
|
color: buttonArea.pressed ? parent.shadowPressedColor : parent.shadowReleasedColor
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ Item {
|
|||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
y: buttonArea.pressed ? 1 : 0
|
y: buttonArea.pressed ? 1 : 0
|
||||||
color: buttonArea.pressed ? parent.pressedColor : parent.releasedColor
|
color: buttonArea.pressed ? parent.pressedColor : parent.releasedColor
|
||||||
radius: 4
|
//radius: 4
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ Item {
|
|||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
y: dropdown.expanded || droplist.height > 0 ? 0 : 1
|
y: dropdown.expanded || droplist.height > 0 ? 0 : 1
|
||||||
color: dropdown.expanded || droplist.height > 0 ? dropdown.shadowPressedColor : dropdown.shadowReleasedColor
|
color: dropdown.expanded || droplist.height > 0 ? dropdown.shadowPressedColor : dropdown.shadowReleasedColor
|
||||||
radius: 4
|
//radius: 4
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
@@ -48,7 +48,7 @@ Item {
|
|||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
y: dropdown.expanded || droplist.height > 0 ? 1 : 0
|
y: dropdown.expanded || droplist.height > 0 ? 1 : 0
|
||||||
color: dropdown.expanded || droplist.height > 0 ? dropdown.pressedColor : dropdown.releasedColor
|
color: dropdown.expanded || droplist.height > 0 ? dropdown.pressedColor : dropdown.releasedColor
|
||||||
radius: 4
|
//radius: 4
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
@@ -135,7 +135,7 @@ Item {
|
|||||||
clip: true
|
clip: true
|
||||||
height: dropdown.expanded ? column.height : 0
|
height: dropdown.expanded ? column.height : 0
|
||||||
color: dropdown.pressedColor
|
color: dropdown.pressedColor
|
||||||
radius: 4
|
//radius: 4
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
@@ -169,7 +169,7 @@ Item {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: 30
|
height: 30
|
||||||
radius: index === repeater.count - 1 ? 4 : 0
|
//radius: index === repeater.count - 1 ? 4 : 0
|
||||||
color: itemArea.containsMouse || index === column.currentIndex || itemArea.containsMouse ? dropdown.releasedColor : dropdown.pressedColor
|
color: itemArea.containsMouse || index === column.currentIndex || itemArea.containsMouse ? dropdown.releasedColor : dropdown.pressedColor
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ Item {
|
|||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
y: dropdown.expanded || dropArea.height > 0 ? 0 : 1
|
y: dropdown.expanded || dropArea.height > 0 ? 0 : 1
|
||||||
radius: 3
|
//radius: 3
|
||||||
color: dropdown.expanded || dropArea.height > 0 ? "#888888" : "#DBDBDB"
|
color: dropdown.expanded || dropArea.height > 0 ? "#888888" : "#DBDBDB"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ Item {
|
|||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: parent.height - 1
|
height: parent.height - 1
|
||||||
y: dropdown.expanded || dropArea.height > 0 ? 1 : 0
|
y: dropdown.expanded || dropArea.height > 0 ? 1 : 0
|
||||||
radius: 3
|
//radius: 3
|
||||||
color: dropdown.expanded || dropArea.height > 0 ? "#DBDBDB" : "#F0EEEE"
|
color: dropdown.expanded || dropArea.height > 0 ? "#DBDBDB" : "#F0EEEE"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -124,7 +124,7 @@ Item {
|
|||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: 30
|
height: 30
|
||||||
color: delegateArea.containsMouse ? "#F0EEEE" : "#DBDBDB"
|
color: delegateArea.containsMouse ? "#F0EEEE" : "#DBDBDB"
|
||||||
radius: index === repeater.count - 1 ? 5 : 0
|
//radius: index === repeater.count - 1 ? 5 : 0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ Rectangle {
|
|||||||
width: content.width + 12
|
width: content.width + 12
|
||||||
height: content.height + 17
|
height: content.height + 17
|
||||||
color: "#FF6C3C"
|
color: "#FF6C3C"
|
||||||
radius: 3
|
//radius: 3
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
anchors.top: parent.bottom
|
anchors.top: parent.bottom
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ Rectangle {
|
|||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
width: height
|
width: height
|
||||||
color: appWindow.whatIsEnable || containsMouse ? "#6B0072" : "#000000"
|
color: containsMouse ? "#6B0072" : "#000000"
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
@@ -43,7 +43,9 @@ Rectangle {
|
|||||||
MouseArea {
|
MouseArea {
|
||||||
id: whatIsArea
|
id: whatIsArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked: appWindow.whatIsEnable = !appWindow.whatIsEnable
|
onClicked: {
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user