Letting the user decide about the QToolButton text eliding options would improve the usability of QToolButtons.
Currently the user has very little control over eliding. Moreover, the call to elidedText method does not seem to take line feeds ("\n") into account at all which essentially causes QToolButton text to be unnecessarily elided if it contains line feeds.
For instance a QToolButton with the text "ABCDE" could be drawn normally, not elided. In the meanwhile "ABCDE\nEDCBA" would appear elided even when the vertical space is sufficient to have it on two rows.
Run the attachment to reproduce.