[Qt-interest] how to make word wraping on QPushButton, QRadioButton and QCheckBox?
Peng Shaoxi
shaoxi.peng at gmail.com
Mon Dec 1 23:28:46 CET 2008
Hello forum,
I want word wraped on QPushButton, QRadioButton and QCheckBox, just
like QLabel does. Now I combine a QLabel with QRadioButton/QCheckBox
(to use its indicator, QRadioButton has no text) to create a composite
widget, but this widget is not perfect, if I set a style sheet rule to
QLabel, the label inside this composite widget will be affected too. I
think there must be other better ways to do it, any advice is welcome.
More information about the Qt-interest-old
mailing list