You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
747 B

  1. #ifndef MAINWINDOW_H
  2. #define MAINWINDOW_H
  3. #include <QMainWindow>
  4. #include <QString>
  5. #include <QChar>
  6. #include <QClipboard>
  7. #include <QFileDialog>
  8. #include <QDesktopWidget>
  9. #include "about.h"
  10. #include <QFile>
  11. #include <QTextStream>
  12. #include <QDir>
  13. #include "libxl.h"
  14. #if defined(Q_OS_WINDOW)
  15. #include <QSettings>
  16. #endif
  17. namespace Ui {
  18. class MainWindow;
  19. }
  20. class MainWindow : public QMainWindow
  21. {
  22. Q_OBJECT
  23. public:
  24. explicit MainWindow(QWidget *parent = 0);
  25. ~MainWindow();
  26. private slots:
  27. void on_BtnExit_clicked();
  28. void on_BtnBrowse_clicked();
  29. void on_actionExit_triggered();
  30. void on_actionAbout_triggered();
  31. private:
  32. Ui::MainWindow *ui;
  33. QString filename = "";
  34. int ReadExcel();
  35. };
  36. #endif // MAINWINDOW_H