Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QGraphicsItem and Layouts

    General and Desktop
    3
    3
    4167
    Loading More Posts
    • 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.
    • Q
      qxoz last edited by

      Hi everyone!
      Is there any ability of layout and align for QGraphicsItem inside another QGraphicsItem?
      I mean something like QVBoxLayout.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • D
        DerManu last edited by

        http://qt-project.org/doc/qt-4.8/qgraphicslayout.html
        http://qt-project.org/doc/qt-4.8/qgraphicsanchorlayout.html
        http://qt-project.org/doc/qt-4.8/qgraphicsgridlayout.html
        http://qt-project.org/doc/qt-4.8/qgraphicslinearlayout.html

        1 Reply Last reply Reply Quote 0
        • A
          Asperamanca last edited by

          Use QGraphicsWidgets instead of QGraphicsItems, and the links DerManu provided.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post