As usual, create a new Qt Widgets Application project and add the
webenginewidgetsmodules to your project.
Then, open up
mainwindow.uiand remove the tool bar, menu bar, and status bar.
After that, add a vertical layout and a horizontal layout to the canvas. Then, select the canvas and click Lay Out Vertically. Make sure the horizontal layout is located at the bottom of the vertical layout.
Add two push buttons to the horizontal layout; one is called Change HTML Text and the other one is called Play UI Animation. Right-click on one of the buttons and click Go to slot…. A window will now pop up and ask you to pick a signal. Select the clicked() option and click...