View Full Version : as displaying an image in a mdi?
Lycus HackerEmo
5th July 2010, 03:28
as displaying an image in a mdi?
this is possible? some example.
Ginsengelf
5th July 2010, 07:18
Hi, have you already tried something? For displaying images QLabel should be sufficient.
Ginsengelf
Lycus HackerEmo
5th July 2010, 22:27
yes, I know that.
I wondered, to see it the Gwenview (http://gwenview.sourceforge.net/data/screenshots//2.4/full/new_start_page.png), use the mdi?
ChrisW67
5th July 2010, 23:03
The Qwenview screenshot looks like a couple of QTabWidgets in a fixed ratio layout or separated by a QSplitter. The tabs contain QListViews in QListView::IconMode. I cannot see an obvious QMdiArea. However, I haven't looked at the actual source, which is something you could do to work out how they do it.
Hi Lycus,
To display images, texts ... in MdiArea you should derive the class QMdiArea and reimplement the paintEvent(),
just this. Inside of paintEvent() use QPainter to do job.
cheers
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.