Solved how to emit a signal when another item is selected in a combo box
-
that's the whole question, how can i do this?
-
You dont need to emit a signal by yourself. There are already signals for this. You just have to react on them.
See: https://doc.qt.io/qt-5/qcombobox.html#signalsI guess you are looking for
currentIndexChanged(int index)
orcurrentTextChanged(const QString &text)
-
yeah, it worked just fine
thanks!