Details
-
Suggestion
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
None
Description
Using an ambersand with QPushButton creates automatically a shortcut, for example
QPushButton *button = new QPushButton("&Press Me", this);
creates a shortcut for ALT + P. The same thing does not work with QML Buttons, for example
Button {
text: qsTr("&Press Me")
}
This adds the underscore to the "P" but there is no shortcut for it. Would it be possible to add similar automatic shortcut in QML as it is with QWidgets?