Hello. Recently I am writing in Qt and I do not understand everything yet. In general, I created a form - data is written there, when you click a button, a second window opens in which you also need to enter data, and when you click a button on a new window, these data must be written into an array - can you tell me how to do this? From the basic form, everything is saved, but I don’t understand how to do this with the second form.
void MainWindow::on_pushButton_clicked() { QLocale::setDefault(QLocale::C); double Alpha[] = { 2.33, 2.05, 1.88, 1.75, 1.645 }; int N = (ui->lineEdit->text()).toInt(); int n = (ui->lineEdit_2->text()).toInt(); int num_class = (ui->lineEdit_12->text()).toInt(); int quantile = (ui->lineEdit_13->text()).toInt(); double *P = new double[n]; double *Q = new double[n]; double *M = new double[n]; int s = 0; for(int i = 0; i < n; ++i) { dialog = new DialogWindow(this); dialog->show(); Что дальше??? }}