Hi everyone, I have a really simple problem that I could use some help with. I wrote a program which spell checks a plain text file and can do things like keep track of the most commonly used words / most commonly misspelled words. I've already implemented all of the functionality in a class called Dictionary. My problem is in displaying the contents of these files and some information obtained from the program in QTextEdit windows (and why we're using that rather than a normal display window, I don't know). I don't have any prior experience with GUI applications.

I don't need to do anything in the windows except display the contents of the file, with misspelled words in red, and show some program output in separate windows. I've been searching Google and reading the Qt documentation for about the past hour after finishing up the guts of the program but I can't find a solid tutorial for this, so if anyone could help me out I'd really appreciate the assistance.