|
openPilotLog
|
18 #ifndef PILOTSWIDGET_H
19 #define PILOTSWIDGET_H
22 #include <QItemSelection>
23 #include <QSqlTableModel>
25 #include "src/classes/asettings.h"
26 #include "src/gui/dialogues/newpilotdialog.h"
27 #include "src/gui/widgets/settingswidget.h"
62 void tableView_selectionChanged();
63 void tableView_headerClicked(
int);
64 void on_newPilotButton_clicked();
65 void on_deletePilotButton_clicked();
66 void onDeleteUnsuccessful();
67 void onNewPilotDialog_editingFinished();
68 void on_pilotSearchLineEdit_textChanged(
const QString &arg1);
88 QSqlTableModel *model;
92 QItemSelectionModel* selectionModel;
96 QVector<qint32> selectedPilots;
98 void setupModelAndView();
100 void connectSignalsAndSlots();
102 inline void refreshView(){model->select();}
111 #endif // PILOTSWIDGET_H