c++ - how to get non topmost qgraphicsitem from the scene -


excuse me if topic created. have and, regardless, not found one. can qgraphicsitem click coordinates beneath topmost item cute small way? mean can try use fact scene sends click-signal items beneath cursor position, seems unnecessary complication.

use qgraphicsview::items(const qpoint& pos) const return items under viewport coordinate, in descending stacking order (docs).


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -