Important: Please read the Qt Code of Conduct -

Adding layers to QGraphicsScene [Something like Photoshop]

  • Hi,
    I am looking for a way to add layers for having multiple objects existing on the same plane [possible overlapping].
    I want that depending on the transparency, the object behind may be visible.
    Also, I would prefer if the same was possible via Ui editor.

    Another thing would possibly be to add a watermark type text to a QFrame [I want that the text would be visible behind the QPushButton(s) on the said frame. [I would like to reduce their transparency somehow].


    P.S I don't use QML at all.

  • Hi! You can change the stack-order of your items with void QGraphicsItem::setZValue(qreal z), link.

  • This post is deleted!

Log in to reply