You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

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 google.com by entering it in the line edit, and then goes to images.google.com 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