Loading

CPU temperature meter pat

  1. diff -u ../cpu-temperature-meter/contents/ui/main.qml contents/ui/main.qml
  2. --- ../cpu-temperature-meter/contents/ui/main.qml   2014-04-23 13:54:32.330429208 +0200
  3. +++ contents/ui/main.qml    2014-04-23 13:54:54.227096707 +0200
  4. @@ -27,15 +27,13 @@
  5.      Text
  6.      {
  7.          id: txtTemperature
  8. -        state: "default"
  9. -        width: 32
  10. -        height: 32
  11. -
  12.          color: theme.textColor
  13.          text: temperature + "°C"
  14.          font.pointSize: theme.desktopFont.pointSize
  15.          font.bold: true
  16. -      
  17. +
  18. +        anchors.centerIn: parent
  19. +
  20.          property real temperature: 0
  21.          property real overheatLevel: 80
  22.          property color overheatColor: Qt.rgba(1, 0, 0, 1)

Comments