2022-07-07 11:11:51 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-07-09 20:07:14 +00:00
|
|
|
#include "discordpage.h"
|
|
|
|
|
2022-07-07 11:11:51 +00:00
|
|
|
#include <QMainWindow>
|
|
|
|
#include <QScopedPointer>
|
|
|
|
#include <QString>
|
|
|
|
#include <QVector>
|
|
|
|
#include <QWebEnginePage>
|
|
|
|
#include <QWebEngineProfile>
|
|
|
|
#include <QWebEngineView>
|
|
|
|
|
|
|
|
class MainWindow : public QMainWindow {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit MainWindow(QWidget *parent = nullptr);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void setupWebView();
|
|
|
|
QWebEngineView *m_webView;
|
|
|
|
QWebEngineProfile *prepareProfile();
|
2022-07-09 20:07:14 +00:00
|
|
|
DiscordPage *m_discordPage;
|
2022-07-07 11:11:51 +00:00
|
|
|
};
|