[Interest] QTreeWidget displays blank widget

coroberti . coroberti at gmail.com
Fri Aug 10 13:41:22 CEST 2018


Hi,
Try for your widgets to call

setAutoFillBackground(true);


Kind regards,
Robert


On Thu, Aug 9, 2018 at 5:58 PM, Nicolas Krieger
<nicolas.krieger at medecom.fr> wrote:
> Hello
>
> I would like to display colored widgets in a QTreeWidget.
>
> Screenshots of what I really have are in attached files.
>
> My wigdet is colored, but when in the QTreeWidget, it is all white. How can
> I resolve it?
>
> --
> Nicolas Krieger
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>



More information about the Interest mailing list