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

Method __init__

Test/TestRotateButton.py:18–29  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

16class Window(QWidget):
17
18 def __init__(self, *args, **kwargs):
19 super(Window, self).__init__(*args, **kwargs)
20 layout = QHBoxLayout(self)
21 layout.addWidget(
22 RotateButton('6', self, minimumHeight=96, toolTip='旋转按钮'))
23 layout.addWidget(
24 RotateButton('',
25 self,
26 minimumHeight=96,
27 image='../Resources/Images/Avatars/avatar.png'))
28 layout.addWidget(
29 RotateButton('', self, minimumHeight=96, objectName='imageLabel'))
30
31
32if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

RotateButtonClass · 0.90

Tested by

no test coverage detected