Hello,

How can one add multiple QComboBoxes using a for-loop?

Like we do in qcheckbox as:
Qt Code:
  1. for (int k=0; k<3 ; k++)
  2. {
  3. mCheckBox = new QCheckBox(tr("input %2:").arg(k));
  4. }
To copy to clipboard, switch view to plain text mode 

Is there a similiar way to add multiple QComboBoxes aswell?

PS: i could not find the .arg() object in QComboBox :-(

Thanks!