work version without QComboBox