Changeset 5703 in ntrip for trunk/BNC/src/PPP/pppwidgets.cpp


Ignore:
Timestamp:
Jul 30, 2014, 11:22:10 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 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}
Note: See TracChangeset for help on using the changeset viewer.