Python Forum

Full Version: Saving entered text for next usement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I'm working with Python(x,y) and Qt Desinger 4. I got a browse button where I can seach for a file, after I selected the file it's loaded in a QLineEdit where my programm gets the path and works with it. Now I want that, if I close the application and reopen it, that the QLineEdit still got the text from before. Is there a way to do that?
Grettings
Matthias
you need to store that info somewhere, e.g. database, text file (plain file, config file, whatever), etc. and then read it back when start the program