editor: port to Qt