Skip to content

Commit

Permalink
impact font gone
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuss200 committed Dec 1, 2023
1 parent 9430c0b commit 5117d82
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions modules/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def __init__(mainWindow):
}
""")

mainWindow.emotionReading.setStyleSheet("font-size: 28px; font-family: impact, sans-serif; ")
mainWindow.emotionReading.setStyleSheet("font-size: 28px; ")

frameCounter+=1
print(frameCounter)
Expand Down Expand Up @@ -704,19 +704,19 @@ def finishScan(mainWindow):

#average comp stats

infoAveText = "CPU Usage: " + str(round(state.sumdict["cpu_percent"]/32,2)) + "%"
infoAveText = "CPU Usage: " + str(round(state.avg_stat_value("cpu_percent"),2)) + "%"
mainWindow.cpuInfo.setText(infoAveText)
totalAveText = infoAveText

infoAveText = "CPU Speed: " + str(round(state.sumdict["cpu_freq"]/32, 2)) + " Hz"
infoAveText = "CPU Speed: " + str(round(state.avg_stat_value("cpu_freq"),2)) + " Hz"
mainWindow.cpuFreq.setText(infoAveText)
totalAveText = totalAveText + "\n" + infoAveText

infoAveText = "RAM Usage: " + str(round(state.sumdict["ram_percent"]/32,2)) + "%"
infoAveText = "RAM Usage: " + str(round(state.avg_stat_value("ram_percent"),2)) + "%"
mainWindow.ramInfo.setText(infoAveText)
totalAveText = totalAveText + "\n" + infoAveText

infoAveText = "RAM Swap: " + str(round(state.sumdict["swap_percent"]/32,2)) + "%"
infoAveText = "RAM Swap: " + str(round(state.avg_stat_value("swap_percent"),2)) + "%"
mainWindow.swapInfo.setText(infoAveText)
totalAveText = totalAveText + "\n" + infoAveText

Expand All @@ -730,7 +730,7 @@ def finishScan(mainWindow):
scanFull = scanInt + scanText

mainWindow.emotionReading_sc.setText(scanFull)
mainWindow.emotionReading_sc.setStyleSheet("font-size: 28px; font-family: impact, sans-serif; ")
mainWindow.emotionReading_sc.setStyleSheet("font-size: 28px; ")

timer_screenShot = tasks.screenShotTimer(mainWindow)
timer_screenShot.timeout.connect(lambda: mainWindow.scanSc())
Expand Down Expand Up @@ -842,7 +842,7 @@ def setDictToUI(mainWindow):
emotionFull = emotionInt + emotionText

mainWindow.emotionReading.setText(emotionFull)
mainWindow.emotionReading.setStyleSheet("font-size: 28px; font-family: impact, sans-serif; ")
mainWindow.emotionReading.setStyleSheet("font-size: 28px;")

#this section is for compiling each line of text, and setting the strings to good variables
infoText = "CPU Usage: " + str(state.cpudict["cpu_percent"]) + "%"
Expand Down

0 comments on commit 5117d82

Please sign in to comment.