heat_transfer_gui.py
def show_error_dialog_to_user(self, error_message: str) -> None:
        """
        Displays a separate dialog (alert) informing user of something bad, like
            invalid user input or simulation errors.

        Args:
            error_message ... what should be shown to the user
        """

        print(error_message)

        msg = QMessageBox()
        msg.setIcon(QMessageBox.Critical)
        msg.setText("Error")
        msg.setWindowTitle("Error")
        msg.setInformativeText(error_message)
        msg.exec_()

        Displays a separate dialog (alert) informing user of something bad, like
            invalid user input or simulation errors.

        Args:
            error_message ... what should be shown to the user
        
Displays a separate dialog (alert) informing user of something bad, like
invalid user input or simulation errors.


Displays a separate dialog ( alert ) informing user of something bad like invalid user input or simulation errors .
def show_error_dialog_to_user(self, error_message: str) -> None:
        print(error_message)
        msg = QMessageBox()
        msg.setIcon(QMessageBox.Critical)
        msg.setText("Error")
        msg.setWindowTitle("Error")
        msg.setInformativeText(error_message)
        msg.exec_()
def show_error_dialog_to_user ( self , error_message : str ) -> None : print ( error_message ) msg = QMessageBox ( ) msg . setIcon ( QMessageBox . Critical ) msg . setText ( "Error" ) msg . setWindowTitle ( "Error" ) msg . setInformativeText ( error_message ) msg . exec_ ( )
Displays a separate dialog (alert) informing user of something bad, like
invalid user input or simulation errors.
Displays a separate dialog ( alert ) informing user of something bad like invalid user input or simulation errors .
"""
        Displays a separate dialog (alert) informing user of something bad, like
            invalid user input or simulation errors.

        Args:
            error_message ... what should be shown to the user
        """
self
error_message
str