PDA

View Full Version : logo on Qframe



madhukumar
31st March 2014, 04:21
i have seven inch black screen, black screen using by Qframe, how to put Qt logo on black screen using Qimage

anda_skoa
31st March 2014, 10:08
E.g. by putting a QLabel into the frame or by overwriting the frame's paintEvent and drawing the image manually using QPainter.

Cheers,
_

madhukumar
31st March 2014, 13:22
how to insert image in frame

anda_skoa
31st March 2014, 14:14
Which part of my previous answer didn't you like?

Cheers,
_

P.S.: weird question for someone who has used that Qt versions across basically all supported platforms

madhukumar
31st March 2014, 18:04
i have qt logo, how put logo on frame. frame is nothing but 7 inches black screen

stampede
31st March 2014, 22:06
i have qt logo, how put logo on frame. frame is nothing but 7 inches black screen
It is very hard to actually understand your problem. You have a "qt logo", which is some kind of image file, I assume. You want to display this image inside of a widget, but nothing is displayed except a black screen, is that right ? Maybe path to the file is incorrect. Show some code or we'll have to guess.
Btw. did you try what anda_skoa suggested ?