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


Ignore:
Timestamp:
Sep 24, 2006, 4:41:28 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC

    • Property svn:ignore
      •  

        old new  
        1111moc_bnchtml.cpp
        1212moc_bnchlpdlg.cpp
         13moc_bnctableitem.cpp
  • trunk/BNC/bncwindow.cpp

    r183 r184  
    2222#include "bnchlpdlg.h"
    2323#include "bnchtml.h"
     24#include "bnctableitem.h"
    2425
    2526using namespace std;
     
    130131  _rnxSamplSpinBox->setSuffix(" sec");
    131132  _logFileLineEdit    = new QLineEdit(settings.value("logFile").toString());
    132   _mountPointsTable   = new QTableWidget(0,3);
     133  _mountPointsTable   = new QTableWidget(0,4);
    133134  _mountPointsTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch);
    134135  _mountPointsTable->horizontalHeader()->hide();
     
    164165    it = new QTableWidgetItem(format);
    165166    _mountPointsTable->setItem(iRow, 2, it);
     167
     168    bncTableItem* bncIt = new bncTableItem();
     169    _mountPointsTable->setItem(iRow, 3, bncIt);
     170
    166171    iRow++;
    167172  }
     
    296301    it = new QTableWidgetItem(format);
    297302    _mountPointsTable->setItem(iRow, 2, it);
     303
     304    bncTableItem* bncIt = new bncTableItem();
     305    _mountPointsTable->setItem(iRow, 3, bncIt);
     306
    298307    iRow++;
    299308  }
     
    379388            (bncApp*)qApp, SLOT(slotMessage(const QByteArray&)));
    380389
     390    connect(getThread, SIGNAL(newObs(const QByteArray&, Observation*)),
     391            (bncTableItem*) _mountPointsTable->item(iRow, 3),
     392            SLOT(slotNewObs(const QByteArray&, Observation*)));
     393
    381394    _bncCaster->addGetThread(getThread);
    382395
Note: See TracChangeset for help on using the changeset viewer.