ui_qt: let the user select the desired database