qgraphicsobject类中pos()函数的问题 [英] the problem with pos() function in qgraphicsobject class

查看:143
本文介绍了qgraphicsobject类中pos()函数的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
当我使用pos()函数返回项目的一个点的x和y时,我有一个项目。

此函数总是返回0。但我想知道一个项目点的x坐标和y坐标。我怎么能解决这个问题呢?

请帮帮我

hi i have an item when i use the pos() function to return x and y of one point of item .
this function always return 0 . but i want to know the x coordinate and y coordinate of one point of item . how can i solve this problem?
please help me

推荐答案

这篇关于qgraphicsobject类中pos()函数的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆