Do you understand me what i mean?
Yes, but I do need to sleep from time to time.

Clearly if you connect the back button to only one QWebView then only one QWebView can be affected. Connect your back button to a slot of your own that looks up the current tab widget (QTabWidget::currentWidget()), qobject_cast it to QWebView*, and call back() on that widget. The same logic goes for the forward button etc.