Its a simple (i thing) connect:

Qt Code:
  1. connect (ui.paintButton, SIGNAL (clicked()), this, SLOT (initPixmap()));
To copy to clipboard, switch view to plain text mode 
.

Interface has been created with Qt Designer, so "ui" represents that object.
initPixmap() function contains the code I posted before.

Same line works if i load a bmp file:

Qt Code:
  1. pixmap.load("xxxx.bmp",const char *,Qt::Flags);
  2. ui.label->setPixmap (pixmap);
To copy to clipboard, switch view to plain text mode 

, and there aren´t console message indicating some like "No such slot/signal...."

I think i´m missing some important concept about Qt graphics framework.

thanks again