Changeset 5703 in ntrip


Ignore:
Timestamp:
Jul 30, 2014, 11:22:10 AM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppwidgets.cpp

    r5702 r5703  
    6868  _sigmaL1      = new QLineEdit();     _sigmaL1     ->setObjectName("PPP/sigmaL1");      _widgets << _sigmaL1;     
    6969  _corrWaitTime = new QSpinBox();      _corrWaitTime->setObjectName("PPP/corrWaitTime"); _widgets << _corrWaitTime;
     70  _addStaButton = new QPushButton("Add Station");                                        _widgets << _addStaButton;
     71  _delStaButton = new QPushButton("Delete Station");                                     _widgets << _delStaButton;
    7072 
    7173  _dataSource->setEditable(false);
     
    8991
    9092  _staTable->setColumnCount(9);
    91   _staTable->setRowCount(10);
     93  _staTable->setRowCount(0);
    9294  _staTable->setHorizontalHeaderLabels(
    9395     QString("Station,Sigma N,Sigma E,Sigma H,Noise N,Noise E,Noise H,Tropo Sigma,Tropo Noise").split(","));
    94 
     96  _staTable->setSelectionMode(QAbstractItemView::ExtendedSelection);
     97  _staTable->setSelectionBehavior(QAbstractItemView::SelectRows);
     98  _staTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
     99  /// _staTable->horizontalHeader()->setStretchLastSection(true);
     100  _staTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft);
     101 
     102  connect(_addStaButton, SIGNAL(clicked()), this, SLOT(slotAddStation()));
     103  connect(_delStaButton, SIGNAL(clicked()), this, SLOT(slotDelStation()));
    95104
    96105  readOptions();
     
    200209  }
    201210}
     211
     212//
     213////////////////////////////////////////////////////////////////////////////
     214void t_pppWidgets::slotAddStation() {
     215
     216}
     217
     218//
     219////////////////////////////////////////////////////////////////////////////
     220void t_pppWidgets::slotDelStation() {
     221
     222}
  • trunk/BNC/src/PPP/pppwidgets.h

    r5701 r5703  
    5454  QLineEdit*     _sigmaL1;
    5555  QSpinBox*      _corrWaitTime;
     56  QPushButton*   _addStaButton;
     57  QPushButton*   _delStaButton;
    5658
    5759 private slots:
    5860  void slotEnableWidgets(); 
     61  void slotAddStation();
     62  void slotDelStation();
    5963
    6064 private:
Note: See TracChangeset for help on using the changeset viewer.