zty199 c826db09c1 Fix Bugs
Fix a bug when MainWindow is closed, AboutDialog still exists;
Resize Logo-Spark.png to 142x51.
2020-11-21 14:23:15 +08:00

33 lines
432 B
C++

#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
namespace Ui
{
class Widget;
}
class QWebEngineView;
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QString szUrl = QString(), QWidget *parent = nullptr);
~Widget();
void goBack();
void goForward();
void refresh();
private:
Ui::Widget *ui;
QWebEngineView *m_webEngineView;
QString m_szUrl;
};
#endif // WIDGET_H