[Qt-interest] how to make word wraping on QPushButton, QRadioButton and QCheckBox?

Ankit Agarwal ankit17.ag at gmail.com
Tue Dec 2 05:22:19 CET 2008


Hi Peng,
I do not know how to do this but I think that if you have a look at the
source of the Qxt package, then you may get some clue.

On Tue, Dec 2, 2008 at 3:58 AM, Peng Shaoxi <shaoxi.peng at gmail.com> wrote:

> 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.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Regards,
Ankit Agarwal
SW Engineer
Vegayan Systems
email : ankit_agarwal at vegayan.com
Blog : http://ankit17.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081202/7a502330/attachment.html 


More information about the Qt-interest-old mailing list