问题
I'm new to Qt. I am Trying to create a Sample Browser Application. I had created the Browser application. Now i need to create the Web history for my application. I don't know how to do it. can anyone please help me with this. Thanks in advance.
回答1:
QWebHistory * QWebView::history ()
The Arora Browser is based in the QWebView... as mentioned here.
This browser is the foundation for the Arora Browser, a simple cross-platform Web browser.
I would look at how they implemented their history.
In the end, though I would look through accessing the elements of QWebHistory and figure out how you want to display them and maybe use the QWebHistoryInterface.
来源:https://stackoverflow.com/questions/10868214/how-to-create-web-history-for-my-browser