as to drop some images inside a frame, with its background image loaded, you may use this:
Qt Code:
  1. frame->setStyleSheet("background:black;background-position: center; background-image: url(:/truck/image.png);background-repeat: no-repeat; ");
To copy to clipboard, switch view to plain text mode 

Although widgets fall on top of the image, this way was not nice for me as frame does not have setPixmap(). So, in order to scale my image to fit the template, I used a QLabel instead. This was a nice way as you may see:
Qt Code:
  1. QImage myImage;
  2. myImage.load(":/truck/image.png");
  3. QImage image = myImage.scaled(love->width(), love->height(), Qt::IgnoreAspectRatio );
  4. love->setPixmap(QPixmap::fromImage(image));
To copy to clipboard, switch view to plain text mode 
here, love is a QLabel . anyway, I found this way pretty disappointing as widgets now disappear and they do not fall on top of the QLabel background image!

I both want to scale the image to fit the template as well as the widgets to fall on top of the image, do you have any idea how i can do that? and can you also explain why in the case of QLabel, widgets do not fall on top of the image.