например

у переопределить 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). Ты знаешь, как я могу это сделать?

Ответы на вопрос(5)

Ваш ответ на вопрос