TheVirus
12th July 2011, 16:50
I'm creating a wizard with QWizard and QWizardPages. I want to set a background image for each page but nothing I'm trying is working.
wizMain -> QWizard
wizLogin -> QWizardPage
wizPage2 -> QWizardPage
I set the CSS of wizMain to:
background-image: url(:/img/Login.png);
And it displays the image on all the pages. If I try to target the QWizardPage individually, it fails.
#wizLogin {
background-image: url(:/img/Login.png);
}
Adding that to the wizMain CSS fails. Adding it to the wizLogin CSS fails. Even if I do the background-image alone, it fails. I don't know what's going on and this seems to be something trivial for designing UIs.
Any ideas?
Thanks.
wizMain -> QWizard
wizLogin -> QWizardPage
wizPage2 -> QWizardPage
I set the CSS of wizMain to:
background-image: url(:/img/Login.png);
And it displays the image on all the pages. If I try to target the QWizardPage individually, it fails.
#wizLogin {
background-image: url(:/img/Login.png);
}
Adding that to the wizMain CSS fails. Adding it to the wizLogin CSS fails. Even if I do the background-image alone, it fails. I don't know what's going on and this seems to be something trivial for designing UIs.
Any ideas?
Thanks.