How do I customise the appearance of links in QLabels using style sheets?

前端 未结 4 2026
盖世英雄少女心
盖世英雄少女心 2021-02-12 23:24

I have a QLabel with a Qt stylesheet that sets a dark background:

QLabel {
background: black;
color: white;
}

This works fine unt

4条回答
  •  死守一世寂寞
    2021-02-12 23:45

    One way is to add style="color: whatever" or a class to the inner of the link. I haven't figured out yet how to apply this to the whole application but it's a good start.

提交回复
热议问题