title: How to find an object by name in pyqt?
body: <p>I have a list of dictionaries:</p>
  
  <pre><code>globalParams = [{'attr':'enabled','ctrl':'checkBoxEnabled','type':'checkBox'},
                  {'attr':'colorMode','ctrl':'comboBoxColorMode','type':'comboBox'}]
  </code></pre>
  
  <p>'ctrl' - name of the control in the Qt window. </p>
  
  <p>typically, the code is as follows:</p>
  
  <pre><code>self.checkBoxEnabled.checkState()
  </code></pre>
  
  <p>but checkBoxEnabled is an object. and i have only a string name 'checkBoxEnabled' and cannot use it...</p>
  
  <p>how to find an object by name in pyqt? something like?
  self.<strong><em>GetObjectByName('checkBoxEnabled')</em></strong>.checkState()</p>