santosh.kumar
1st March 2011, 08:52
Hi,
I have an animated (attached)gif file. I have set this to a PushButton
icon like in the following :-
QPushButton* button = new QPushButton(this);
button->setIcon(QIcon((":/images/1.gif")));
button->setIconSize(QSize(128,128));
button->setFlat(true);
But I am not able to see the animation effect in the GUI.
Please tell me some body to see animation effect.
Thanks
Santosh
I have an animated (attached)gif file. I have set this to a PushButton
icon like in the following :-
QPushButton* button = new QPushButton(this);
button->setIcon(QIcon((":/images/1.gif")));
button->setIconSize(QSize(128,128));
button->setFlat(true);
But I am not able to see the animation effect in the GUI.
Please tell me some body to see animation effect.
Thanks
Santosh