"For instance each page has a pointer to the wizard object it is part of. "
you mean wizard() ?
class myWizard : public QWizard
{
Q_OBJECT
public:
whatever* m_member;
}
in the myWizard constructor i do :
addPage( new myPage1( ) );
myPage1
::mypage1(QWidget *parent
) : QWizardPage
(parent
) {
wizard()->m_member ? (is this supposed to work?) (apparently it doesnt) (thats basically what i want :D )
}
class myWizard : public QWizard
{
Q_OBJECT
public:
whatever* m_member;
}
in the myWizard constructor i do :
addPage( new myPage1( ) );
myPage1::mypage1(QWidget *parent) : QWizardPage(parent) {
wizard()->m_member ? (is this supposed to work?) (apparently it doesnt) (thats basically what i want :D )
}
To copy to clipboard, switch view to plain text mode
Can I reimplement ::next ? http://doc.trolltech.com/4.5/qwizard.html#next [slot] (doesnt say virtual, but I'm no c++ expert)
I do realise your time is more precious than mine, so I *am* thankful.
Bookmarks