MCPcopy Create free account
hub / github.com/PyQt5/PyQtClient / __init__

Method __init__

Widgets/Dialogs/IssuesDialog.py:23–33  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

21class 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)

Callers

nothing calls this directly

Calls 2

loadCursorMethod · 0.80
setupUiMethod · 0.45

Tested by

no test coverage detected