Changeset 3745 in ntrip


Ignore:
Timestamp:
Mar 28, 2012, 1:11:54 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/teqcdlg.cpp

    r3744 r3745  
    4949teqcDlg::teqcDlg(QWidget* parent) : QDialog(parent) {
    5050
    51   ////  setMinimumSize(600,400);
    5251  setWindowTitle(tr("Teqc Editing Options"));
    5352
    54   QVBoxLayout* mainLayout = new QVBoxLayout(this);
    55 
    5653  int ww = QFontMetrics(font()).width('w');
    57 
    58   QGridLayout* grid = new QGridLayout;
    5954
    6055  _teqcRnxVersion      = new QComboBox(this);
     
    6964  _teqcNewReceiverName = new QLineEdit(this);
    7065
     66  _teqcRnxVersion->setEditable(false);
     67  _teqcRnxVersion->addItems(QString("2,3").split(","));
     68  _teqcRnxVersion->setMaximumWidth(7*ww);
     69
     70  _teqcSampling->setMinimum(0);
     71  _teqcSampling->setMaximum(60);
     72  _teqcSampling->setSingleStep(5);
     73  _teqcSampling->setSuffix(" sec");
     74  _teqcSampling->setMaximumWidth(7*ww);
     75
     76  QGridLayout* grid = new QGridLayout;
     77
    7178  int ir = 0;
    7279  grid->addWidget(new QLabel("RNX Version"),   ir, 1);
    7380  grid->addWidget(_teqcRnxVersion,             ir, 2);
    74   grid->addWidget(new QLabel("Sampling"),      ir, 3);
     81  grid->addWidget(new QLabel("  Sampling"),    ir, 3);
    7582  grid->addWidget(_teqcSampling,               ir, 4);
    7683  ++ir;
    7784  grid->addWidget(new QLabel("Start"),         ir, 1);
    7885  grid->addWidget(_teqcStartDateTime,          ir, 2);
    79   grid->addWidget(new QLabel("End"),           ir, 3);
     86  grid->addWidget(new QLabel("  End"),         ir, 3);
    8087  grid->addWidget(_teqcEndDateTime,            ir, 4);
    8188  ++ir;
     
    110117  buttonLayout->addWidget(_buttonCancel);
    111118
     119  QVBoxLayout* mainLayout = new QVBoxLayout(this);
    112120  mainLayout->addLayout(grid);
    113121  mainLayout->addLayout(buttonLayout);
Note: See TracChangeset for help on using the changeset viewer.