Is it possible to create an attribute where attribute name is specified by a string
E.g.
create_attribute(QtGui.QLineEdit, 'myname')
self.myname.setText = 'created!'
That is
create_attribute(QtGui.QLineEdit, 'myname')
equals to
self.myname = QtGui.QLineEdit(self)
I have already questioned similar question Creating an object using string as a name but just to realise it does not solve my second problem!