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

Method __init__

QLabel/QtNinePatch2.py:27–30  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

25class Label(QLabel):
26
27 def __init__(self, *args, **kwargs):
28 super(Label, self).__init__(*args, **kwargs)
29 # .9 格式的图片
30 self.image = QImage('Data/skin_aio_friend_bubble_pressed.9.png')
31
32 def showEvent(self, event):
33 super(Label, self).showEvent(event)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected