Changeset 5090 in ntrip for trunk/GnssCenter/inpedit


Ignore:
Timestamp:
Apr 12, 2013, 12:30:17 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/inpedit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/inpedit/inpedit.cpp

    r5089 r5090  
    4646////////////////////////////////////////////////////////////////////////////
    4747void t_inpEdit::slotOpenFile() {
    48   qDebug() << "slotOpenFile";
     48  QString fileName = QFileDialog::getOpenFileName(this);
     49  if (!fileName.isEmpty()) {
     50    _tabWidget->setInputFile(fileName);
     51  }
    4952}
  • trunk/GnssCenter/inpedit/tabwidget.cpp

    r5087 r5090  
    3636    delete it.value();
    3737  }
    38 }
    39 
    40 //
    41 ////////////////////////////////////////////////////////////////////////////
    42 void t_tabWidget::setVisible(bool visible) {
    43   if (visible) {
    44     setInputFile("RTNET.INP");
    45   }
    46   QTabWidget::setVisible(visible);
    4738}
    4839
  • trunk/GnssCenter/inpedit/tabwidget.h

    r5087 r5090  
    1414  ~t_tabWidget();
    1515  void setInputFile(const QString&);
    16   virtual void setVisible(bool visible);
    1716 private:
    1817  void readFile();
Note: See TracChangeset for help on using the changeset viewer.