1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

GCS - OPMap - small changes to the home editor.

This commit is contained in:
PT_Dreamer 2012-06-24 19:58:09 +01:00
parent e34fc5be71
commit 3466420a32
2 changed files with 16 additions and 0 deletions

View File

@ -16,6 +16,7 @@ homeEditor::homeEditor(HomeItem *home, QWidget *parent) :
ui->altitude->setValue(home->Altitude());
ui->latitude->setValue(home->Coord().Lat());
ui->longitude->setValue(home->Coord().Lng());
this->show();
}
homeEditor::~homeEditor()

View File

@ -46,6 +46,9 @@
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="altitude">
<property name="minimum">
<double>-999999999.000000000000000</double>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property>
@ -56,6 +59,12 @@
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="longitude">
<property name="decimals">
<number>8</number>
</property>
<property name="minimum">
<double>-999999999.000000000000000</double>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property>
@ -78,6 +87,12 @@
<height>0</height>
</size>
</property>
<property name="decimals">
<number>8</number>
</property>
<property name="minimum">
<double>-999999999.000000000000000</double>
</property>
<property name="maximum">
<double>999999999.000000000000000</double>
</property>