Hi,

I'm having difficulty in displaying a check box with long text label. The widget containing this check box has fixed width (insufficient for the long label) and fixed height (more than sufficient space for the long label to be displayed in multiline). Instead of being word-wrapped, the label got cut at the end of first line.

I searched the QCheckBox API for wordWrap property just like QLabel but to no avail. I searched this forum and googled but I found nothing useful for my purpose.

One solution may be - to use a QLabel instead of QCheckBox text and arranging the QCheckBox and QLabel instances in a QHBoxLayout. But one problem surfaces - clicking on QLabel doesn't toggle state of intended QCheckBox. I found no signal to detect clicking on QLabel, though I know it makes little sense.

Please suggest as to how I can have a check box with multiline text label.