ui_qt: handle argument lines