Thanks for the help - I simply added the documents as tabs to my mainwindow.

I have a new problem however (yes - I'm still learning). I wish to use the Boyer-Moore string searching algorithm for my search function. I think I can write this myself. Thing is, I need to have something to search in. I am not sure if it's best to use a QByteArray, QBuffer or simply a Qstring. The thought is that the program should be able to handle very large text files (500 MBs perhaps). Which would be the most efficient for this?