Changeset 5219 in ntrip for trunk/BNC


Ignore:
Timestamp:
Jun 16, 2013, 3:13:19 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r5218 r5219  
    10341034  // PPP Client (third panel)
    10351035  // ------------------------
    1036   QGridLayout* ppp3Layout = new QGridLayout;
    1037   ppp3Layout->setColumnMinimumWidth(0,2*ww);
    1038   ir = 0;
    1039   ppp3Layout->addWidget(new QLabel("Precise Point Positioning, Panel 3."), ir, 0, 1, 10);
    1040   ++ir;
    1041   ppp3Layout->addWidget(new QLabel("dN/dE/dH Plot"), ir, 0, Qt::AlignLeft);
    1042   ppp3Layout->addWidget(_pppPlotCoordinates,         ir, 1, Qt::AlignLeft);
    1043   ++ir; ++ir;
     1036  QVBoxLayout* ppp3Layout = new QVBoxLayout;
     1037  ppp3Layout->addWidget(new QLabel("Precise Point Positioning, Panel 3."));
     1038
     1039  QHBoxLayout* ppp3LayoutHlp1 = new QHBoxLayout;
     1040  ppp3LayoutHlp1->addWidget(new QLabel("PPP Plot"));
     1041  ppp3LayoutHlp1->addWidget(_pppPlotCoordinates);
     1042  ppp3LayoutHlp1->addStretch();
     1043  ppp3Layout->addLayout(ppp3LayoutHlp1);
     1044
     1045  QHBoxLayout* ppp3LayoutHlp2 = new QHBoxLayout;
    10441046  _mapWinButton = new QPushButton;
    10451047  _mapWinButton->setText("Google / Open Street Map");
     
    10471049  QRadioButton* _osmRadioButton = new QRadioButton;
    10481050  connect(_mapWinButton, SIGNAL(clicked()), SLOT(slotMapPPP()));
    1049   ppp3Layout->addWidget(_mapWinButton,        ir, 0, 1, 2, Qt::AlignLeft);
    1050   ppp3Layout->addWidget(_gmRadioButton,       ir, 3, Qt::AlignRight);
    1051   ppp3Layout->addWidget(new QLabel("Google"), ir, 4, Qt::AlignLeft);
    1052   ppp3Layout->addWidget(_osmRadioButton,      ir, 5, Qt::AlignRight);
    1053   ppp3Layout->addWidget(new QLabel("OSM"),    ir, 6, Qt::AlignLeft);
    1054   ++ir;
    1055   pLayout->addWidget(new QLabel(" "),         ir, 0);
    1056   ++ir;
    1057   pLayout->addWidget(new QLabel(" "),         ir, 0);
    1058   ++ir;
    1059   pLayout->addWidget(new QLabel(" "),         ir, 0);
    1060 
     1051  ppp3LayoutHlp2->addWidget(_mapWinButton);
     1052  ppp3LayoutHlp2->addWidget(_gmRadioButton);
     1053  ppp3LayoutHlp2->addWidget(new QLabel("Google"));
     1054  ppp3LayoutHlp2->addWidget(_osmRadioButton);
     1055  ppp3LayoutHlp2->addWidget(new QLabel("OSM"));
     1056  ppp3LayoutHlp2->addStretch();
     1057  ppp3Layout->addLayout(ppp3LayoutHlp2);
     1058
     1059  ppp3Layout->addStretch();
    10611060  ppp3group->setLayout(ppp3Layout);
    10621061
Note: See TracChangeset for help on using the changeset viewer.