41 lines
649 B
C++
41 lines
649 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class GenericCore;
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
QT_END_NAMESPACE
|
|
|
|
class MainWindow : public QMainWindow {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(QWidget* parent = nullptr);
|
|
~MainWindow();
|
|
|
|
signals:
|
|
void displayStatusMessage(QString message);
|
|
void checkForUpdates();
|
|
|
|
protected:
|
|
void closeEvent(QCloseEvent* event) override;
|
|
|
|
private slots:
|
|
void showStatusMessage(const QString text);
|
|
|
|
void on_pushButton_clicked();
|
|
void on_actionCheck_for_update_triggered();
|
|
|
|
private:
|
|
Ui::MainWindow* ui;
|
|
|
|
GenericCore* m_core;
|
|
};
|
|
#endif // MAINWINDOW_H
|