开发者

How to do lower() and raise() for QGraphicsItem in Qt?

开发者 https://www.devze.com 2023-04-10 11:47 出处:网络
I wanted to changed z-or开发者_JAVA百科der of graphicsitems in my graphicsscene. I have used QGraphicsWebView as graphicsitem.

I wanted to changed z-or开发者_JAVA百科der of graphicsitems in my graphicsscene. I have used QGraphicsWebView as graphicsitem. How can i achieve it ?


You can use setZValue, isObscured and isObscuredBy. Documentation is precise about these methods.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号