Skip to content
Snippets Groups Projects
Commit 691e8caf authored by aleksandr.ledyaev's avatar aleksandr.ledyaev
Browse files

[*] DapNetworkName.qml; DapNetworkPanelButton.qml; DapNetworkPopup.qml;

DapNetworkPopupButton.qml
parent 86f3d55d
No related branches found
No related tags found
1 merge request!11Cellframe clone
......@@ -10,8 +10,7 @@ Item {
Row {
id: row1
x: Math.floor((parent.width - width) / 2)
y: Math.floor((parent.height - height) / 2)
anchors.centerIn: parent
spacing: 8 * pt
leftPadding: spacing
rightPadding: spacing
......@@ -31,8 +30,8 @@ Item {
Rectangle {
id: indicator
y: Math.floor((parent.height - height) / 2)
width: Math.floor(textName.height * 0.5)
anchors.verticalCenter: parent.verticalCenter
width: 8 * pt
height: width
radius: width * 0.5
......
......@@ -16,6 +16,7 @@ Item {
id: img
anchors.fill: parent
sourceSize: Qt.size(control.width, control.height)
source: mouseArea.containsMouse ? control.hoverIcon : control.normalIcon
}
......
......@@ -191,9 +191,9 @@ Popup {
}
Image {
source: btnCopyAddressMouseArea.containsMouse ? "qrc:/resources/icons/ic_copy_hover.svg" : "qrc:/resources/icons/ic_copy.svg"
sourceSize: Qt.size(12 * pt, 12 * pt)
Layout.maximumWidth: Math.floor(textAddress.height * 1.1)
Layout.maximumHeight: Layout.maximumWidth
Layout.alignment: Qt.AlignVCenter
MouseArea {
id: btnCopyAddressMouseArea
......
......@@ -19,8 +19,7 @@ Rectangle {
anchors.verticalCenter: control.verticalCenter
anchors.right: _text.left
anchors.rightMargin: control.spacing
width: 24 * pt
height: 24 * pt
sourceSize: Qt.size(24 * pt, 24 * pt)
source: control.highlight ? control.iconHover : control.iconNormal
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment