linuswck
9acff86547
- Bugs fix: 1. Params Tree user input will not get overwritten by incoming report thermostat_data_model. 2. PID Autotune Sampling Period is now set according to Thermostat sampling interval 3. PID Autotune won't get stuck in Fail State 4. Various types disconnection related Bugs 5. Number of Samples stored in the plot cannot be set 6. Limit the max settable output current to be 2000mA - Improvement: 1. Params Tree settings can be changed with external json 2. Use a Tab system to show a single channel of config instead of two 3. Expose PID Autotune lookback params 4. Icon is changed to Artiq logo - Restructure: 1. Restructure the code to follow Model-View-Delegate Design Pattern
15 lines
371 B
Python
15 lines
371 B
Python
from PyQt6 import QtWidgets
|
|
from PyQt6.QtCore import pyqtSlot
|
|
|
|
|
|
class info_box(QtWidgets.QMessageBox):
|
|
def __init__(self):
|
|
super().__init__()
|
|
self.setIcon(QtWidgets.QMessageBox.Icon.Information)
|
|
|
|
@pyqtSlot(str, str)
|
|
def display_info_box(self, title, text):
|
|
self.setWindowTitle(title)
|
|
self.setText(text)
|
|
self.show()
|