コード例 #1
0
ファイル: TopSearchPanel.py プロジェクト: csko/Tribler
 def __init__(self, *args, **kwds):
     if DEBUG:
         print >> sys.stderr , "TopSearchPanel: __init__"
         
     bgPanel.__init__(self, *args, **kwds)
     self.init_ready = False
     self.guiUtility = GUIUtility.getInstance()
     self.utility = self.guiUtility.utility 
     self.installdir = self.utility.getPath()
     
     self.uelog = UserEventLogDBHandler.getInstance()
     self.nbdb = NetworkBuzzDBHandler.getInstance()
コード例 #2
0
ファイル: TopSearchPanel.py プロジェクト: hawkstalion/Tribler
    def __init__(self, parent):
        if DEBUG:
            print >>sys.stderr, "TopSearchPanel: __init__"

        self.loaded_bitmap = None

        self.guiUtility = GUIUtility.getInstance()
        self.utility = self.guiUtility.utility
        self.installdir = self.utility.getPath()
        self.uelog = UserEventLogDBHandler.getInstance()
        self.nbdb = NetworkBuzzDBHandler.getInstance()

        bgPanel.__init__(self, parent, "top_search")

        self.selectTab("home")
コード例 #3
0
 def __init__(self, *args, **kwds):
     if DEBUG:
         print >> sys.stderr , "TopSearchPanel: __init__"
     bgPanel.__init__(self, *args, **kwds)
     self.init_ready = False
     self.guiUtility = GUIUtility.getInstance()
     self.utility = self.guiUtility.utility 
     self.installdir = self.utility.getPath()
     self.animationTimer = None
     
     self.buttonsBackgroundColourSelected = wx.Colour(235, 233, 228)
     self.buttonsBackgroundColour = wx.Colour(193, 188, 177)
     self.buttonsForegroundColour = wx.BLACK
     
     self.uelog = UserEventLogDBHandler.getInstance()
     self.nbdb = NetworkBuzzDBHandler.getInstance()
コード例 #4
0
 def __init__(self, parent):
     if DEBUG:
         print >> sys.stderr , "TopSearchPanel: __init__"
     
     self.loaded_bitmap = None
     
     self.guiUtility = GUIUtility.getInstance()
     self.utility = self.guiUtility.utility 
     self.installdir = self.utility.getPath()
     self.uelog = UserEventLogDBHandler.getInstance()
     self.nbdb = None
      
     bgPanel.__init__(self, parent, 'top_search')
     
     
     self.selectTab('home')