18 #ifndef LOGBOOKWIDGET_H
19 #define LOGBOOKWIDGET_H
22 #include <QItemSelection>
23 #include <QSqlTableModel>
24 #include <QMessageBox>
28 #include "src/gui/widgets/settingswidget.h"
54 void on_newFlightButton_clicked();
55 void on_editFlightButton_clicked();
56 void on_deleteFlightPushButton_clicked();
57 void on_showAllButton_clicked();
58 void flightsTableView_selectionChanged();
59 void on_tableView_customContextMenuRequested(
const QPoint &pos);
60 void on_actionDelete_Flight_triggered();
61 void on_actionEdit_Flight_triggered();
62 void on_tableView_doubleClicked();
63 void on_flightSearchLlineEdit_textChanged(
const QString &arg1);
64 void on_flightSearchComboBox_currentIndexChanged(
int);
72 Ui::LogbookWidget *ui;
76 QSqlTableModel* displayModel;
78 QItemSelectionModel* selectionModel;
82 QVector<qint32> selectedFlights;
84 void setupModelAndView(
int view_id);
85 void connectSignalsAndSlots();
94 #endif // LOGBOOKWIDGET_H