From acd206ea48610743d6078e1c9b510c8b486fb979 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Fri, 13 Mar 2015 17:07:57 -0300 Subject: [feat] make 'check' button selected by default Also set text to 'bold' so it's easier to find at a first sight. - Resolves: #5526 --- changes/feature-5526_make-check-button-selected | 1 + src/leap/bitmask/gui/ui/wizard.ui | 56 ++++++++++++++----------- src/leap/bitmask/gui/wizard.py | 1 + 3 files changed, 33 insertions(+), 25 deletions(-) create mode 100644 changes/feature-5526_make-check-button-selected diff --git a/changes/feature-5526_make-check-button-selected b/changes/feature-5526_make-check-button-selected new file mode 100644 index 00000000..fa340849 --- /dev/null +++ b/changes/feature-5526_make-check-button-selected @@ -0,0 +1 @@ +- make "check" button selected by default (Feature #5526) diff --git a/src/leap/bitmask/gui/ui/wizard.ui b/src/leap/bitmask/gui/ui/wizard.ui index 0e28ecbf..b125577e 100644 --- a/src/leap/bitmask/gui/ui/wizard.ui +++ b/src/leap/bitmask/gui/ui/wizard.ui @@ -43,7 +43,7 @@ Welcome to Bitmask - + 0 @@ -59,7 +59,7 @@ - + Qt::RichText @@ -112,7 +112,7 @@ Choose a provider - + 1 @@ -187,15 +187,15 @@ 22 - - true - :/images/black/22/question.png + + true + @@ -218,15 +218,15 @@ 22 - - true - :/images/black/22/question.png + + true + @@ -249,15 +249,15 @@ 22 - - true - :/images/black/22/question.png + + true + @@ -363,6 +363,12 @@ + + + 75 + true + + Check @@ -380,7 +386,7 @@ About this provider - + 2 @@ -522,7 +528,7 @@ Provider setup - + 3 @@ -590,15 +596,15 @@ 22 - - true - :/images/black/22/question.png + + true + @@ -621,15 +627,15 @@ 22 - - true - :/images/black/22/question.png + + true + @@ -673,15 +679,15 @@ 22 - - true - :/images/black/22/question.png + + true + @@ -720,7 +726,7 @@ Register new user - + 4 @@ -845,7 +851,7 @@ Service selection - + 5 diff --git a/src/leap/bitmask/gui/wizard.py b/src/leap/bitmask/gui/wizard.py index 5da021d1..527df9b7 100644 --- a/src/leap/bitmask/gui/wizard.py +++ b/src/leap/bitmask/gui/wizard.py @@ -675,6 +675,7 @@ class Wizard(QtGui.QWizard, SignalTracker): skip = self.ui.rbExistingProvider.isChecked() if not self._provider_checks_ok: self._enable_check() + self.ui.btnCheck.setFocus() self._skip_provider_checks(skip) else: self._enable_check(reset=False) -- cgit v1.2.3