initial commit

This commit is contained in:
2019-11-21 18:14:58 +01:00
parent beba587810
commit c22eb62fc9
12 changed files with 423 additions and 27 deletions
+18 -2
View File
@@ -1,7 +1,13 @@
#ifndef CMAINWINDOW_H
#define CMAINWINDOW_H
#include "csplashscreen.h"
#include <QMainWindow>
#include <QFontDatabase>
#include <QCloseEvent>
QT_BEGIN_NAMESPACE
namespace Ui { class cMainWindow; }
@@ -12,10 +18,20 @@ class cMainWindow : public QMainWindow
Q_OBJECT
public:
cMainWindow(QWidget *parent = nullptr);
cMainWindow(cSplashScreen* lpSplashScreen, QWidget *parent = nullptr);
~cMainWindow();
private:
Ui::cMainWindow *ui;
Ui::cMainWindow* ui;
cSplashScreen* m_lpSplashScreen;
QFontDatabase m_fontDatabase;
void initUI();
void createActions();
void createFileActions();
void createContextActions();
protected:
void closeEvent(QCloseEvent* event);
};
#endif // CMAINWINDOW_H