コード例 #1
0
ファイル: export_manager.py プロジェクト: mnjstwins/BetBoy
 def __init__(self, parent=None):
     QtGui.QWidget.__init__(self, parent)
     Database.__init__(self)
     self.gui = Ui_Export()
     self.gui.setupUi(self)
     with open(os.path.join('tmp','comm'),'w') as comm:
         # communicates with export manager
         comm.write('')
     # Calls ---------------------
     self.leagues_tree()
     self.profiles_tree()
     self.bindings()
コード例 #2
0
 def __init__(self, parent=None):
     QtGui.QWidget.__init__(self, parent)
     Database.__init__(self)
     self.gui = Ui_Export()
     self.gui.setupUi(self)
     with open(os.path.join('tmp', 'comm'), 'w') as comm:
         # communicates with export manager
         comm.write('')
     # Calls ---------------------
     self.leagues_tree()
     self.profiles_tree()
     self.bindings()
コード例 #3
0
 def __init__(self, parent=None):
     QtGui.QWidget.__init__(self, parent)
     Database.__init__(self)
     Shared.__init__(self)
     self.odds_level = 100
     self.app = 'selector'
     self.gui = Ui_Selector()
     self.gui.setupUi(self)
     self.gui.tree_selected.headerItem().setText(0, ('Selected'))
     self.filters_tree()
     self.leagues_tree()
     self.bindings()
     try:
         self.filters_load()
     except:
         pass