|
openPilotLog
|
18 #ifndef AIRCRAFTWIDGET_H
19 #define AIRCRAFTWIDGET_H
22 #include <QItemSelection>
23 #include <QSqlTableModel>
25 #include "src/gui/widgets/settingswidget.h"
61 void tableView_selectionChanged();
63 void tableView_headerClicked(
int column);
65 void on_deleteAircraftButton_clicked();
67 void on_newAircraftButton_clicked();
69 void onNewTailDialog_editingFinished();
71 void on_aircraftSearchLineEdit_textChanged(
const QString &arg1);
89 Ui::AircraftWidget *ui;
91 QSqlTableModel *model;
95 QItemSelectionModel* selection;
102 QVector<qint32> selectedTails;
104 void setupModelAndView();
106 void connectSignalsAndSlots();
108 void onDeleteUnsuccessful();
110 inline void refreshView(){model->select();}
119 #endif // AIRCRAFTWIDGET_H