Я хочу переопределить mouseReleaseEvent с помощью набора QActions и QMenus ...
connect(action1, SIGNAL(triggered()), this, SLOT(onStepIncreased()));
connect(action5, SIGNAL(triggered()), this, SLOT(onStepIncreased()));
connect(action10, SIGNAL(triggered()), this, SLOT(onStepIncreased()));
connect(action25, SIGNAL(triggered()), this, SLOT(onStepIncreased()));
connect(action50, SIGNAL(triggered()), this, SLOT(onStepIncreased()));
Итак, я хочу передать аргумент в слот onStepIncreased
(как вы понимаете, они 1,5,10,25,50). Вы знаете, как я могу это сделать?