Hi all,
I would like to use shortcuts in my GUI application. In the Big Book (C++-GUI Programming with Qt4 - 1st ed) I found an example, which works very well, in which the author suggests to enable the shortcut simply by declarating like this:
findButton = new QPushButton(tr("&Find"));
But in this example we don't use the Designer. My application on the other hand was created with the help of the Designer embedded into QtCreator. I tryed to define the text variable like "&next" (ect), and in the designer I can see the underlined letters, but they disappear when I try to run the program, as if it has never been set.
Thanks for future help
Szilvi
Bookmarks