title: Checking/unchecking buttons generated by a loop
body: <p>Buttons in my script are generated by a <code>for</code> loop, like that:</p>
  
  <pre><code>for number in xrange(1,5):
      self.btn = QPushButton(str(number))
      self.btn.setCheckable(True)
      self.btn.number = number
      self.h1box.addWidget(self.btn)
  </code></pre>
  
  <p>I want another button to be able to check/uncheck one of the buttons and I've got no idea how to do it, already googled so much about it, didn't help. I hope you won't kill me for that question.</p>