I'm writing some wizard using Qt 5.2.1 under Ubuntu 13.10. I have header image and want to show it at the top of almost all wizard pages. So i opened QtDesigned, created new QWizardPage form and result looks like (conceptually):
Blue area at the top is my header image. It should takes all top area, from (0,0) to (window.width, image.height).
Then i just add this page to QWizard:
SetupWizard::SetupWizard(QWidget * parent) : QWizard(parent) {
welcomePage_ = new SetupWizardWelcomePage(this);
setPage(WELCOME_PAGE, welcomePage_);
...
And result is:
As you can see there are small margins at left, right and top of my header image. I've tried to change styling of QWizard, set fixed size and play with geometry - nothing helps me. Seems like this spacing is defined inside QWizard class, but i'm not sure about it.
So am i able to show header without spacing using QWizard? Or i have to create my own Wizard class?