Hi Guys, I am designing a widget using Qt Designer where I have a stacked widget with a qPushButton and qLabel the thing is i wanted a movie to play on the qlabel when the qpushbutton is pressed however the dimensions are a little off. I want the movie to play on the same size as the qPushButton layout when it is pressed, i.e when the button is pressed it enlarges and i want the label to have the same dimensions as the enlarged QPushButton and then play the movie.
I know that a manual resize is an option but as this is a widget I would like it to be automatic with changes to size of widget.
Therefore, i guess my question is can anyone tell me the dimensions of the QPushButton enlarge offset values so I can set those offsets in the Qstylesheet, dont know if this will work.
P.S I have the stacked widget in a frame.
Bookmarks