Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Adding layers to QGraphicsScene [Something like Photoshop]
Qt 6.11 is out! See what's new in the release blog

Adding layers to QGraphicsScene [Something like Photoshop]

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • VaderV Offline
    VaderV Offline
    Vader
    wrote on last edited by Vader
    #1

    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].

    Thanks

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

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

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

      1 Reply Last reply
      2
      • VaderV Offline
        VaderV Offline
        Vader
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved