Important: Please read the Qt Code of Conduct -

CSS inheritance in QGraphicsView

  • Hi!

    Is it possible to inherit css code from QGraphicsScene/QGraphicsView, to child items, which are QGraphicsTextItems in my case?
    And if it's, how?

    If I set h3{ color: #F00}; in QGraphicsScene, every Text item which has html h3 tags would be red.


Log in to reply