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

Method __init__

QSlider/PaintQSlider.py:110–115  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

108class Window(QWidget):
109
110 def __init__(self, *args, **kwargs):
111 super(Window, self).__init__(*args, **kwargs)
112 self.setAttribute(Qt.WA_StyledBackground, True)
113 layout = QVBoxLayout(self)
114 layout.addWidget(PaintQSlider(Qt.Vertical, self, minimumWidth=90))
115 layout.addWidget(PaintQSlider(Qt.Horizontal, self, minimumHeight=90))
116
117
118if __name__ == '__main__':

Callers 1

__init__Method · 0.45

Calls 2

PaintQSliderClass · 0.85
addWidgetMethod · 0.80

Tested by

no test coverage detected