Use it this way
Qt Code:
//program.cpp ui(new Ui::program) { ui->setupUi(this); wnd1 * w1 = new wnd1(this); connect(b, SIGNAL(clicked()), w1, SLOT(test())); }To copy to clipboard, switch view to plain text mode
Use it this way
Qt Code:
//program.cpp ui(new Ui::program) { ui->setupUi(this); wnd1 * w1 = new wnd1(this); connect(b, SIGNAL(clicked()), w1, SLOT(test())); }To copy to clipboard, switch view to plain text mode
Last edited by Santosh Reddy; 13th July 2011 at 20:35.
lucastonon (14th July 2011)
Bookmarks