Hi there,
Let me know, what is the best(fastest) way to show DIB data from memory on any qcomponent(qlabel, qimage, qpixmap ... etc.)
Hi there,
Let me know, what is the best(fastest) way to show DIB data from memory on any qcomponent(qlabel, qimage, qpixmap ... etc.)
what do you mean?
do you want the image data, or the underlying device context structure data, or something else?
For the image data have a look at QImage::bits().
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Are QPixmap::loadFromData() with format = "BMP" and then QLabel::setPixMap() or an equivalent what you are looking for?
Bookmarks