gui/gui_mainLayout.py
def display_error_message(self):
        """
        This function displays an error message when a wrong value is typed.
        """
        self.ui.error_label.setScaledContents(True)  # Warning image shown.
        self.ui.error_text_label.show()  # Warning message shown.
        self.ui.error_text_label.setStyleSheet('color: red')
def display_error_message(self):
        """
        This function displays an error message when a wrong value is typed.
        """
        self.ui.error_label.setScaledContents(True)  # Warning image shown.
        self.ui.error_text_label.show()  # Warning message shown.
        self.ui.error_text_label.setStyleSheet('color: red')
def display_error_message ( self ) : self . ui . error_label . setScaledContents ( True ) # Warning image shown. self . ui . error_text_label . show ( ) # Warning message shown. self . ui . error_text_label . setStyleSheet ( 'color: red' )
This function displays an error message when a wrong value is typed.
This function displays an error message when a wrong value is typed .