From aed723cabc68ad027eea0ce02326f02d476ef929 Mon Sep 17 00:00:00 2001 From: Akashdeep Dhar Date: Dec 05 2021 03:53:32 +0000 Subject: Rework UI assets to rigidly set font-face info Prevent changing on the basis of system-wide font size change Signed-off-by: Akashdeep Dhar --- diff --git a/obserware/assets/uifiles/cputwdgt.ui b/obserware/assets/uifiles/cputwdgt.ui index d1ba763..7196f44 100644 --- a/obserware/assets/uifiles/cputwdgt.ui +++ b/obserware/assets/uifiles/cputwdgt.ui @@ -95,9 +95,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Time spent in @@ -172,9 +177,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + #CPU @@ -242,9 +252,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Executing normal processes in user mode: TTTTTs (XXX%) @@ -278,9 +293,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Executing prioritized processes in user mode: TTTTTs (XXX%) @@ -314,9 +334,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Executing processes in kernel mode: TTTTTs (XXX%) @@ -350,9 +375,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Doing absolutely nothing: TTTTTs (XXX%) @@ -386,9 +416,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Waiting for I/O operations to complete: TTTTTs (XXX%) @@ -422,9 +457,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Servicing hardware interrupts: TTTTTs (XXX%) @@ -458,9 +498,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Servicing software interrupts: TTTTTs (XXX%) @@ -494,9 +539,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Running other OSes in a virtualized environment: TTTTTs (XXX%) @@ -530,9 +580,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Running a normal virtual CPU for guest OS on Linux kernel: TTTTTs (XXX%) @@ -566,9 +621,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + Running a prioritized virtual CPU for guest OS on Linux kernel: TTTTTs (XXX%) diff --git a/obserware/assets/uifiles/cyclwdgt.ui b/obserware/assets/uifiles/cyclwdgt.ui index bc5e6c2..a3bf6e2 100644 --- a/obserware/assets/uifiles/cyclwdgt.ui +++ b/obserware/assets/uifiles/cyclwdgt.ui @@ -111,9 +111,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + MIN: MIN_FREQUENCY, MAX: MAX_FREQUENCY @@ -147,11 +152,14 @@ color: #008080; - JetBrains Mono + 10 + false + false - color: #008080; + font: 10pt "JetBrains Mono"; +color: #008080; 000 @@ -230,9 +238,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + #CPU diff --git a/obserware/assets/uifiles/cyclwind.ui b/obserware/assets/uifiles/cyclwind.ui index bdce0e2..d6e4c78 100644 --- a/obserware/assets/uifiles/cyclwind.ui +++ b/obserware/assets/uifiles/cyclwind.ui @@ -204,9 +204,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + CPU times statistics diff --git a/obserware/assets/uifiles/lgptwind.ui b/obserware/assets/uifiles/lgptwind.ui index a5336f0..bbf6ee4 100644 --- a/obserware/assets/uifiles/lgptwind.ui +++ b/obserware/assets/uifiles/lgptwind.ui @@ -34,7 +34,15 @@ MainWindow - + + + + 0 + 0 + 640 + 320 + + 0 @@ -117,9 +125,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + QAbstractItemView::NoEditTriggers diff --git a/obserware/assets/uifiles/mainwind.ui b/obserware/assets/uifiles/mainwind.ui index fb161b7..7ed10ff 100644 --- a/obserware/assets/uifiles/mainwind.ui +++ b/obserware/assets/uifiles/mainwind.ui @@ -263,6 +263,9 @@ margin-bottom: 0px; 15 + + font: 10pt "Inter"; + Used @@ -364,6 +367,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Cached @@ -523,6 +529,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Free @@ -651,6 +660,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Used @@ -717,6 +729,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Free @@ -984,6 +999,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Context switches @@ -1112,6 +1130,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Interrupts since boot @@ -1209,6 +1230,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Software interrupts @@ -1306,6 +1330,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + System calls @@ -1337,6 +1364,9 @@ color: #008080; 20 + + font: 10pt "Inter"; + CPU cycles @@ -1472,6 +1502,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Slab @@ -1631,6 +1664,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Shared @@ -1662,6 +1698,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Buffers @@ -1693,6 +1732,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Active @@ -1759,6 +1801,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Free @@ -1856,6 +1901,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Cached @@ -1887,6 +1935,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Total @@ -2050,6 +2101,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Used @@ -2147,6 +2201,9 @@ color: #008080; 20 + + font: 10pt "Inter"; + Storage counters @@ -2178,6 +2235,9 @@ color: #008080; 20 + + font: 10pt "Inter"; + Network statistics @@ -2375,6 +2435,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Swapped out @@ -2406,6 +2469,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Swapped in @@ -2437,6 +2503,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Total @@ -2499,6 +2568,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Free @@ -2662,6 +2734,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Used @@ -2759,6 +2834,9 @@ color: #008080; 20 + + font: 10pt "Inter"; + Physical partitions @@ -2790,6 +2868,9 @@ color: #008080; 20 + + font: 10pt "Inter"; + Logical partitions @@ -2833,6 +2914,9 @@ color: #008080; 420 + + font: 10pt "Inter"; + Qt::ScrollBarAlwaysOn @@ -3103,6 +3187,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Name @@ -3231,6 +3318,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Version @@ -3297,6 +3387,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Booted on @@ -3460,6 +3553,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Hostname @@ -3491,6 +3587,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Release @@ -3557,6 +3656,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Rendition @@ -3788,6 +3890,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Name @@ -3850,6 +3955,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Vendor @@ -4013,6 +4121,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Bits @@ -4079,6 +4190,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Arch @@ -4207,6 +4321,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Count @@ -4238,6 +4355,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Model @@ -4269,6 +4389,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Family @@ -4370,6 +4493,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Stepping @@ -4502,6 +4628,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Frequency @@ -4729,6 +4858,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Psutil version @@ -4795,6 +4927,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Distro version @@ -4826,6 +4961,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Py-CPUinfo version @@ -4857,6 +4995,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + PyQt version @@ -5024,6 +5165,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Python version @@ -5186,6 +5330,9 @@ color: #008080; 15 + + font: 10pt "Inter"; + Obserware version @@ -5251,6 +5398,9 @@ color: #008080; 170 + + font: 10pt "Inter"; + @@ -5501,6 +5651,9 @@ color: #008080; 200 + + font: 10pt "Inter"; + <html><head/><body><p align="center">Copyright © 2021 <a href="https://twitter.com/ace1999dhar"><span style=" text-decoration: underline; color:#0000ff;">Akashdeep Dhar</span></a></p><p align="center">This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p><p align="center">This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the <a href="https://gitlab.com/t0xic0der/obserware/-/blob/main/LICENSE"><span style=" text-decoration: underline; color:#0000ff;">GNU General Public License</span></a> for more details.</p><p align="center">The source code of the project can be found <a href="https://gitlab.com/t0xic0der/obserware"><span style=" text-decoration: underline; color:#0000ff;">here</span></a>. Please feel free to give stars to the repository and contribute to its development if you found the project useful. This program makes use of <a href="https://fontawesome.com/"><span style=" text-decoration: underline; color:#0000ff;">FontAwesome</span></a>, under the <a href="https://creativecommons.org/licenses/by/4.0/"><span style=" text-decoration: underline; color:#0000ff;">CC BY 4.0 license</span></a>. The license statement can be found <a href="https://fontawesome.com/license"><span style=" text-decoration: underline; color:#0000ff;">here</span></a>.</p></body></html> diff --git a/obserware/assets/uifiles/phptwind.ui b/obserware/assets/uifiles/phptwind.ui index 995d204..d5ef9c3 100644 --- a/obserware/assets/uifiles/phptwind.ui +++ b/obserware/assets/uifiles/phptwind.ui @@ -34,7 +34,15 @@ MainWindow - + + + + 0 + 0 + 640 + 320 + + 0 @@ -117,9 +125,14 @@ color: #008080; - Inter + 10 + false + false + + font: 10pt "Inter"; + QAbstractItemView::NoEditTriggers diff --git a/obserware/assets/uifiles/procwind.ui b/obserware/assets/uifiles/procwind.ui index 381d463..e810efd 100644 --- a/obserware/assets/uifiles/procwind.ui +++ b/obserware/assets/uifiles/procwind.ui @@ -34,7 +34,15 @@ MainWindow - + + + + 0 + 0 + 320 + 480 + + 0