I have 3 QCheckBox'es and I would like to know which one has been checked.
I use this to connect them:
Qt Code:
  1. QObject.connect(self.ui.checkbox1, SIGNAL("toggled(bool)"), self.__on_check)
  2. QObject.connect(self.ui.checkbox2, SIGNAL("toggled(bool)"), self.__on_check)
  3. QObject.connect(self.ui.checkbox3, SIGNAL("toggled(bool)"), self.__on_check)
To copy to clipboard, switch view to plain text mode 
(this is python)

Thanks