mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 10:14:45 +00:00
parent
d2bb2fd97a
commit
711b0c8136
1 changed files with 8 additions and 8 deletions
|
|
@ -102,25 +102,25 @@ Item {
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
console.log(ofonoManager.modems)
|
console.log(ofonoManager.modems)
|
||||||
}
|
}
|
||||||
//modemPath: ofonoManager.modems[0]
|
modemPath: ofonoManager.modems[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
OfonoModem {
|
OfonoModem {
|
||||||
id: modem1
|
id: modem1
|
||||||
//modemPath: ofonoManager.modems[0]
|
modemPath: ofonoManager.modems[0]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OfonoContextConnection {
|
OfonoContextConnection {
|
||||||
id: context1
|
id: context1
|
||||||
//contextPath : ofono1.contexts[0]
|
contextPath : ofono1.contexts[0]
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
print("Context Active: " + context1.active)
|
print("Context Active: " + context1.active)
|
||||||
//textLine.text = context1.active ? "online" : "offline"
|
textLine.text = context1.active ? "online" : "offline"
|
||||||
}
|
}
|
||||||
onActiveChanged: {
|
onActiveChanged: {
|
||||||
print("Context Active: " + context1.active)
|
print("Context Active: " + context1.active)
|
||||||
//textLine.text = context1.active ? "online" : "offline"
|
textLine.text = context1.active ? "online" : "offline"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -322,9 +322,9 @@ Item {
|
||||||
left: strengthIcon.right
|
left: strengthIcon.right
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
//text: netreg.strength + "% " + (ofonoManager.available ? netreg.currentOperator["Name"].toString() :"Ofono not available")
|
text: netreg.strength + "% " + (ofonoManager.available ? netreg.currentOperator["Name"].toString() :"Ofono not available")
|
||||||
color: "white"
|
color: "white"
|
||||||
//font.pixelSize: height / 2
|
font.pixelSize: height / 2
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
id: clock
|
id: clock
|
||||||
|
|
@ -333,7 +333,7 @@ Item {
|
||||||
color: "white"
|
color: "white"
|
||||||
horizontalAlignment: Qt.AlignHCenter
|
horizontalAlignment: Qt.AlignHCenter
|
||||||
verticalAlignment: Qt.AlignVCenter
|
verticalAlignment: Qt.AlignVCenter
|
||||||
//font.pixelSize: height / 2
|
font.pixelSize: height / 2
|
||||||
}
|
}
|
||||||
MouseArea {
|
MouseArea {
|
||||||
property int oldMouseY: 0
|
property int oldMouseY: 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue