I have created a button
QComboBox cb_codChastotDiap1 Created by clicking the mouse in the form editor. But I have changed the conditions for this button, I need to add one element, despite the fact that it will be called only in one (4 elements) of two (3 elements). And for this, my question sounds so is it possible to finish by hand in the code, to cb_codChastotDiap1 another index ??
I would like to add the code and rebuild it in Qt Creator.
P.S. I am inconvenient to rewrite the code because the whole program is assembled in the form editor. Yes, and they ask me to make one amendment. I would not like to recompile the entire program. Well, just a scientific interest, and is it possible so)) in general, there is a setCurrentIndex slot in QComboBox, so everything is quite possible, I will try to implement it.