hi,
i have this problem that dont know how to implement it.
i have this mainwindow that have a qtablewidget that you select an item in the qtablewidget and click the button to view its details.
the problem is i dont know how to pass the data from qtablewidget to the newly opened qdialog. i know how to get the data in the qtablewidget but i dont know how to pass it to qdialog.
this is how i open a qdialog..
Qt Code:
MainWindow::MainWindow() { NewDialog dialog(this); dialog.exec(); }To copy to clipboard, switch view to plain text mode
Bookmarks