Hello.
i have a main form and form2.ui
in the main form i have the following code:
so i started the form2.Qt Code:
void MainWindow::on_pushButton_2_clicked()
{
Form2 *f2 = new Form2;
f2->show();
}To copy to clipboard, switch view to plain text mode
in the form2 i have a textEdit widget.
1. How can i change the text from main form?
2. How can i click a f2's pushButton or how can i call a function declared in form2.
Thanks.




 
					
					 
							
						 how can i access other form widget
 how can i access other form widget
		 
				
				
				
					 Reply With Quote
  Reply With Quote
Bookmarks