예제 #1
0
 def __init__(self, config, network, app=None):
     self.network = network
     self.config = config
     self.windows = []
     self.efilter = OpenFileEventFilter(self.windows)
     if app is None:
         self.app = QApplication(sys.argv)
     self.app.installEventFilter(self.efilter)
     init_plugins(self)
예제 #2
0
 def __init__(self, config, network, app=None):
     self.network = network
     self.config = config
     self.windows = []
     self.efilter = OpenFileEventFilter(self.windows)
     if app is None:
         self.app = QApplication(sys.argv)
     self.app.installEventFilter(self.efilter)
     init_plugins(self)
예제 #3
0
 def __init__(self, config, network, app=None):
     self.network = network
     self.config = config
     self.windows = []
     #new values
     self.wallet = None
     self.storage = None
     self.timer = None
     #end new values
     self.efilter = OpenFileEventFilter(self.windows)
     if app is None:
         self.app = QApplication(sys.argv)
     self.app.installEventFilter(self.efilter)
     
     init_plugins(self)