View Full Version : how to echo this "&"
tsuibin
2nd April 2009, 18:38
i write & on a button,
make ,but then i see it change to "_" or can't see it
why ? hot to solve it ?
some people said use &&,
who has a better way
spirit
2nd April 2009, 18:41
from Qt Assistant
...
On certain widgets, using '&' in front of a character will automatically create a mnemonic (a shortcut) for that character, e.g. "E&xit" will create the shortcut Alt+X (use '&&' to display an actual ampersand).
...
read this (http://doc.trolltech.com/4.5/qshortcut.html) for more info.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.