Changeset 4626 in ntrip for trunk/BNC/src/bnctabledlg.cpp


Ignore:
Timestamp:
Sep 1, 2012, 2:02:13 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnctabledlg.cpp

    r4278 r4626  
    324324void bncTableDlg::slotShowMap() {
    325325
    326   bncMap* winMap = new bncMap(this);
    327   winMap->setGeometry( x(), int(y()+height()*1.3), 880, 440 );
     326  t_bncMap* bncMap = new t_bncMap(this);
     327  bncMap->setGeometry( x(), int(y()+height()*1.3), 880, 440 );
    328328
    329329  connect(this, SIGNAL(newPoint(QPointF, QString, QPen, double)),
    330           winMap, SLOT(slotNewPoint(QPointF, QString, QPen, double)));
    331      
    332   connect(this, SIGNAL(fitMap()),
    333           winMap, SLOT(slotFitMap() ));
    334    
    335   connect(this, SIGNAL(fitFont()),
    336           winMap, SLOT(slotFitFont() ));
     330          bncMap, SLOT(slotNewPoint(QPointF, QString, QPen, double)));
    337331     
    338332  _buttonMap->setEnabled(false);
    339333  showSourceTable();
    340   winMap->exec();
     334  bncMap->exec();
    341335  _buttonMap->setEnabled(true);
    342336
    343337  disconnect(this, SIGNAL(newPoint(QPointF, QString, QPen, double)),
    344              winMap, SLOT(slotNewPoint(QPointF, QString, QPen, double)));
     338             bncMap, SLOT(slotNewPoint(QPointF, QString, QPen, double)));
    345339   
    346   disconnect(this, SIGNAL(fitMap()),
    347              winMap, SLOT(slotFitMap() ));
    348    
    349   disconnect(this, SIGNAL(fitFont()),
    350              winMap, SLOT(slotFitFont() ));
    351      
    352   delete winMap;
     340  delete bncMap;
    353341}
    354342
Note: See TracChangeset for help on using the changeset viewer.