title: Loop to Update Labels in PyQT GUI
body: <p>I have a pyqt gui that among other things, has labels that are populated with data on init.  The labels themselves are easy to update with:</p>
  
  <pre><code>self.ui.mylabel_1.setText('foobar')
  self.ui.mylabel_2.setText('foobar')
  </code></pre>
  
  <p>Is there any way I can loop over this in a similar way to do this as in my following pseudo:</p>
  
  <pre><code>for num in range (1,24):
     self.ui.mylabel_num.setTest('foobar')
  </code></pre>