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?

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

    Regrads,
    Jake


Log in to reply
 

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