I have other troubles again.. I would like that the user choose a XML file and this file to be displayed in my dialog in a textEdit or textLabel for example. What is the easiest way to obtain that? Am I forced to use a class preview etc..?
I was thinking that with QDomDocument I could get the entire text directly but my variable content is empty. Is there a function that get all the text in a qstring with qfile?
When I do QDomDocument doc( xmlPath ); I should have the path of my xml with its name right?
It's oki I found. Thank you.
I just need now to find how to make the content of the textedit not enabled but that the user can use the scroll bar to go down in the XML..