Re: Can you create a custom multi-page QWizard with QtDesigner
Originally Posted by ChrisW67
I have a QWizard and set of QWizardPages built with Designer. The pages have been promoted but that is not particularly relevant. In my page constructors:
#include <QFileDialog>
#include "importfilepage.h"
#include "ui_importfilepage.h"
ImportFilePage::ImportFilePage(QWidget *parent) :
QWizardPage(parent),
m_ui(new Ui::ImportFilePage)
{
m_ui->setupUi(this);
// Cannot be set in Designer?
setPixmap(QWizard::LogoPixmap, QPixmap(":/wizard/logo1.png"));
// Fields
registerField("fileName*", m_ui->fileNameEdit);
}
...
To copy to clipboard, switch view to plain text mode
I can't get that concept to work. I can create a wizard with multiple pages but all widgets and pages are accessed from the ui object created by Qt Creator GUI application wizard. Do you have a sample that illustrates this?
Bookmarks