From 2c8650e04a70b0f03034169160ae8051293ad8e6 Mon Sep 17 00:00:00 2001 From: Ankur Bavisa Date: Thu, 6 Jul 2023 18:35:14 +0530 Subject: [PATCH] update runwizard introduction screen --- src/gui/wizard/flow2authwidget.cpp | 6 +- src/gui/wizard/flow2authwidget.ui | 170 ++++++++++++++++++++--------- 2 files changed, 120 insertions(+), 56 deletions(-) diff --git a/src/gui/wizard/flow2authwidget.cpp b/src/gui/wizard/flow2authwidget.cpp index 87f63d59197a8..a852a5ebe1921 100644 --- a/src/gui/wizard/flow2authwidget.cpp +++ b/src/gui/wizard/flow2authwidget.cpp @@ -42,8 +42,8 @@ Flow2AuthWidget::Flow2AuthWidget(QWidget *parent) WizardCommon::initErrorLabel(_ui.errorLabel); _ui.errorLabel->setTextFormat(Qt::RichText); - connect(_ui.openLinkLabel, &LinkLabel::clicked, this, &Flow2AuthWidget::slotOpenBrowser); - connect(_ui.copyLinkLabel, &LinkLabel::clicked, this, &Flow2AuthWidget::slotCopyLinkToClipboard); + connect(_ui.openLinkLabel, &QPushButton::clicked, this, &Flow2AuthWidget::slotOpenBrowser); + connect(_ui.copyLinkLabel, &QPushButton::clicked, this, &Flow2AuthWidget::slotCopyLinkToClipboard); auto sizePolicy = _progressIndi->sizePolicy(); sizePolicy.setRetainSizeWhenHidden(true); @@ -219,10 +219,8 @@ void Flow2AuthWidget::customizeStyle() } _ui.openLinkLabel->setText(tr("Reopen Browser")); - _ui.openLinkLabel->setAlignment(Qt::AlignCenter); _ui.copyLinkLabel->setText(tr("Copy Link")); - _ui.copyLinkLabel->setAlignment(Qt::AlignCenter); WizardCommon::customizeHintLabel(_ui.statusLabel); } diff --git a/src/gui/wizard/flow2authwidget.ui b/src/gui/wizard/flow2authwidget.ui index 44961ddae1a2a..4a9855878744a 100644 --- a/src/gui/wizard/flow2authwidget.ui +++ b/src/gui/wizard/flow2authwidget.ui @@ -6,8 +6,8 @@ 0 0 - 580 - 330 + 597 + 387 @@ -25,31 +25,22 @@ Browser Authentication - + - + Qt::Vertical - - QSizePolicy::Expanding - 20 - 80 + 40 - - - 0 - - - 0 - + @@ -60,15 +51,31 @@ + + + + Qt::Vertical + + + + 20 + 32 + + + + + Segoe UI 12 - 75 true + + color:"#191919" + Switch to your browser to connect your account @@ -80,6 +87,22 @@ + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 20 + 8 + + + + @@ -94,13 +117,36 @@ - - - 0 + + + Qt::Vertical - - 0 + + + 20 + 32 + + + + + + + + + + + Qt::Vertical + + + + 20 + 64 + + + + + @@ -115,15 +161,56 @@ - - - 0 - + - + + + + 0 + 0 + + + + + Segoe UI + 9 + + + + pbSelectLocalFolder + + + true + + + false + + - + + + + 0 + 0 + + + + + Segoe UI + 9 + + + + pbSelectLocalFolder + + + true + + + false + + @@ -155,47 +242,26 @@ - - - - + Qt::Vertical - - - 20 - 20 - - - - - - - - Qt::Vertical + + QSizePolicy::Expanding 20 - 80 + 60 - - - OCC::LinkLabel - QWidget -
wizard/linklabel.h
- 1 -
-