Domanda

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

È stato utile?

Soluzione

See code:

QApplication::setEffectEnabled(Qt::UI_AnimateCombo, false);
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top