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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.