C++ (Qt) for(int i=0;i<dohod->rowCount();i++){ QLabel *label; label=new QLabel(ui.frame); label->setObjectName("label_"+st.setNum(num)+""); label->setGeometry(QRect(10,(i+1)*48-20, 46, 14)); str->setText("");}
C++ (Qt) for(int i=0;i<dohod->rowCount();i++){ ...}
C++ (Qt) int count = dohod->rowCount(); for (int i = 0; i < count; ++i) { ...}
C++ (Qt)for (int i = 0, count = dohod->rowCount(); i < count; ++i)
C++ (Qt)for(int i=1;i<10;i++) ui.row_i->setText(""+i+"");