Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int i = 0; i < max; i++){
- QObject::connect(button[i], &QPushButton::clicked, this, MainWindow::function);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement