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
Post a Comment