Changeset 3629 in ntrip for trunk


Ignore:
Timestamp:
Jan 22, 2012, 6:35:30 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpostprocess.cpp

    r3628 r3629  
    7171  for (int ii = 1; ii < MAXI; ii++) {
    7272    cout << "ii = " << ii << endl;
     73    emit progress(float(ii)/float(MAXI));
    7374    sleep(1);
    7475  }
    7576
    7677  emit finished();
    77 
    7878  deleteLater();
    7979}
  • trunk/BNC/bncpostprocess.h

    r3627 r3629  
    4646
    4747 signals:
     48  void progress(float);
    4849  void finished();
    4950   
  • trunk/BNC/bncwindow.cpp

    r3627 r3629  
    22562256  t_postProcessing* postProcessing = new t_postProcessing(this);
    22572257  connect(postProcessing, SIGNAL(finished()), this, SLOT(slotFinishedPostProcessing()));
     2258  connect(postProcessing, SIGNAL(progress(float)), this, SLOT(slotPostProgress(float)));
    22582259
    22592260  postProcessing->start();
     
    22722273// Progress Bar Change
    22732274////////////////////////////////////////////////////////////////////////////
    2274 void bncWindow::postProgress(float progress) {
     2275void bncWindow::slotPostProgress(float progress) {
     2276  cout << "slotPostProgress" << endl;
    22752277  if (_postProgressBar) {
    22762278    _postProgressBar->setValue(int(progress*100.0));
  • trunk/BNC/bncwindow.h

    r3626 r3629  
    6262    void CreateMenu();
    6363    void AddToolbar();
    64     void postProgress(float progress);
    6564
    6665  public slots: 
    6766    void slotMountPointsRead(QList<bncGetThread*>);
    6867    void slotBncTextChanged();
     68    void slotPostProgress(float);
    6969
    7070  private slots:
Note: See TracChangeset for help on using the changeset viewer.