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

[*] DapNetworkPopup.qml

parent bc037ea0
No related branches found
No related tags found
3 merge requests!226Added logging of information about the command to the Service.,!225Added logging of information about the command to the Service.,!166features-4566
Pipeline #5826 failed with stage
in 1 second
...@@ -39,6 +39,16 @@ Popup { ...@@ -39,6 +39,16 @@ Popup {
contentItem: Item { contentItem: Item {
id: contentItem id: contentItem
property font font1: Qt.font({
family: quicksandFonts.medium12,
pixelSize: 12 * quicksandFonts.dapFactor,
bold: true
})
property font font2: Qt.font({
family: quicksandFonts.medium12,
pixelSize: 12 * quicksandFonts.dapFactor
})
implicitWidth: columnItem.width implicitWidth: columnItem.width
implicitHeight: columnItem.height implicitHeight: columnItem.height
...@@ -61,12 +71,12 @@ Popup { ...@@ -61,12 +71,12 @@ Popup {
RowLayout { RowLayout {
Text { Text {
font: quicksandFonts.medium12 font: contentItem.font1
color: "#070023" color: "#070023"
text: qsTr("State: ") text: qsTr("State: ")
} }
Text { Text {
font: quicksandFonts.medium12 font: contentItem.font2
color: "#070023" color: "#070023"
elide: Text.ElideRight elide: Text.ElideRight
text: control.state text: control.state
...@@ -79,12 +89,12 @@ Popup { ...@@ -79,12 +89,12 @@ Popup {
RowLayout { RowLayout {
Text { Text {
font: quicksandFonts.medium12 font: contentItem.font1
color: "#070023" color: "#070023"
text: qsTr("Target state: ") text: qsTr("Target state: ")
} }
Text { Text {
font: quicksandFonts.medium12 font: contentItem.font2
color: "#070023" color: "#070023"
elide: Text.ElideRight elide: Text.ElideRight
text: control.targetState text: control.targetState
...@@ -97,12 +107,12 @@ Popup { ...@@ -97,12 +107,12 @@ Popup {
RowLayout { RowLayout {
Text { Text {
font: quicksandFonts.medium12 font: contentItem.font1
color: "#070023" color: "#070023"
text: qsTr("Active links: ") text: qsTr("Active links: ")
} }
Text { Text {
font: quicksandFonts.medium12 font: contentItem.font2
color: "#070023" color: "#070023"
elide: Text.ElideRight elide: Text.ElideRight
text: control.activeLinksCount + qsTr(" from ") + control.linksCount text: control.activeLinksCount + qsTr(" from ") + control.linksCount
...@@ -116,12 +126,12 @@ Popup { ...@@ -116,12 +126,12 @@ Popup {
RowLayout { RowLayout {
Text { Text {
id: textAddress id: textAddress
font: quicksandFonts.medium12 font: contentItem.font1
color: "#070023" color: "#070023"
text: qsTr("Address: ") text: qsTr("Address: ")
} }
Text { Text {
font: quicksandFonts.medium12 font: contentItem.font2
color: "#070023" color: "#070023"
elide: Text.ElideRight elide: Text.ElideRight
text: control.nodeAddress text: control.nodeAddress
......
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