8141:27f636beebad | 8143:2c730d5fd177 |
---|---|
25 | 25 |
26 @param parent reference to the parent widget (QWidget) | 26 @param parent reference to the parent widget (QWidget) |
27 """ | 27 """ |
28 super(SslLabel, self).__init__(parent) | 28 super(SslLabel, self).__init__(parent) |
29 | 29 |
30 self.setFocusPolicy(Qt.NoFocus) | 30 self.setFocusPolicy(Qt.FocusPolicy.NoFocus) |
31 | 31 |
32 def setValidity(self, valid): | 32 def setValidity(self, valid): |
33 """ | 33 """ |
34 Public method to set the validity indication. | 34 Public method to set the validity indication. |
35 | 35 |