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