diff --git a/src/blackgui/editors/coordinateform.cpp b/src/blackgui/editors/coordinateform.cpp index 470c37ee4..e60ba6e3c 100644 --- a/src/blackgui/editors/coordinateform.cpp +++ b/src/blackgui/editors/coordinateform.cpp @@ -122,6 +122,10 @@ namespace BlackGui ui->le_Elevation->setText(elvString); ui->lblp_ElvCheck->setTicked(!elvString.isEmpty()); + std::array v = coordinate.normalVectorDouble(); + ui->le_X->setText(QString::number(v[0])); + ui->le_Y->setText(QString::number(v[1])); + ui->le_Z->setText(QString::number(v[2])); return true; } diff --git a/src/blackgui/editors/coordinateform.ui b/src/blackgui/editors/coordinateform.ui index 2c29b1083..a9cf68197 100644 --- a/src/blackgui/editors/coordinateform.ui +++ b/src/blackgui/editors/coordinateform.ui @@ -6,21 +6,22 @@ 0 0 - 631 - 133 + 671 + 160 - - - 0 - 0 - - Frame - + + + + + + + + @@ -33,13 +34,6 @@ - - - - deg. - - - @@ -47,208 +41,7 @@ - - - - E - - - true - - - bg_EW - - - - - - - N - - - true - - - bg_NS - - - - - - - min - - - - - - - ICAO, city - - - - - - - fract.sec - - - - - - - Latitude (0°-90°): - - - - - - - sec - - - - - - - - 120 - 0 - - - - WGS 0° 0' 0.000" N/S - - - - - - - - - - - - - - Longitude (0°-180°): - - - - - - - - 120 - 0 - - - - WGS 0° 0' 0.000" E/W - - - - - - - Elevation: - - - - - - - sec - - - - - - - - - - - - - - - 120 - 0 - - - - - - - - Location: - - - - - - - min - - - - - - - deg. - - - - - - - min - - - - - - - S - - - bg_NS - - - - - - - W - - - bg_EW - - - - - - - deg - - - - - - - fract.sec - - - - - - - sec - - - - + QFrame::StyledPanel @@ -299,6 +92,235 @@ + + + + ICAO, city + + + + + + + true + + + + + + + sec + + + + + + + true + + + + + + + min + + + + + + + Elevation: + + + + + + + deg. + + + + + + + S + + + bg_NS + + + + + + + E + + + true + + + bg_EW + + + + + + + Latitude (0°-90°): + + + + + + + fract.sec + + + + + + + N + + + true + + + bg_NS + + + + + + + W + + + bg_EW + + + + + + + sec + + + + + + + fract.sec + + + + + + + + 120 + 0 + + + + WGS 0° 0' 0.000" N/S + + + + + + + min + + + + + + + true + + + + + + + min + + + + + + + Longitude (0°-180°): + + + + + + + + 120 + 0 + + + + WGS 0° 0' 0.000" E/W + + + + + + + Location: + + + + + + + deg. + + + + + + + X/Y/Z: + + + + + + + + 120 + 0 + + + + + + + + sec + + + + + + + + + + + + + + deg + + + @@ -331,7 +353,7 @@ - +