11 lines
410 B
Python
11 lines
410 B
Python
from PySide6.QtWidgets import QMessageBox
|
|
|
|
@staticmethod
|
|
class MessageHandler():
|
|
def ShowNoDevicesFoundError(self):
|
|
msg = QMessageBox()
|
|
msg.setWindowTitle("LiquidGUI Error")
|
|
msg.setText("No suitable devices could be detected. Please ensure you have a cooler \
|
|
compatible with LiquidCTL, and connected to the system.")
|
|
msg.setIcon(QMessageBox.Icon.Warning)
|
|
msg.exec() |