qt wizard server_connect tweaks
This commit is contained in:
@@ -42,30 +42,28 @@ class WCWelcome(WizardComponent):
|
|||||||
self.first_help_label.setText(_("Optional settings to customize your network connection") + ":")
|
self.first_help_label.setText(_("Optional settings to customize your network connection") + ":")
|
||||||
self.first_help_label.setWordWrap(True)
|
self.first_help_label.setWordWrap(True)
|
||||||
|
|
||||||
self.config_proxy_w = QCheckBox(_('Configure Proxy'))
|
self.config_proxy_w = QCheckBox(_('Use Proxy'))
|
||||||
self.config_proxy_w.setChecked(False)
|
self.config_proxy_w.setChecked(False)
|
||||||
self.config_proxy_w.stateChanged.connect(self.on_updated)
|
self.config_proxy_w.stateChanged.connect(self.on_updated)
|
||||||
self.config_server_w = QCheckBox(_('Select Server'))
|
self.config_server_w = QCheckBox(_('Select Electrum Server'))
|
||||||
self.config_server_w.setChecked(False)
|
self.config_server_w.setChecked(False)
|
||||||
self.config_server_w.stateChanged.connect(self.on_updated)
|
self.config_server_w.stateChanged.connect(self.on_updated)
|
||||||
options_w = QWidget()
|
options_w = QWidget()
|
||||||
vbox = QVBoxLayout()
|
vbox = QVBoxLayout()
|
||||||
vbox.addWidget(self.config_proxy_w)
|
vbox.addWidget(self.config_proxy_w)
|
||||||
vbox.addWidget(self.config_server_w)
|
vbox.addWidget(self.config_server_w)
|
||||||
vbox.addStretch(1)
|
|
||||||
options_w.setLayout(vbox)
|
options_w.setLayout(vbox)
|
||||||
|
|
||||||
self.second_help_label = QLabel()
|
self.second_help_label = QLabel()
|
||||||
self.second_help_label.setText(
|
self.second_help_label.setText(
|
||||||
_("If you are unsure what this is, leave them unchecked and Electrum will "
|
_("If you are unsure what these options are, leave them unchecked.")
|
||||||
"automatically select servers.")
|
|
||||||
)
|
)
|
||||||
self.second_help_label.setWordWrap(True)
|
self.second_help_label.setWordWrap(True)
|
||||||
|
|
||||||
self.layout().addWidget(self.first_help_label)
|
self.layout().addWidget(self.first_help_label)
|
||||||
self.layout().addSpacing(30)
|
|
||||||
self.layout().addWidget(options_w)
|
self.layout().addWidget(options_w)
|
||||||
self.layout().addWidget(self.second_help_label)
|
self.layout().addWidget(self.second_help_label)
|
||||||
|
self.layout().addStretch(1)
|
||||||
self._valid = True
|
self._valid = True
|
||||||
|
|
||||||
def apply(self):
|
def apply(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user