1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

OP-1351 calibration ui : Moved instruction panel below button panel to free

space for visual help. Made visual help image respect aspect ration. Text
panels are now non editable, reworked help text and step names.
This commit is contained in:
Philippe Renon 2014-05-13 01:23:31 +02:00
parent 0a2dbb565f
commit 8cea28a221
2 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,7 @@ void SixPointCalibrationModel::start(bool calibrateAccel, bool calibrateMag)
// check if Homelocation is set
if (!homeLocationData.Set) {
// TODO
QMessageBox msgBox;
msgBox.setInformativeText(tr("<p>HomeLocation not SET.</p><p>Please set your HomeLocation and try again. Aborting calibration!</p>"));
msgBox.setStandardButtons(QMessageBox::Ok);

View File

@ -82,6 +82,7 @@ ConfigRevoWidget::ConfigRevoWidget(QWidget *parent) :
m_ui->calibrationVisualHelp->setRenderHint(QPainter::HighQualityAntialiasing, true);
m_ui->calibrationVisualHelp->setRenderHint(QPainter::SmoothPixmapTransform, true);
displayVisualHelp("empty");
// Must set up the UI (above) before setting up the UAVO mappings or refreshWidgetValues
// will be dealing with some null pointers
addUAVObject("RevoCalibration");