title: PyQt connect SIGNAL to multiple SLOT
body: <p>I am trying to learn <code>PyQt</code> from <code>rapid gui programming with python and qt</code> and currently learning <code>Signals</code> and <code>Slots</code>.</p>
  
  <p>Below is a short snippet of my code:</p>
  
  <pre><code>self.connect(self.dial, SIGNAL("valueChanged(int)"),self.spinbox.setValue) #1
  self.connect(self.dial, SIGNAL("valueChanged(int)"),self.getValue_dial)    #2
  self.connect(self.spinbox, SIGNAL("valueChanged(int)"),self.dial.setValue)
  self.connect(self.spinbox, SIGNAL("valueChanged(int)"),self.getValue_spinbox)
  
  def getValue_dial(self):
          print self.dial.value()
  
  def getValue_spinbox(self):
          print self.dial.value()
  </code></pre>
  
  <p>What I am trying to achieve here is call <code>2</code> SLOTS at once that is <code>spinbox.setValue</code> and <code>getValue_dial</code> for <code>dial</code> object as soon as <code>ValueChanged(int)</code> signal is emitted.</p>
  
  <p>The above code executes successfully without any errors and <code>print</code> the appropriate values as they are changed.</p>
  
  <p>Now my question is the above way appropriate to call multiple slots for a single signal.?</p>
  
  <p>Can the above two statements(1 &amp; 2) be combined into a single statement.</p>
  
  <p>Here is the link for my <a href="http://pastie.org/3930507" rel="noreferrer">complete code</a>.</p>