You are not logged in.


Wednesday, December 14th 2016, 9:25pm

Updating LineEdit through WebView

Hello everyone, I'm fairly new to Qt. I m trying to make a simple web browser and there is something i cannot figure out.
I am using LineEdit widget in designer so that when the user enters a web address, it is loaded in the webview. Now I cannot understand is, when the user clicks on any link or or navigates using the webview, the url in the line edit widget should update itself. like, if the the user opens by entering it in the line edit, and then goes to through the google home page or searches for anything else, the webview should send the url to line edit and then line edit should update it. This is the part I don't understand. I would show my code but there isn't anything as i do not know which signals and slots to use. Any help will be appreciated. :)

Similar threads

Used tags

QLineEdit, QWebView