综合平台编辑器
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

37 Zeilen
534 B

  1. #ifndef MAINWINDOW_H
  2. #define MAINWINDOW_H
  3. #include <QMainWindow>
  4. #include "hmimodule.h"
  5. QT_BEGIN_NAMESPACE
  6. namespace Ui
  7. {
  8. class MainWindow;
  9. }
  10. QT_END_NAMESPACE
  11. class MainWindow : public QMainWindow
  12. {
  13. Q_OBJECT
  14. public:
  15. MainWindow(QWidget *parent = nullptr);
  16. ~MainWindow();
  17. private:
  18. void initMainWindow();
  19. private slots:
  20. void appendLog(const QString& message);
  21. void onNewFile();
  22. void onOpenFile();
  23. void onSaveFile();
  24. private:
  25. Ui::MainWindow *ui_;
  26. HMIModule* hmi_;
  27. };
  28. #endif // MAINWINDOW_H