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

Method __init__

QtChart/BarStack.py:58–65  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

56 Cache = {}
57
58 def __init__(self, *args, **kwargs):
59 super(ToolTipWidget, self).__init__(*args, **kwargs)
60 self.setAttribute(Qt.WA_StyledBackground, True)
61 self.setStyleSheet(
62 "ToolTipWidget{background: rgba(50, 50, 50, 100);}")
63 layout = QVBoxLayout(self)
64 self.titleLabel = QLabel(self, styleSheet="color:white;")
65 layout.addWidget(self.titleLabel)
66
67 def updateUi(self, title, bars):
68 self.titleLabel.setText(title)

Callers

nothing calls this directly

Calls 2

addWidgetMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected