Thanks for the reply. I have tried the following in the timer update
tx += 0.2f;
ty += 0.5f;
m_BackgroundBrush = graphicsView->backgroundBrush();
m_BackgroundBrush.transform().translate(tx, ty);
graphicsView->setBackgroundBrush(m_BackgroundBrush);
tx += 0.2f;
ty += 0.5f;
m_BackgroundBrush = graphicsView->backgroundBrush();
m_BackgroundBrush.transform().translate(tx, ty);
graphicsView->setBackgroundBrush(m_BackgroundBrush);
To copy to clipboard, switch view to plain text mode
But the background brush is not moving.
Bookmarks