- pos_label = new QLabel("Position");
- pos_lat = new QLineEdit("lat");
- pos_lon = new QLineEdit("lon");
- pos_acc = new QLineEdit("acc");
- pos_tis = new QLineEdit("tis");
-
- pos_lat->setReadOnly(true);
- pos_lon->setReadOnly(true);
- pos_acc->setReadOnly(true);
- pos_tis->setReadOnly(true);
-
- layout_row2->addWidget(pos_label);
- layout_row2->addWidget(pos_lat);
- layout_row2->addWidget(pos_lon);
- layout_row2->addWidget(pos_acc);
- layout_row2->addWidget(pos_tis);
-
- connect(&gps, SIGNAL(gotUpdate()), this, SLOT(get_gps()) );
- connect(&gps, SIGNAL(gotFix()), this, SLOT(set_latitude()) );
-
- // row 3
- layout_row3 = new QHBoxLayout();