I am using PyQt and want to get string from text field. I found below solution but it returns a QString. I just want to avoid writing extra code to extract string further. Can anyone suggest a simple solution to retrieve text from text field.
text = self.your_plugin_dlg.ui.yourLineEdit.text()
Thanks.