d_combobox->blockSignals(true);//@—
d_combobox->setCurrentText(current_text);
d_combobox->blockSignals(false);//@— make signals emit by clicked only, not by codding set
设置QComboBox信号仅在点击时响应
最新推荐文章于 2025-03-23 20:17:05 发布
d_combobox->blockSignals(true);//@—
d_combobox->setCurrentText(current_text);
d_combobox->blockSignals(false);//@— make signals emit by clicked only, not by codding set