This could have been based on KDE's KTextEditor https://github.com/KDE/ktexteditor
Isn't that targeting Qt Widgets?