18 #ifndef AIRCRAFTWIDGET_H
19 #define AIRCRAFTWIDGET_H
22 #include <QItemSelection>
23 #include <QSqlTableModel>
27 #include "src/classes/asettings.h"
28 #include "src/gui/dialogues/newtaildialog.h"
31 #include "src/experimental/adatabase.h"
32 #include "src/experimental/atailentry.h"
33 #include "src/experimental/aflightentry.h"
49 void tableView_selectionChanged();
51 void tableView_headerClicked(
int column);
53 void on_deleteButton_clicked();
55 void on_newAircraftButton_clicked();
57 void acft_editing_finished();
59 void on_aircraftSearchLineEdit_textChanged(
const QString &arg1);
62 void onDisplayModel_dataBaseUpdated();
65 Ui::AircraftWidget *ui;
67 QSqlTableModel *model;
71 QItemSelectionModel* selection;
75 QVector<qint32> selectedTails;
77 void setupModelAndView();
79 void onDeleteUnsuccessful();
82 #endif // AIRCRAFTWIDGET_H