- Timestamp:
- Jul 14, 2015, 1:00:04 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppWidgets.cpp
r6996 r7045 388 388 _staTable->insertRow(iRow); 389 389 for (int iCol = 0; iCol < _staTable->columnCount(); iCol++) { 390 _staTable->setItem(iRow, iCol, new QTableWidgetItem("")); 390 if (iCol == 0) _staTable->setItem(iRow, iCol, new QTableWidgetItem("")); 391 if (iCol == 1) _staTable->setItem(iRow, iCol, new QTableWidgetItem("100.0")); 392 if (iCol == 2) _staTable->setItem(iRow, iCol, new QTableWidgetItem("100.0")); 393 if (iCol == 3) _staTable->setItem(iRow, iCol, new QTableWidgetItem("100.0")); 394 if (iCol == 4) _staTable->setItem(iRow, iCol, new QTableWidgetItem("100.0")); 395 if (iCol == 5) _staTable->setItem(iRow, iCol, new QTableWidgetItem("100.0")); 396 if (iCol == 6) _staTable->setItem(iRow, iCol, new QTableWidgetItem("100.0")); 397 if (iCol == 7) _staTable->setItem(iRow, iCol, new QTableWidgetItem("0.1")); 398 if (iCol == 8) _staTable->setItem(iRow, iCol, new QTableWidgetItem("3e-6")); 399 if (iCol == 9) _staTable->setItem(iRow, iCol, new QTableWidgetItem("")); 391 400 } 392 401 }
Note:
See TracChangeset
for help on using the changeset viewer.