title: Sending messages between two widgets using Signals and Slots
body: <p>I need to have widgets communicating between each other.</p>
  
  <p>My central Widget has 2 widget instances: <code>widget A</code> (instance of <code>A()</code>), <code>widget B</code> (instance of <code>B()</code>)
  When a <code>widget A</code> is subject to an event (e.g.: <code>mouseRelease</code>),
  I need <code>widget A</code> to call <em>a function</em> and to do some computing, processing data.
  And then I need this processed data <em>to be passed to</em> the <code>widget B</code>,
  which in turn <em>upon receiving this data</em> from <code>widget A</code>, will call a function with this data, process it, and do something more with it.</p>
  
  <p>Both these widgets are custom widgets derived from <code>QWidget</code>. 
  I am almost certain I need to use signals and slots but I don't understand how to implement function call parts.</p>
  
  <p>I've read over and over again explanations of Qt here:
  <a href="http://qt-project.org/wiki/Signals_and_Slots_in_PySide" rel="nofollow">http://qt-project.org/wiki/Signals_and_Slots_in_PySide</a> however I can not figure it out how to connect two widgets which both process data emitted and sent.</p>
  
  <p>I would really appreciate some help here. If you can not answer in Python yet competent with C++, please explain nonetheless using it instead of refraining at all.</p>