Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Display text name file when push button is clicked
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?
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 ?
Yes, QLabel was meant for the filename you put in code.
Thank you mrjj !