#pragma once #include #include "ui_MainWindow.h" class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = Q_NULLPTR); ~MainWindow(); private: Ui::MainWindowClass* ui; int m_curSeverity; private slots: void openFile(); void aboutFile(); void aboutTool(); public slots: void showMessage(QString message, int severity); signals: void loadFile(const char*); };