equal
deleted
inserted
replaced
14 { |
14 { |
15 ui_->setupUi(this); |
15 ui_->setupUi(this); |
16 ui_->tabs->setCurrentIndex(0); // avoid changes done in the designer! |
16 ui_->tabs->setCurrentIndex(0); // avoid changes done in the designer! |
17 |
17 |
18 // prepare the Qwt tab |
18 // prepare the Qwt tab |
19 plot_->setAxisTitle(plot_->yLeft, tr("Altitude")); |
19 plot_->setAxisTitle(plot_->yLeft, tr("Altitude (m)", "axis")); |
20 plot_->setAxisTitle(plot_->xBottom, tr("Time")); |
20 plot_->setAxisTitle(plot_->xBottom, tr("Time")); |
21 |
21 |
22 ui_->qwt->setLayout(new QGridLayout); |
22 ui_->qwt->setLayout(new QGridLayout); |
23 ui_->qwt->layout()->addWidget(plot_); |
23 ui_->qwt->layout()->addWidget(plot_); |
24 |
24 |