QML port of the qtermwidget