Say that you have a GUI in which one of the windows displays the text of a file, in read-only mode. Problem: the file is huge (100s of MBs). I still want to display it and let the user scroll up/down, select portions of text, etc. How do I do it ? Qt doesn't seem to have a ready solution. QTextEdit just blows up with large files. I'm engaged in a futile online search for a way to do it in other frameworks, so far with no results. In theory this is possible - keeping only a buffer in memory and showing the user only what he asks.