Changeset 105 in ntrip for trunk/BNC/bnctabledlg.cpp


Ignore:
Timestamp:
Sep 7, 2006, 7:56:18 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnctabledlg.cpp

    r104 r105  
    2727  QVBoxLayout* mainLayout = new QVBoxLayout(this);
    2828
    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"));
    3329  QSettings settings;
    3430  _casterHostLineEdit     = new QLineEdit(settings.value("casterHost").toString());
     
    4440
    4541  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);
    5450
    5551  mainLayout->addLayout(editLayout);
Note: See TracChangeset for help on using the changeset viewer.