Thanks for this, but how do I put the input from those select boxes as arguments?
ui->myComboBox->doStuff();
And in which part of my project I should put these: