mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-12-15 03:22:05 +08:00
1.0版本提交
支持命令行顺序解析 支持命令行指定参数解析 支持配置文件解析 命令行优先级大于配置文件优先级
This commit is contained in:
31
SparkWebAppRuntime/widget.h
Normal file
31
SparkWebAppRuntime/widget.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#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 = 0);
|
||||
~Widget();
|
||||
|
||||
void goBack();
|
||||
void goForward();
|
||||
void refresh();
|
||||
|
||||
private:
|
||||
Ui::Widget *ui;
|
||||
QWebEngineView *m_webEngineView;
|
||||
QString m_szUrl;
|
||||
};
|
||||
|
||||
#endif // WIDGET_H
|
||||
Reference in New Issue
Block a user