69 Constructor |
69 Constructor |
70 |
70 |
71 @param parent reference to the parent widget |
71 @param parent reference to the parent widget |
72 @type QWidget |
72 @type QWidget |
73 """ |
73 """ |
74 super(E5ErrorMessage, self).__init__(parent) |
74 super().__init__(parent) |
75 |
75 |
76 def showMessage(self, message, msgType=""): |
76 def showMessage(self, message, msgType=""): |
77 """ |
77 """ |
78 Public method to show a message. |
78 Public method to show a message. |
79 |
79 |
82 @param msgType type of the error message |
82 @param msgType type of the error message |
83 @type str |
83 @type str |
84 """ |
84 """ |
85 if not filterMessage(message): |
85 if not filterMessage(message): |
86 if msgType: |
86 if msgType: |
87 super(E5ErrorMessage, self).showMessage(message, msgType) |
87 super().showMessage(message, msgType) |
88 else: |
88 else: |
89 super(E5ErrorMessage, self).showMessage(message) |
89 super().showMessage(message) |
90 |
90 |
91 def editMessageFilters(self): |
91 def editMessageFilters(self): |
92 """ |
92 """ |
93 Public method to edit the list of message filters. |
93 Public method to edit the list of message filters. |
94 """ |
94 """ |