29 lines
503 B
C++
29 lines
503 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <QListWidgetItem>
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QMainWindow {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
MainWindow(const MainWindow &) = delete;
|
|
~MainWindow();
|
|
MainWindow &operator=(const MainWindow &) = delete;
|
|
|
|
public slots:
|
|
void loadFile();
|
|
void showResult(QListWidgetItem *item);
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|