--- Vago/trunk/Vago/soundWizard/soundwizard.cpp 2013/03/31 19:02:16 771 +++ Vago/trunk/Vago/soundWizard/soundwizard.cpp 2013/04/06 23:30:00 793 @@ -21,7 +21,12 @@ int SoundWizard::exec(){ this->myWizard->setWindowIcon(QIcon(":/new/icons/sound.png")); //Center and resize QWizard (http://www.thedazzlersinc.com/source/2012/06/04/qt-center-window-in-screen/) +#ifdef Q_WS_WIN this->myWizard->resize(640,480); +#else + this->myWizard->resize(800,600); // Mac OS pcs should be able to render this resolution without any problem. It's also better + // because the components on mac use more space +#endif QRect position = this->myWizard->frameGeometry(); position.moveCenter(QDesktopWidget().availableGeometry().center()); this->myWizard->move(position.topLeft()); @@ -73,7 +78,9 @@ void SoundWizard::pageChanged(int pageId // Last page? if(pageId==4){ this->myWizard->setOption(QWizard::HaveCustomButton1, true); // set visible + this->myWizard->button(QWizard::BackButton)->setEnabled(false); // disable back button, use restart if needed return; } this->myWizard->setOption(QWizard::HaveCustomButton1, false); // set invisible + this->myWizard->button(QWizard::BackButton)->setEnabled(true); // set enable back button }