For example by connecting the clicked signal from all the buttons to a slot, and then use QObject::sender() to find out which button it was.
確定! 回上一頁