Hi,
I've a main window, and I'opening a new window from it:
void MainWindow::slotNowyTransport(){
OFormNowyTransport = new FormNowyTransport(this);
OFormNowyTransport->show();
}
void MainWindow::slotNowyTransport(){
OFormNowyTransport = new FormNowyTransport(this);
OFormNowyTransport->show();
}
To copy to clipboard, switch view to plain text mode
and I've another function:
void MainWindow::refresh(){
refresh_list();
}
void MainWindow::refresh(){
refresh_list();
}
To copy to clipboard, switch view to plain text mode
When i've opened a OFormNowyTransport a fill the form, and call FormNowyTransport::add().
There is (in FormNowyTransport::add() function) on the end this->close(); before I'ld like to call a MainWindow::refresh() to refresh the list.
How can I do that?
Bookmarks