StupidBeauty
Read times:362Posted at:Tue Nov 30 21:07:48 2010 - no title specified

Qt4.7.0文档翻译: void QGraphicsItem::setPos ( const  QPointF  &  pos  )

void QGraphicsItem::setPos ( const  QPointF  &  pos  )

将这个图形元素的位置设置成pos ,这是在亲代对象的坐标系里的 。对于没有亲代对象的图形元素 pos是在场景的坐标系里的

这个图形元素的位置描述的是它的原点(本地坐标(0, 0))在亲代对象的坐标系里的坐标。

参见 pos () scenePos () 图形视图坐标系统

Your opinions

Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands