File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <MonitorWidget> :
2+ orientation: " horizontal"
3+ size_hint_y: None
4+ height: " 40dp"
5+
6+ Label:
7+ text: root.title
8+ size_hint_x: 0.6
9+
10+ Label:
11+ text: root.value
12+ size_hint_x: 0.4
13+
14+
115<RootWidget> :
216 orientation: " vertical"
317 padding: 20
418 spacing: 20
519
620 Label:
721 text: " KingWatch Pro"
8- font_size: " 28sp "
22+ font_size: " 30sp "
923 bold: True
1024
11- Label:
12- text: " CPU Monitor"
25+ MonitorWidget:
26+ id : cpu_widget
27+ title: " CPU Monitor"
1328
14- Label:
15- text: " RAM Monitor"
29+ MonitorWidget:
30+ id : ram_widget
31+ title: " RAM Monitor"
1632
17- Label:
18- text: " Battery Monitor"
33+ MonitorWidget:
34+ id : battery_widget
35+ title: " Battery Monitor"
1936
20- Label:
21- text: " Network Monitor"
37+ MonitorWidget:
38+ id : network_widget
39+ title: " Network Monitor"
40+
41+ MonitorWidget:
42+ id : storage_widget
43+ title: " Storage Monitor"
44+
45+ MonitorWidget:
46+ id : temp_widget
47+ title: " Thermal Monitor"
2248
2349 Button:
2450 text: " Refresh"
2551 size_hint_y: None
26- height: " 50dp"
52+ height: " 50dp"
53+ on_press: root.update_stats()
You can’t perform that action at this time.
0 commit comments