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. Visible childrenBoundingRect
Forum Updated to NodeBB v4.3 + New Features

Visible childrenBoundingRect

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.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.
  • H Offline
    H Offline
    Henrik
    wrote on last edited by
    #1

    Is there a way to get the QGraphicsItem::childrenBoundingRect of all visible children, or do i have to implement it by myself ?

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      I think you will need to implement this yourself. Does the default implementation include the bounding rects of hidden items then?

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Henrik
        wrote on last edited by
        #3

        Yes it does, so i thought I just havent found the right function or trick to only get visible items. I just want to use as much Qt functions as possible.But if no such function exists, I can implement it with clear conscience.

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on last edited by
          #4

          I can see a use case for such a function too. It might be a nice addition to submit to Qt itself via a merge request on gitorious. Good luck with your project.

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tiftof
            wrote on last edited by
            #5

            I'm also looking for this functionality. Having a filter on childrenBoundingRect() would be nice.

            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