Example #1
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.listener = None
     self.obj = QReceiveSignalObject()
     self.obj.cosigner_receive_signal.connect(self.on_receive)
     self.keys = []
     self.cosigner_list = []
Example #2
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 = QEmailSignalObject()
     self.obj.email_new_invoice_signal.connect(self.new_invoice)
Example #3
0
    def __init__(self, parent, config, name):
        BasePlugin.__init__(self, parent, config, name)
        self.base_dir = config.electrum_path() + '/revealer/'

        if self.config.get('calibration_h') == None:
            self.config.set_key('calibration_h', 0)
        if self.config.get('calibration_v') == None:
            self.config.set_key('calibration_v', 0)

        self.calibration_h = self.config.get('calibration_h')
        self.calibration_v = self.config.get('calibration_v')

        self.version = '0'
        self.size = (159, 97)
        self.f_size = QSize(1014 * 2, 642 * 2)
        self.abstand_h = 21
        self.abstand_v = 34
        self.calibration_noise = int('10' * 128)
        self.rawnoise = False
        if not os.path.exists(self.base_dir):
            os.mkdir(self.base_dir)
Example #4
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.target_host = 'labels.electrum.org'
     self.wallets = {}
Example #5
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.device = self.keystore_class.device
     self.keystore_class.plugin = self
Example #6
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()]
Example #7
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.target_host = 'labels.bauerj.eu'
     self.wallets = {}