英语好的可直接查看帮助手册。 The coordinates can be set (or altered) using the setX() and setY() functions QPoint类的对象可以通过 setX()和setY函数进行设置 如下所示 p.setX(p.x() + 1);p的横坐标就在本身上加一了