Base on the groupbox example of PySide-Example, I add a clicked slot to the pushButton
, such as:
def createPushButtonGroup(self):
...
pushButton = QtGui.QPushButton("&Normal Button")
pushButton.clicked(self.normalClick)
...
def normalClick(self):
print self.sender.pushButton.text()
But it issues an error: TypeError: native Qt signal is not callable
.