logo

Crowdly

У наступному коді роботи з віджетом tableWidget: 1:  ui->tableWidget->setRowCo...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

У наступному коді роботи з віджетом tableWidget:

1:  ui->tableWidget->setRowCount(p);

2:  ui->tableWidget->setColumnCount(d);

3:    for(int i=0;i<p;i++)

4:      for(int j=0;j<d;j++) {

5:   QTableWidgetItem *ptw=0;

6:   ptw=new QTableWidgetItem("");

7:   ui->tableWidget->setItem(i,j,ptw);

8:    }

9:  for(int i=0;i<p;i++)

10:    for(int j=0;j<d;j++)

11:     a[i][j]=ui->tableWidget->item(i,j)->text().toDouble();

Які дії робляться у рядках з 9-го по 11-й  ?

100%
100%
0%
0%
0%
100%
0%
0%
More questions like this

Want instant access to all verified answers on eln.stu.cn.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!