Changeset 3745 in ntrip
- Timestamp:
- Mar 28, 2012, 1:11:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/teqcdlg.cpp
r3744 r3745 49 49 teqcDlg::teqcDlg(QWidget* parent) : QDialog(parent) { 50 50 51 //// setMinimumSize(600,400);52 51 setWindowTitle(tr("Teqc Editing Options")); 53 52 54 QVBoxLayout* mainLayout = new QVBoxLayout(this);55 56 53 int ww = QFontMetrics(font()).width('w'); 57 58 QGridLayout* grid = new QGridLayout;59 54 60 55 _teqcRnxVersion = new QComboBox(this); … … 69 64 _teqcNewReceiverName = new QLineEdit(this); 70 65 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 71 78 int ir = 0; 72 79 grid->addWidget(new QLabel("RNX Version"), ir, 1); 73 80 grid->addWidget(_teqcRnxVersion, ir, 2); 74 grid->addWidget(new QLabel(" Sampling"),ir, 3);81 grid->addWidget(new QLabel(" Sampling"), ir, 3); 75 82 grid->addWidget(_teqcSampling, ir, 4); 76 83 ++ir; 77 84 grid->addWidget(new QLabel("Start"), ir, 1); 78 85 grid->addWidget(_teqcStartDateTime, ir, 2); 79 grid->addWidget(new QLabel(" End"),ir, 3);86 grid->addWidget(new QLabel(" End"), ir, 3); 80 87 grid->addWidget(_teqcEndDateTime, ir, 4); 81 88 ++ir; … … 110 117 buttonLayout->addWidget(_buttonCancel); 111 118 119 QVBoxLayout* mainLayout = new QVBoxLayout(this); 112 120 mainLayout->addLayout(grid); 113 121 mainLayout->addLayout(buttonLayout);
Note:
See TracChangeset
for help on using the changeset viewer.