18 #ifndef AIRCRAFTWIDGET_H
19 #define AIRCRAFTWIDGET_H
22 #include <QItemSelection>
23 #include <QSqlTableModel>
25 #include "src/gui/widgets/settingswidget.h"
26 #include "src/gui/dialogues/newtaildialog.h"
62 void tableView_selectionChanged();
64 void tableView_headerClicked(
int column);
66 void on_deleteAircraftButton_clicked();
68 void on_newAircraftButton_clicked();
70 void onNewTailDialog_editingFinished();
72 void on_aircraftSearchLineEdit_textChanged(
const QString &arg1);
90 Ui::AircraftWidget *ui;
92 QSqlTableModel *model;
96 QItemSelectionModel* selection;
103 QVector<qint32> selectedTails;
105 const QString getAircraftTypeString(
const OPL::Row &row)
const;
109 void setupModelAndView();
111 void connectSignalsAndSlots();
113 void onDeleteUnsuccessful();
115 inline void refreshView(){model->select();}
A Row representing a Flight entry. See Row class for details.
Definition: row.h:133
The Row class provides an interface for retreiving and submitting entries from the database.
Definition: row.h:46