请问我该如何获取graphicsView左上角在mainwindow的坐标
graphicsView是实例指针的话,用graphicsView->pos()就能得到
同问 控件在整个界面的坐标,因为布局后需要自定义控件放到指定位置,