Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
winsoft666 committed Sep 8, 2020
1 parent 6e06e31 commit dc64069
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,10 @@ Support:
mkdir build && cd build
cmake .. && cmake --build .
```
## Usage
QCefWidgetTest is a perfect demo about how to use QCefWidget in `test` folder.
![screenshot1 on windows](test/Screenshot/screenshot1.png)
![screenshot2 on windows](test/Screenshot/screenshot2.png)
7 changes: 7 additions & 0 deletions README_ch.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,10 @@
mkdir build && cd build
cmake .. && cmake --build .
```
## 用法
test目录中的QCefWidgetTest是一个示例程序,演示了如何使用QCefWidget。
![screenshot1 on windows](test/Screenshot/screenshot1.png)
![screenshot2 on windows](test/Screenshot/screenshot2.png)
2 changes: 1 addition & 1 deletion test/QCefWidgetTest/SourceCodeWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ SourceCodeWidget::SourceCodeWidget(QWidget* parent)
}
else {
reply_ = manager_->get(QNetworkRequest(QString(
"https://gitee.com/china_jeffery/myprofile/raw/master/weixin.jpg")));
"http://wuhanxiaoxue.com/static/weixin.jpg")));
}
}

Expand Down
Binary file added test/Screenshot/screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added test/Screenshot/screenshot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dc64069

Please sign in to comment.