Can you tell, how you are loading.
Qt Code: Switch view curpixmap.load(fileName); scene->setBackgroundBrush(QBrush(curpixmap)); curpixmap.load(fileName); scene->setBackgroundBrush(QBrush(curpixmap)); To copy to clipboard, switch view to plain text mode
curpixmap.load(fileName); scene->setBackgroundBrush(QBrush(curpixmap));
Originally Posted by qtuser20 Qt Code: Switch view curpixmap.load(fileName); scene->setBackgroundBrush(QBrush(curpixmap)); curpixmap.load(fileName); scene->setBackgroundBrush(QBrush(curpixmap)); To copy to clipboard, switch view to plain text mode Ok, this is clear, your scene is fixed size and bigger than the size of pixmap. So pixmap has to adjust like that. Either change your scene size according to pixmap size or, use bigger image.
Forum Rules
Bookmarks