then store only QWidgets, and do a qobject_cast and see if the object is lineEdit or combobox