Changeset 4111 in ntrip for trunk/BNC/bncwindow.cpp


Ignore:
Timestamp:
May 4, 2012, 5:43:29 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r4106 r4111  
    526526  // Upload Results
    527527  // -------------
    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(","));
    530530  _uploadTable->setSelectionMode(QAbstractItemView::ExtendedSelection);
    531531  _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);
    541544  _uploadTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
    542   _uploadTable->horizontalHeader()->setStretchLastSection(true);
     545  ///  _uploadTable->horizontalHeader()->setStretchLastSection(true);
    543546  _uploadTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft);
    544547
     
    23922395      _uploadTable->setCellWidget(iRow, iCol, com);
    23932396    }
    2394     else if (iCol == 8) {
     2397    else if (iCol == 11) {
    23952398      bncTableItem* bncIt = new bncTableItem();
    23962399      bncIt->setFlags(bncIt->flags() & ~Qt::ItemIsEditable);
     
    24252428  for (int iRow = 0; iRow < _uploadTable->rowCount(); iRow++) {
    24262429    ((bncApp*)qApp)->_uploadTableItems[iRow] =
    2427                                 (bncTableItem*) _uploadTable->item(iRow, 8);
     2430                                (bncTableItem*) _uploadTable->item(iRow, 11);
    24282431  }
    24292432  nRows = _uploadTable->rowCount();
     
    24752478        _uploadTable->setCellWidget(iRow, iCol, com);
    24762479      }
    2477       else if (iCol == 8) {
     2480      else if (iCol == 11) {
    24782481        bncTableItem* bncIt = new bncTableItem();
    24792482        bncIt->setFlags(bncIt->flags() & ~Qt::ItemIsEditable);
Note: See TracChangeset for help on using the changeset viewer.