MCPcopy
hub / github.com/PyQt5/PyQt / __init__

Method __init__

QWidget/Lib/CustomWidget.py:21–24  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

19class CustomWidget(QWidget):
20
21 def __init__(self, *args, **kwargs):
22 super(CustomWidget, self).__init__(*args, **kwargs)
23 layout = QVBoxLayout(self)
24 layout.addWidget(QLabel("我是自定义CustomWidget", self))

Callers

nothing calls this directly

Calls 1

addWidgetMethod · 0.80

Tested by

no test coverage detected