(self, *args, **kwargs)
| 21 | class IssuesDialog(MoveDialog, Ui_FormIssuesDialog): |
| 22 | |
| 23 | def __init__(self, *args, **kwargs): |
| 24 | super(IssuesDialog, self).__init__(*args, **kwargs) |
| 25 | self.setupUi(self) |
| 26 | # 关闭后自动销毁 |
| 27 | self.setAttribute(Qt.WA_DeleteOnClose, True) |
| 28 | # 背景透明 |
| 29 | self.setAttribute(Qt.WA_TranslucentBackground, True) |
| 30 | # 无边框 |
| 31 | self.setWindowFlags(self.windowFlags() | Qt.FramelessWindowHint) |
| 32 | # 加载鼠标样式 |
| 33 | ThemeManager.loadCursor(self) |
nothing calls this directly
no test coverage detected