(self, *args, **kwargs)
| 16 | class 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 | |
| 32 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected