Is there a simple way to use QComboBox::showPopup() without the animation making it instant?

有帮助吗?

解决方案

See code:

QApplication::setEffectEnabled(Qt::UI_AnimateCombo, false);
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top