Unsolved Display contents of a text file on the screen with buttons.
-
How to display the contents of a file containing both text and image on a window?
-
@Sriu1 What format is this file?
-
It is a .txt file.
-
Hi,
How are the image inserted in that .txt file ?
-
It is a logo that is put on the left corner. It contains no other images.
-
@Sriu1 A text file can't contain any pictures or anything else than text (hence they are called text files). So, again: what format is this exactly?
-
Oh! I am sorry. I had mistook it. It is .doc file
-
@Sriu1 Qt itself does not provide anything to parse .doc files. You can do it using ActiveX for which there is support in Qt, but I don't have any experience with that and using this approach requires Microsoft Word to be installed on the machine where the app is running.
-
Thankyou.