18 #ifndef PILOTSWIDGET_H 
   19 #define PILOTSWIDGET_H 
   22 #include <QItemSelection> 
   23 #include <QSqlTableModel> 
   25 #include "src/database/row.h" 
   26 #include "src/gui/widgets/settingswidget.h" 
   61     void tableView_selectionChanged();
 
   62     void tableView_headerClicked(
int);
 
   63     void on_newPilotButton_clicked();
 
   64     void on_deletePilotButton_clicked();
 
   65     void onDeleteUnsuccessful();
 
   66     void onNewPilotDialog_editingFinished();
 
   67     void on_pilotSearchLineEdit_textChanged(
const QString &arg1);
 
   87     QSqlTableModel *model;
 
   91     QItemSelectionModel* selectionModel;
 
   95     QVector<qint32> selectedPilots;
 
  101     void setupModelAndView();
 
  103     void connectSignalsAndSlots();
 
  105     inline void refreshView(){model->select();}
 
A Row representing a Flight entry. See Row class for details.
Definition: row.h:133
A Row representing a Pilot entry. See Row class for details.
Definition: row.h:110