Preview a picture: QLabel or QImage?
I am creating a dialog box should show, among other things, a preview of an image.
I have little doubt that the structure will be more convenient to use for this purpose, QLabel or QImage (or perhaps some other).
Thanks in advance for any suggestion
"QLabel::setPixmap()":http://doc.qt.digia.com/qt/qlabel.html#pixmap-prop is the easiest option to show an image.
BTW, you can't show a QImage on the screen unless you paint it on a widget using QPainter.