mainwindow.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*
  2. *openPilot Log - A FOSS Pilot Logbook Application
  3. *Copyright (C) 2020 Felix Turowsky
  4. *
  5. *This program is free software: you can redistribute it and/or modify
  6. *it under the terms of the GNU General Public License as published by
  7. *the Free Software Foundation, either version 3 of the License, or
  8. *(at your option) any later version.
  9. *
  10. *This program is distributed in the hope that it will be useful,
  11. *but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. *GNU General Public License for more details.
  14. *
  15. *You should have received a copy of the GNU General Public License
  16. *along with this program. If not, see <https://www.gnu.org/licenses/>.
  17. */
  18. #ifndef MAINWINDOW_H
  19. #define MAINWINDOW_H
  20. #include <QMainWindow>
  21. QT_BEGIN_NAMESPACE
  22. namespace Ui { class MainWindow; }
  23. QT_END_NAMESPACE
  24. class MainWindow : public QMainWindow
  25. {
  26. Q_OBJECT
  27. public:
  28. MainWindow(QWidget *parent = nullptr);
  29. ~MainWindow();
  30. private slots:
  31. void nope();
  32. void on_newflightButton_clicked();
  33. void on_actionNew_Flight_triggered();
  34. void on_actionQuit_triggered();
  35. void on_quitButton_clicked();
  36. void on_ShowAllButton_clicked();
  37. void on_filterComboBox_activated(const QString &arg1);
  38. void on_editflightButton_clicked();
  39. void on_deleteFlightPushButton_clicked();
  40. void on_FilterDateEdit_editingFinished();
  41. void on_filterFlightsByDateButton_clicked();
  42. void on_EasaViewButton_clicked();
  43. void on_tableView_pressed(const QModelIndex &index);
  44. void on_tableView_entered(const QModelIndex &index);
  45. private:
  46. Ui::MainWindow *ui;
  47. };
  48. #endif // MAINWINDOW_H