I have a label with a pixmap on it Code looks like this:
Label = new QLabel (dialog, Qt::Widget);
Label -> setGeometry( xPosition, yPosition, 25, 87 );
QPixmap pixmap;
pixmap.load("/home/richter/Dokumente/QDevelop/AnimationTest/ScreenData/rightTire.png", 0, Qt::DiffuseAlphaDither);
Label -> setPixmap(pixmap);
Label -> setAlignment(Qt::AlignCenter);
Label -> show();
what I now want to have is a method like that:
void rotateLabel (int degrees)
I think it's clear what it should do. You enter the degrees and see it rotated by these degrees.