pybutton = QPushButton('Click me', self)pybutton.resize(100,32)pybutton.move(50, 50) pybutton.clicked.connect(self.clickMethod)