Need to connect checkbox to custom slot in tree view with constant argument, something like this:
connect(checkBox, SIGNAL(clicked(bool)), tableView, SLOT(mySlot(int col, bool)));
1st argument type int should be constant like 0,1,2... How to write this correctly with new Qt 5 connection system and lambda expression in C++11?
Aucun commentaire:
Enregistrer un commentaire