As documented here, the text
property IS the correct way to access the contents of the LineEdit
node. So, if your LineEdit
node is named LineEdit and it's the direct child of the node containing the script, the code you show above will work. If it's really not working for you, you'll need to provide some more details.