28 #include "ui_homeeditor.h"
40 this->setAttribute(Qt::WA_DeleteOnClose,
true);
41 ui->altitude->setValue(home->Altitude());
42 ui->latitude->setValue(home->Coord().Lat());
43 ui->longitude->setValue(home->Coord().Lng());
52 void homeEditor::on_buttonBox_accepted()
55 myhome->SetAltitude(ui->altitude->value());
58 void homeEditor::on_buttonBox_rejected()
homeEditor(HomeItem *home, QWidget *parent=nullptr)