Display text name file when push button is clicked
Unsolved
General and Desktop
-
wrote on 12 Jul 2018, 14:18 last edited by
Hello everybody,
Just a simple question as a noob,
When I click on the button LOAD that I created, I want a text file to be loaded, and next to the button load I would like a small window saying "namefile loaded" with the name of the file loaded. Can anyone help me with this ? Which widget should I use?Thank you
-
Hi
Well what part you need help with ?
You can use a QLabel to display the loaded file. -
@mrjj Ok thanks I will try that.
I just need to display the text file name, not what is inside, QLabel works too ?
@lolilol78
Yes, QLabel was meant for the filename you put in code. -
wrote on 13 Jul 2018, 14:03 last edited by
Thank you mrjj !
2/5