Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946

QTreeWidget Stylesheet for selected Children



  • Hi,
    I have a QtreeWidget where I add custom Widgets of mine.
    Ive added a Stylesheet for Selection

    @QTreeWidget::item:selected{
    color: rgb(255, 255, 0);
    background-color: #1d69e1;
    }@

    The Background works but the Fore-Ground Color doesnt, The Labels on the Widget are always Black.
    Are there any Tags to effect Children as well or any other Soloutions?


Log in to reply