Adapt QGraphicsView from QInputContext to QInputPanel