i have QMenu that holds sub menu i like to be able to update each menu title string dynamccly for example i have this menu
[main menu ] Groups 2
[sub menu] group_X 3
[sub menu] group_Y 1
i like to be able to change only the numbers part of the string in each menu entry from my application which approach should i peek ?
Set the title
menu -> setTitle (tr ("Number %1") .arg (123));