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

Method __init__

QSlider/QssQSlider.py:67–72  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

65class Window(QWidget):
66
67 def __init__(self, *args, **kwargs):
68 super(Window, self).__init__(*args, **kwargs)
69 self.setAttribute(Qt.WA_StyledBackground, True)
70 layout = QVBoxLayout(self)
71 layout.addWidget(QSlider(Qt.Vertical, self))
72 layout.addWidget(QSlider(Qt.Horizontal, self))
73
74
75if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

addWidgetMethod · 0.80

Tested by

no test coverage detected