Commit ff1e10dc authored by Don Gagne's avatar Don Gagne

Radio Calibration: Turning on/off advanced config show WIP plane view

parent 5af9e035
......@@ -165,14 +165,18 @@ QGCPX4VehicleConfig::QGCPX4VehicleConfig(QWidget *parent) :
connect(ui->advancedCheckBox, SIGNAL(clicked(bool)), ui->advancedGroupBox, SLOT(setVisible(bool)));
ui->advancedGroupBox->setVisible(false);
#if 0
// XXX WIP don't connect signal until completed, otherwise view will show after advanced is turned on and then off
connect(ui->advancedCheckBox, SIGNAL(clicked(bool)), ui->graphicsView, SLOT(setHidden(bool)));
ui->graphicsView->setVisible(true);
ui->graphicsView->setScene(&scene);
scene.addPixmap(planeBack);
scene.addPixmap(planeSide);
#else
// XXX hide while WIP
ui->graphicsView->hide();
#endif
ui->rcCalibrationButton->setCheckable(true);
ui->rcCalibrationButton->setEnabled(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment