Changeset 105 in ntrip for trunk/BNC/bnctabledlg.cpp
- Timestamp:
- Sep 7, 2006, 7:56:18 AM (18 years ago)
- File:
-
- 1 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);
Note:
See TracChangeset
for help on using the changeset viewer.