title: Binding a PyQT/PySide widget to a local variable in Python
body: <p>I'm pretty new to PySide/PyQt, I'm coming from C#/WPF. I've googled alot on this topic but it no good answer seems to show up.</p>
  
  <p>Ii want to ask is there a way where I can bind/connect a QWidget to a local variable, whereby each object update themselves on change.</p>
  
  <p>Example: If I have a <code>QLineEdit</code> and I have a local variable <code>self.Name</code> in a given class, how do I bind these two whereby when a <code>textChanged()</code> is triggered or simply say the text change on the <code>QLineEdit</code> the variable is updated and at the same time, when the variable is updated the <code>QLineEdit</code> get updated without calling any method.</p>
  
  <p>In C# there is dependency property with converters and Observable collection for list that handles this function.</p>
  
  <p>I will be glad if anyone can give answer with good example </p>