Button.setUseUnderline

void setUseUnderline(bool useUnderline)

If true, an underline in the text of the button label indicates the next character should be used for the mnemonic accelerator key.

Parameters

useUnderlinetrue if underlines in the text indicate mnemonics