From 424edf07e8e88a5ea8e5a5c7090aff3028bd3e11 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Thu, 27 Mar 2025 12:41:38 +0100 Subject: [PATCH] wizard: cleanup main menu --- src/wizard/PageMenu.cpp | 3 + src/wizard/PageMenu.ui | 217 +++++++++++++++++++++++++++++----------- 2 files changed, 164 insertions(+), 56 deletions(-) diff --git a/src/wizard/PageMenu.cpp b/src/wizard/PageMenu.cpp index 663e6643..98aca4a8 100644 --- a/src/wizard/PageMenu.cpp +++ b/src/wizard/PageMenu.cpp @@ -18,6 +18,9 @@ PageMenu::PageMenu(WizardFields *fields, WalletKeysFilesModel *wallets, QWidget this->setButtonText(QWizard::FinishButton, "Open recent wallet"); ui->label_version->setText(QString("Feather %1 — by featherwallet.org").arg(FEATHER_VERSION)); + QTimer::singleShot(0, [this] { + ui->frame_seedBump->setVisible(false); + }); QString settingsSkin = conf()->get(Config::skin).toString(); } diff --git a/src/wizard/PageMenu.ui b/src/wizard/PageMenu.ui index cc445ca0..77c4ee62 100644 --- a/src/wizard/PageMenu.ui +++ b/src/wizard/PageMenu.ui @@ -15,69 +15,86 @@ - - - - 400 - 0 - - - + + Select option: - - - - - - Qt::ClickFocus - - - Create new wallet - - - - - - - Qt::ClickFocus - - - Open wallet file - - - - - - - Qt::ClickFocus - - - Restore wallet from seed - - - - - - - Qt::ClickFocus - - - Restore wallet from keys - - - - - - - Create wallet from hardware device - + + + + + Qt::FocusPolicy::ClickFocus + + + Create new wallet + + + + + + + Qt::Orientation::Horizontal + + + + + + + Qt::FocusPolicy::ClickFocus + + + Open wallet file + + + + + + + Qt::Orientation::Horizontal + + + + + + + Restore wallet from... + + + + + + + Qt::FocusPolicy::ClickFocus + + + Seed + + + + + + + Qt::FocusPolicy::ClickFocus + + + Keys + + + + + + + Hardware device + + + + - Qt::Vertical + Qt::Orientation::Vertical @@ -87,6 +104,94 @@ + + + + QFrame::Shape::StyledPanel + + + QFrame::Shadow::Raised + + + + + + QFrame::Shape::StyledPanel + + + QFrame::Shadow::Raised + + + + + + 1. ordinary + + + + + + + + + + QFrame::Shape::StyledPanel + + + QFrame::Shadow::Raised + + + + + + 1. ordinary + + + + + + + + + + QFrame::Shape::StyledPanel + + + QFrame::Shadow::Raised + + + + + + 1. ordinary + + + + + + + + + + QFrame::Shape::StyledPanel + + + QFrame::Shadow::Raised + + + + + + 1. ordinary + + + + + + + + + -- 2.52.0