set image for TOS

This commit is contained in:
DenioD
2020-06-18 22:18:11 +02:00
parent f58cd8cb7f
commit 66d3aa8974
4 changed files with 124 additions and 43 deletions

View File

@@ -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);
}