You could reimplement
QGraphicsScene::drawBackground(QPainter *painter, const QRectF &rect)
To copy to clipboard, switch view to plain text mode
and use the QPainter to draw the QPixmap. Because it looks me to you want the pixmap as background or?
You could even do something like
painter->drawPixmap(0,0, m_backgroundImage.scaled(rect.width(), rect.height(),Qt::IgnoreAspectRatio, Qt::SmoothTransformation));
painter->drawPixmap(0,0, m_backgroundImage.scaled(rect.width(), rect.height(),Qt::IgnoreAspectRatio, Qt::SmoothTransformation));
To copy to clipboard, switch view to plain text mode
Bookmarks