I have main widget consisting of tableview and button.
When click on the button QDialog appears.
I put some data and execute query.When click update in QDialog i close() the dialog and want to update the table in the Widget.
If i wanted to update the dialog i would make like this

ui->this->tableView->repaint(); or call another method.

But how to reach and trigger the UI of another widget?From the dialog to update the table in the widget?