Hi All ,
Is it possible to emit the activated signal on a combobox?
According to the documentation , the "SetCurrentItem" do not emit the activated signal.
Is it possible to do this via code or onlt via user input?
Hi All ,
Is it possible to emit the activated signal on a combobox?
According to the documentation , the "SetCurrentItem" do not emit the activated signal.
Is it possible to do this via code or onlt via user input?
You can always subclass the combobox and emit it yourself. But why do you need it for?
Done!!
and it was easy ...
just connect SIGNAL to a SIGNAL...
My bad
The signal is emitted but the combobox does not change it's current item....
QT bug?
Could you elaborate a bit what are you trying do? This particular signal is a way for QComboBox to inform that something happened. Don't expect QComboBox itself to react if you emit the same signal by hand in some other situation. Notice that QComboBox has a method for the purpose of setting current item: QComboBox::setCurrentItem().
J-P Nurmi
Bookmarks