Title: Is It possible to add Backgroung image to form we use for
design,using qt creator designer ....
Override the paintEvent function and do:
QWidget::paintEvent(event);
QPainter pPainter(this);
pPainter.drawImage(rect(),
background_pixmap); //background_pixmap is a QPixmap.
Eirik
Ladnar, Marc skrev:
Hi,
I would suggest you to have a
look into the stylesheet documentation of QWidget.
Have a nice day,
Marc Ladnar
hi
to make more stylish look can we add any background image to
complete form on which we are designing our push button or any widget
if possible how can u tell me steps
REGARDS
GAURAV PUROHIT
______________________________________________________________________
DSP Group, Inc. automatically scans all emails and attachments using
MessageLabs Email Security System.
_____________________________________________________________________
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator
|
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator