PDA

View Full Version : Set Position of QLabel



Qt Coder
19th March 2009, 07:48
Hi ,


I have set small image to QPixmap of QLabel.

Now I want to move this Pixmap horizontally up and back .

How to set position of QLabel for performing this??????

Qt Coder
19th March 2009, 07:51
:D

Hey I got the solution



Label->setGeometry(QRect(312-k, 454, 21, 20));



Happy Coding....