MCPcopy Index your code
hub / github.com/PyQt5/PyQtClient / __init__

Method __init__

Test/TestMainwindowStyle.py:26–35  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

24class Window(QWidget, Ui_FormMainWindow):
25
26 def __init__(self, *args, **kwargs):
27 super(Window, self).__init__(*args, **kwargs)
28 self.setAttribute(Qt.WA_TranslucentBackground, True)
29 self.setWindowFlags(self.windowFlags() | Qt.FramelessWindowHint)
30 self.setupUi(self)
31 t = time()
32 ThemeManager.loadTheme()
33 print(time() - t)
34 ThemeManager.loadCursor(self)
35 ThemeManager.loadCursor(self.buttonHead, ThemeManager.CursorPointer)
36
37
38if __name__ == '__main__':

Callers

nothing calls this directly

Calls 3

loadThemeMethod · 0.80
loadCursorMethod · 0.80
setupUiMethod · 0.45

Tested by

no test coverage detected