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

Method __init__

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

Source from the content-addressed store, hash-verified

53class PaintQSlider(QSlider):
54
55 def __init__(self, *args, **kwargs):
56 super(PaintQSlider, self).__init__(*args, **kwargs)
57 # 设置代理样式,主要用于计算和解决鼠标点击区域
58 self.setStyle(SliderStyle())
59
60 def paintEvent(self, _):
61 option = QStyleOptionSlider()

Callers

nothing calls this directly

Calls 2

SliderStyleClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected