Button.setUseUnderline

void setUseUnderline(bool useUnderline)

Sets whether to use underlines as mnemonics.

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