Пример #1
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     if self.is_available():
         self.modem_config = amodem.config.slowest()
         self.library_name = {
             'Linux': 'libportaudio.so'
         }[platform.system()]
Пример #2
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.listener = None
     self.obj = QObject()
     self.obj.connect(self.obj, SIGNAL('cosigner:receive'), self.on_receive)
     self.keys = []
     self.cosigner_list = []
Пример #3
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.listener = None
     self.obj = QObject()
     self.obj.connect(self.obj, SIGNAL('cosigner:receive'), self.on_receive)
     self.keys = []
     self.cosigner_list = []
Пример #4
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.ccy = self.get_currency()
     self.history_used_spot = False
     self.ccy_combo = None
     self.hist_checkbox = None
     self.exchanges = get_exchanges()
     self.exchanges_by_ccy = get_exchanges_by_ccy()
     self.set_exchange(self.config_exchange())
Пример #5
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.ccy = self.get_currency()
     self.history_used_spot = False
     self.ccy_combo = None
     self.hist_checkbox = None
     self.exchanges = get_exchanges()
     self.exchanges_by_ccy = get_exchanges_by_ccy()
     self.set_exchange(self.config_exchange())
Пример #6
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.imap_server = self.config.get('email_server', '')
     self.username = self.config.get('email_username', '')
     self.password = self.config.get('email_password', '')
     if self.imap_server and self.username and self.password:
         self.processor = Processor(self.imap_server, self.username, self.password, self.on_receive)
         self.processor.start()
     self.obj = QObject()
     self.obj.connect(self.obj, SIGNAL('email:new_invoice'), self.new_invoice)
Пример #7
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.imap_server = self.config.get('email_server', '')
     self.username = self.config.get('email_username', '')
     self.password = self.config.get('email_password', '')
     if self.imap_server and self.username and self.password:
         self.processor = Processor(self.imap_server, self.username,
                                    self.password, self.on_receive)
         self.processor.start()
     self.obj = QObject()
     self.obj.connect(self.obj, SIGNAL('email:new_invoice'),
                      self.new_invoice)
Пример #8
0
 def toggle(self):
     out = BasePlugin.toggle(self)
     self.win.update_status()
     self.win.tabs.removeTab(1)
     new_send_tab = self.gui.main_window.create_send_tab()
     self.win.tabs.insertTab(1, new_send_tab, _('Send'))
     return out
Пример #9
0
 def toggle(self):
     out = BasePlugin.toggle(self)
     self.win.update_status()
     self.win.tabs.removeTab(1)
     new_send_tab = self.gui.main_window.create_send_tab()
     self.win.tabs.insertTab(1, new_send_tab, _('Send'))
     return out
Пример #10
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.target_host = 'sync.bytesized-hosting.com:9090'
     self.wallets = {}
Пример #11
0
 def __init__(self, a, b):
     BasePlugin.__init__(self, a, b)
     self.currencies = [self.config.get('currency', "USD")]
     self.exchanges = [self.config.get('use_exchange', "Bleutrade")]
Пример #12
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.device = self.wallet_class.device
     self.wallet_class.plugin = self
Пример #13
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     if self.is_available():
         self.modem_config = amodem.config.slowest()
         self.library_name = {'Linux': 'libportaudio.so'}[platform.system()]
Пример #14
0
 def __init__(self,a,b):
     BasePlugin.__init__(self,a,b)
     self.currencies = [self.config.get('currency', "USD")]
     self.exchanges = [self.config.get('use_exchange', "Bleutrade")]
Пример #15
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.target_host = 'sync.bytesized-hosting.com:9090'
     self.wallets = {}