Format QML files
This commit is contained in:
parent
de76489a2c
commit
1c13908381
|
@ -460,7 +460,7 @@ ColumnLayout {
|
|||
IconLabel {
|
||||
Layout.leftMargin: 10
|
||||
iconSource: plasmoid.nativeInterface.loadFontAwesomeIcon(
|
||||
"cloud-download-alt")
|
||||
"cloud-download-alt")
|
||||
iconOpacity: plasmoid.nativeInterface.hasIncomingTraffic ? 1.0 : 0.5
|
||||
text: plasmoid.nativeInterface.incomingTraffic
|
||||
tooltip: qsTr("Global incoming traffic")
|
||||
|
@ -480,7 +480,7 @@ ColumnLayout {
|
|||
IconLabel {
|
||||
Layout.leftMargin: 10
|
||||
iconSource: plasmoid.nativeInterface.loadFontAwesomeIcon(
|
||||
"cloud-upload-alt")
|
||||
"cloud-upload-alt")
|
||||
iconOpacity: plasmoid.nativeInterface.hasOutgoingTraffic ? 1.0 : 0.5
|
||||
text: plasmoid.nativeInterface.outgoingTraffic
|
||||
tooltip: qsTr("Global outgoing traffic")
|
||||
|
|
|
@ -15,7 +15,8 @@ RowLayout {
|
|||
tooltip: context + qsTr(" files")
|
||||
}
|
||||
IconLabel {
|
||||
iconSource: plasmoid.nativeInterface.loadFontAwesomeIcon("folder", false)
|
||||
iconSource: plasmoid.nativeInterface.loadFontAwesomeIcon("folder",
|
||||
false)
|
||||
text: statistics.dirs !== undefined ? statistics.dirs : "?"
|
||||
tooltip: context + qsTr(" directories")
|
||||
}
|
||||
|
|
|
@ -9,6 +9,9 @@ MouseArea {
|
|||
id: timer
|
||||
interval: 1000
|
||||
running: parent.containsMouse && parent.tooltip.length !== 0
|
||||
onTriggered: ControlsPrivate.Tooltip.showText(parent, Qt.point(parent.mouseX, parent.mouseY), parent.tooltip)
|
||||
onTriggered: ControlsPrivate.Tooltip.showText(parent,
|
||||
Qt.point(parent.mouseX,
|
||||
parent.mouseY),
|
||||
parent.tooltip)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue