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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

NinePatchClass · 0.90

Tested by

no test coverage detected