示例#1
0
 def settings_widget(self, window):
     return EnterButton(_('Settings'), partial(self.settings_dialog,
                                               window))
示例#2
0
文件: qt.py 项目: PabloWong/electrum
 def settings_widget(self, window): 
     # Return a button that when pressed presents a settings dialog.
     return EnterButton(_('Settings'), partial(self.settings_dialog, window))
示例#3
0
文件: qt.py 项目: theotherside/bwt
 def settings_widget(self, window):
     return EnterButton(_('Connect to bitcoind'), partial(self.settings_dialog, window))
示例#4
0
文件: qt.py 项目: bitpostAPI/electrum
 def create_send_tab(self, grid):
     button = EnterButton(_("Pay with Bitpost..."),
                          lambda: self.display_bitpost(grid))
     grid.addWidget(button, 6, 5)
     button.show()
示例#5
0
 def settings_widget(self, window):
     return EnterButton(_('Printer Calibration'),
                        partial(self.calibration_dialog, window))