set image for TOS
This commit is contained in:
@@ -55,6 +55,16 @@ NewOrRestorePage::NewOrRestorePage(FirstTimeWizard *parent) : QWizardPage(parent
|
||||
Ui_CreateWalletForm form;
|
||||
form.setupUi(pageWidget);
|
||||
|
||||
QGraphicsScene* scene = new QGraphicsScene();
|
||||
QGraphicsView* view = new QGraphicsView(scene);
|
||||
// QPixmap pixmap(":/icons/res/hush-passion.png");
|
||||
form.Logo->setScene(scene);
|
||||
QPixmap pixmap(":/icons/res/dark-01.png");
|
||||
// QGraphicsPixmapItem* item = new QGraphicsPixmapItem(pixmap));
|
||||
scene->addPixmap(pixmap);
|
||||
form.Logo->show();
|
||||
|
||||
|
||||
parent->button(QWizard::CommitButton)->setEnabled(false);
|
||||
setButtonText(QWizard::CommitButton, "Next");
|
||||
|
||||
@@ -156,6 +166,8 @@ NewOrRestorePage::NewOrRestorePage(FirstTimeWizard *parent) : QWizardPage(parent
|
||||
form.radioRestoreWallet->setEnabled(false);
|
||||
form.radioNewWallet->setEnabled(false);
|
||||
setCommitPage(true);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user