是個問題呀,一直沒找到合適的方法。 fitInView centerOn boundingRect shape toSceneCoor drawBackground hierarchyView toWorldCoor 格點 精確 scene設置rootItem后對原parent體系的變更 (item *a; item *b; b->setParent(a); scene()->addItem();)