summaryrefslogtreecommitdiff
path: root/modules/bar/popouts/Network.qml
blob: 7a79ef15577d45e6644c03e7404128353f711a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import "root:/widgets"
import "root:/services"
import "root:/config"
import QtQuick

Column {
    id: root

    spacing: Appearance.spacing.normal

    StyledText {
        text: qsTr("Connected to: %1").arg(Network.active?.ssid ?? "None")
    }

    StyledText {
        text: qsTr("Strength: %1/100").arg(Network.active?.strength ?? 0)
    }

    StyledText {
        text: qsTr("Frequency: %1 MHz").arg(Network.active?.frequency ?? 0)
    }
}