【发布时间】:2015-12-25 07:03:27
【问题描述】:
我创建了一个从 QGraphicsView 派生的视图类,并将 backgroundBrush 设置为图像。我想翻译背景画笔。我已经尝试了以下
// graphicsView derived from QGraphicsView
graphicsView->backgroundBrush().transform().translate(moveX, moveY);
但它并没有改变背景画笔。
【问题讨论】:
标签: qt qgraphicsview