- Timestamp:
- Sep 7, 2006, 7:56:18 AM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnctabledlg.cpp
r104 r105 27 27 QVBoxLayout* mainLayout = new QVBoxLayout(this); 28 28 29 _casterHostLabel = new QLabel(tr("caster host"));30 _casterPortLabel = new QLabel(tr("caster port"));31 _casterUserLabel = new QLabel(tr("user"));32 _casterPasswordLabel = new QLabel(tr("password"));33 29 QSettings settings; 34 30 _casterHostLineEdit = new QLineEdit(settings.value("casterHost").toString()); … … 44 40 45 41 QGridLayout* editLayout = new QGridLayout; 46 editLayout->addWidget( _casterHostLabel, 0, 0);47 editLayout->addWidget(_casterHostLineEdit, 0, 1);48 editLayout->addWidget( _casterPortLabel, 0, 2);49 editLayout->addWidget(_casterPortLineEdit, 0, 3);50 editLayout->addWidget( _casterUserLabel,1, 0);51 editLayout->addWidget(_casterUserLineEdit, 1, 1);52 editLayout->addWidget( _casterPasswordLabel,1, 2);53 editLayout->addWidget(_casterPasswordLineEdit, 1, 3);42 editLayout->addWidget(new QLabel(tr("Caster host")), 0, 0); 43 editLayout->addWidget(_casterHostLineEdit, 0, 1); 44 editLayout->addWidget(new QLabel(tr("Caster port")), 0, 2); 45 editLayout->addWidget(_casterPortLineEdit, 0, 3); 46 editLayout->addWidget(new QLabel(tr("User")), 1, 0); 47 editLayout->addWidget(_casterUserLineEdit, 1, 1); 48 editLayout->addWidget(new QLabel(tr("Password")), 1, 2); 49 editLayout->addWidget(_casterPasswordLineEdit, 1, 3); 54 50 55 51 mainLayout->addLayout(editLayout); -
trunk/BNC/bnctabledlg.h
r90 r105 20 20 21 21 private: 22 QLabel* _casterHostLabel;23 QLabel* _casterPortLabel;24 22 QLineEdit* _casterHostLineEdit; 25 23 QLineEdit* _casterPortLineEdit; 26 QLabel* _casterUserLabel;27 QLabel* _casterPasswordLabel;28 24 QLineEdit* _casterUserLineEdit; 29 25 QLineEdit* _casterPasswordLineEdit; -
trunk/BNC/bncwindow.cpp
r102 r105 41 41 connect(_actQuit, SIGNAL(triggered()), SLOT(close())); 42 42 43 _actAddMountPoints = new QAction(tr("&Add Mount Points"),this);43 _actAddMountPoints = new QAction(tr("&Add Mountpoints"),this); 44 44 connect(_actAddMountPoints, SIGNAL(triggered()), SLOT(slotAddMountPoints())); 45 45 46 _actDeleteMountPoints = new QAction(tr("&Delete Mount Points"),this);46 _actDeleteMountPoints = new QAction(tr("&Delete Mountpoints"),this); 47 47 connect(_actDeleteMountPoints, SIGNAL(triggered()), SLOT(slotDeleteMountPoints())); 48 48 _actDeleteMountPoints->setEnabled(false); … … 77 77 QGridLayout* layout = new QGridLayout; 78 78 _canvas->setLayout(layout); 79 80 _timeOutLabel = new QLabel("timeout (sec)");81 _proxyHostLabel = new QLabel("proxy host");82 _proxyPortLabel = new QLabel("proxy port");83 _outFileLabel = new QLabel("ASCII output file (full path)");84 _outPortLabel = new QLabel("port for binary output");85 _rnxPathLabel = new QLabel("RINEX path");86 _rnxSkelLabel = new QLabel("RINEX skeleton extension");87 _rnxIntrLabel = new QLabel("RINEX file interval");88 _mountPointsLabel = new QLabel("mount points");89 _logLabel = new QLabel("log");90 79 91 80 QSettings settings; … … 142 131 _log->setReadOnly(true); 143 132 144 layout->addWidget( _proxyHostLabel,0, 0);145 layout->addWidget(_proxyHostLineEdit, 0, 1);146 layout->addWidget( _proxyPortLabel, 0, 2);147 layout->addWidget(_proxyPortLineEdit, 0, 3);148 layout->addWidget( _timeOutLabel, 1, 1);149 layout->addWidget(_timeOutLineEdit, 1, 2);150 layout->addWidget( _outFileLabel, 2, 1);151 layout->addWidget(_outFileLineEdit, 2, 2, 1, 2);152 layout->addWidget( _outPortLabel, 3, 1);153 layout->addWidget(_outPortLineEdit, 3, 2);154 layout->addWidget( _rnxPathLabel, 4, 1);155 layout->addWidget(_rnxPathLineEdit, 4, 2, 1, 2);156 layout->addWidget( _rnxSkelLabel, 5, 1);157 layout->addWidget(_rnxSkelLineEdit, 5, 2);158 layout->addWidget( _rnxIntrLabel, 6, 1);159 layout->addWidget(_rnxIntrSpinBox, 6, 2);160 layout->addWidget( _mountPointsLabel, 7, 0);161 layout->addWidget(_mountPointsTable, 7, 1, 1, 3);162 layout->addWidget( _logLabel, 8, 0);163 layout->addWidget(_log, 8, 1, 1, 3);133 layout->addWidget(new QLabel("Proxy host"), 0, 0); 134 layout->addWidget(_proxyHostLineEdit, 0, 2); 135 layout->addWidget(new QLabel("Proxy port"), 0, 3); 136 layout->addWidget(_proxyPortLineEdit, 0, 4); 137 layout->addWidget(new QLabel("timeout (sec)"), 1, 2); 138 layout->addWidget(_timeOutLineEdit, 1, 3); 139 layout->addWidget(new QLabel("ASCII output file (full path)"), 2, 2); 140 layout->addWidget(_outFileLineEdit, 2, 3, 1, 2); 141 layout->addWidget(new QLabel("port for binary output"), 3, 2); 142 layout->addWidget(_outPortLineEdit, 3, 3); 143 layout->addWidget(new QLabel("RINEX path"), 4, 2); 144 layout->addWidget(_rnxPathLineEdit, 4, 3, 1, 2); 145 layout->addWidget(new QLabel("RINEX skeleton extension"), 5, 2); 146 layout->addWidget(_rnxSkelLineEdit, 5, 3); 147 layout->addWidget(new QLabel("RINEX file interval"), 6, 2); 148 layout->addWidget(_rnxIntrSpinBox, 6, 3); 149 layout->addWidget(new QLabel("Mountpoints"), 7, 1); 150 layout->addWidget(_mountPointsTable, 7, 2, 1, 3); 151 layout->addWidget(new QLabel("Log"), 8, 1); 152 layout->addWidget(_log, 8, 2, 1, 3); 164 153 165 154 _bncCaster = 0; -
trunk/BNC/bncwindow.h
r88 r105 41 41 QAction* _actDeleteMountPoints; 42 42 43 QLabel* _proxyHostLabel;44 QLabel* _proxyPortLabel;45 QLabel* _timeOutLabel;46 QLabel* _rnxPathLabel;47 QLabel* _rnxSkelLabel;48 QLabel* _rnxIntrLabel;49 QLabel* _mountPointsLabel;50 QLabel* _outFileLabel;51 QLabel* _outPortLabel;52 QLabel* _logLabel;53 54 43 QLineEdit* _proxyHostLineEdit; 55 44 QLineEdit* _proxyPortLineEdit;
Note:
See TracChangeset
for help on using the changeset viewer.