QML port of qtermwidget