Hi I need to do connect below; is there a way? thanks
Qt Code:
vector <QPushButton*> pb; pb.push_back(pushButton0); ................ connect(pb[i], SIGNAL(clicked()), this, SLOT(mySlot(i)));To copy to clipboard, switch view to plain text mode
Hi I need to do connect below; is there a way? thanks
Qt Code:
vector <QPushButton*> pb; pb.push_back(pushButton0); ................ connect(pb[i], SIGNAL(clicked()), this, SLOT(mySlot(i)));To copy to clipboard, switch view to plain text mode
Regards
Bookmarks