expt with font size

This commit is contained in:
2024-02-29 14:35:07 +01:00
parent f335663b55
commit bf08fbe488

View File

@@ -566,10 +566,11 @@ class CAQTextEntry(QLineEdit, PVGateway):
@Slot(int, int, int)
@Slot(float, int, int)
def receive_monitor_update(self, value, status, alarm_severity):
print ("FONT", self.font())
self.setFont(QFont("Sans Serif", 8))
QLineEdit.setFont(self, QFont("Sans Serif", 8))
PVGateway.receive_monitor_update(self, value, status, alarm_severity)
print ("FONT-2", self.font())
@Slot(int, str, int)
def receive_connect_update(self, handle: int, pv_name: str, status: int):
'''Triggered by connect signal'''