Add more behavior with the local test env.

This commit is contained in:
stilobique committed 2026-11-08 11:39:27 +01:00
1 parent acb58142d9
commit df847becc8
10 files changed
+450 -114

No files matched your search

+1 -24
View File
@@ -7,7 +7,6 @@ Rectangle {
property string name: ""
property string address: ""
property bool discovered: false
property bool highlighted: false
signal clicked()
@@ -42,7 +41,7 @@ Rectangle {
anchors {
left: icon.right
leftMargin: Theme.spacingM
right: root.discovered ? tag.left : parent.right
right: parent.right
rightMargin: Theme.spacingM
verticalCenter: parent.verticalCenter
}
@@ -65,28 +64,6 @@ Rectangle {
}
}
Rectangle {
id: tag
visible: root.discovered
anchors {
right: parent.right
rightMargin: Theme.spacingM
verticalCenter: parent.verticalCenter
}
width: tagText.implicitWidth + Theme.spacingM
height: tagText.implicitHeight + Theme.spacingS
radius: height / 2
color: Theme.accentAlt
Text {
id: tagText
anchors.centerIn: parent
text: "Réseau local"
color: Theme.text
font.pixelSize: Theme.fontSmall
}
}
MouseArea {
anchors.fill: parent
onClicked: root.clicked()