Change log to be a QMainWindow
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
23
launcher/ui/ViewLogWindow.h
Normal file
23
launcher/ui/ViewLogWindow.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
#include "Application.h"
|
||||
|
||||
class OtherLogsPage;
|
||||
|
||||
class ViewLogWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ViewLogWindow(QWidget* parent = nullptr);
|
||||
|
||||
signals:
|
||||
void isClosing();
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent*) override;
|
||||
|
||||
private:
|
||||
OtherLogsPage* m_page;
|
||||
};
|
||||
Reference in New Issue
Block a user