(self, text)
| 428 | pass |
| 429 | |
| 430 | def setWarninginfo(self, text): |
| 431 | self.lab_info.setStyleSheet(""" |
| 432 | .QLabel { |
| 433 | color: #614a22; |
| 434 | background-color: #fff4df; |
| 435 | border: 1px solid #f0d39a; |
| 436 | border-radius: 14px; |
| 437 | padding: 10px 18px; |
| 438 | font-size: 14px; |
| 439 | line-height: 150%; |
| 440 | } |
| 441 | """) |
| 442 | self.lab_info.setWordWrap(True) # 启用自动换行 |
| 443 | self.lab_info.setText(text) |
| 444 | |
| 445 | def setSuccessinfo(self, text): |
| 446 | self.lab_info.setStyleSheet(""" |
no outgoing calls
no test coverage detected