zgulser
7th May 2012, 13:45
Hi,
As the title shows, my problem is regarding changing the backgorund of QStackedWidget with 2 pages.
I'm using qss file so using css. The first page is the default login page and it's background image loaded properly.
But when the login is finished and the second page is raised, the background image of it isn't loaded but first page' image stays at background.
I don't use QPallette or paintEvent method in the parent widget of my QStackWidget or one of my page classes.
Thanks in advance.
Added after 50 minutes:
By the way, the problem arised after I migrate to Qt 4.8.
With Qt 4.4 everything was working just perfect.
As the title shows, my problem is regarding changing the backgorund of QStackedWidget with 2 pages.
I'm using qss file so using css. The first page is the default login page and it's background image loaded properly.
But when the login is finished and the second page is raised, the background image of it isn't loaded but first page' image stays at background.
I don't use QPallette or paintEvent method in the parent widget of my QStackWidget or one of my page classes.
Thanks in advance.
Added after 50 minutes:
By the way, the problem arised after I migrate to Qt 4.8.
With Qt 4.4 everything was working just perfect.