QDataWidgetMapper 里用 qcombobox有个坑, 在addMapping(combobox,5,"currentText");必须指定currentText或currentIndex.否则无效