Changeset 4111 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- May 4, 2012, 5:43:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r4106 r4111 526 526 // Upload Results 527 527 // ------------- 528 _uploadTable = new QTableWidget(0, 9);529 _uploadTable->setHorizontalHeaderLabels(QString("Host, Port, Mount, Password, System, CoM, SP3 File, RNX File, bytes").split(","));528 _uploadTable = new QTableWidget(0,12); 529 _uploadTable->setHorizontalHeaderLabels(QString("Host, Port, Mount, Password, System, CoM, SP3 File, RNX File, PID, SID, IOD, bytes").split(",")); 530 530 _uploadTable->setSelectionMode(QAbstractItemView::ExtendedSelection); 531 531 _uploadTable->setSelectionBehavior(QAbstractItemView::SelectRows); 532 _uploadTable->horizontalHeader()->resizeSection(0,13*ww); 533 _uploadTable->horizontalHeader()->resizeSection(1,5*ww); 534 _uploadTable->horizontalHeader()->resizeSection(2,6*ww); 535 _uploadTable->horizontalHeader()->resizeSection(3,8*ww); 536 _uploadTable->horizontalHeader()->resizeSection(4,11*ww); 537 _uploadTable->horizontalHeader()->resizeSection(5,4*ww); 538 _uploadTable->horizontalHeader()->resizeSection(6,15*ww); 539 _uploadTable->horizontalHeader()->resizeSection(7,15*ww); 540 _uploadTable->horizontalHeader()->resizeSection(8,10*ww); 532 _uploadTable->horizontalHeader()->resizeSection( 0,13*ww); 533 _uploadTable->horizontalHeader()->resizeSection( 1, 5*ww); 534 _uploadTable->horizontalHeader()->resizeSection( 2, 6*ww); 535 _uploadTable->horizontalHeader()->resizeSection( 3, 8*ww); 536 _uploadTable->horizontalHeader()->resizeSection( 4,11*ww); 537 _uploadTable->horizontalHeader()->resizeSection( 5, 4*ww); 538 _uploadTable->horizontalHeader()->resizeSection( 6,15*ww); 539 _uploadTable->horizontalHeader()->resizeSection( 7,15*ww); 540 _uploadTable->horizontalHeader()->resizeSection( 8, 4*ww); 541 _uploadTable->horizontalHeader()->resizeSection( 9, 4*ww); 542 _uploadTable->horizontalHeader()->resizeSection(10, 4*ww); 543 _uploadTable->horizontalHeader()->resizeSection(11,12*ww); 541 544 _uploadTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive); 542 _uploadTable->horizontalHeader()->setStretchLastSection(true);545 /// _uploadTable->horizontalHeader()->setStretchLastSection(true); 543 546 _uploadTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft); 544 547 … … 2392 2395 _uploadTable->setCellWidget(iRow, iCol, com); 2393 2396 } 2394 else if (iCol == 8) {2397 else if (iCol == 11) { 2395 2398 bncTableItem* bncIt = new bncTableItem(); 2396 2399 bncIt->setFlags(bncIt->flags() & ~Qt::ItemIsEditable); … … 2425 2428 for (int iRow = 0; iRow < _uploadTable->rowCount(); iRow++) { 2426 2429 ((bncApp*)qApp)->_uploadTableItems[iRow] = 2427 (bncTableItem*) _uploadTable->item(iRow, 8);2430 (bncTableItem*) _uploadTable->item(iRow, 11); 2428 2431 } 2429 2432 nRows = _uploadTable->rowCount(); … … 2475 2478 _uploadTable->setCellWidget(iRow, iCol, com); 2476 2479 } 2477 else if (iCol == 8) {2480 else if (iCol == 11) { 2478 2481 bncTableItem* bncIt = new bncTableItem(); 2479 2482 bncIt->setFlags(bncIt->flags() & ~Qt::ItemIsEditable);
Note:
See TracChangeset
for help on using the changeset viewer.