def __init__(self, *args, **kwds): # Initialisation du listCtrl self.listeFichiers = kwds.pop("listeFichiers", []) self.listeFichiersTrouves = [] self.dictIDappareil = {} self.cacher_doublons = True self.index_regroupement = 4 GroupListView.__init__(self, *args, **kwds) # Binds perso self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
def __init__(self, *args, **kwds): # Initialisation du listCtrl self.log = None self.cacher_traitees = True self.regroupement = None self.tri = "horodatage" GroupListView.__init__(self, *args, **kwds) # Binds perso self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu) self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnItemActivated)
def __init__(self, *args, **kwds): # Récupération des paramètres perso self.selectionID = None self.selectionTrack = None self.criteres = "" self.itemSelected = False self.popupIndex = -1 self.listeFiltres = [] self.listeTracks = [] self.dictBudget = None # Initialisation du listCtrl GroupListView.__init__(self, *args, **kwds) # Binds perso self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
def __init__(self, *args, **kwds): GroupListView.__init__(self, *args, **kwds) self.selectionID = None self.selectionTrack = None self.IDactivite = None self.partis = True self.listeGroupes = [] self.listeCategories = [] self.regroupement = None self.listeColonnes = [] self.labelParametres = "" # Binds perso self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnActivated) self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
def __init__(self, *args, **kwds): self.selectionID = None self.selectionTrack = None self.IDactivite = None self.partis = True self.listeGroupes = [] self.listeCategories = [] self.regroupement = None self.labelParametres = "" # Initialisation du listCtrl self.nom_fichier_liste = __file__ GroupListView.__init__(self, *args, **kwds) # Binds perso self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnActivated) self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
def __init__(self, *args, **kwds): # Initialisation du listCtrl self.IDfamille = kwds.pop("IDfamille", None) self.selectionID = None self.selectionTrack = None ## locale.setlocale(locale.LC_ALL, 'FR') GroupListView.__init__(self, *args, **kwds) self.listePeriodes = [] self.listeIndividus = [] self.listeActivites = [] self.listeFactures = [] self.total = 0.0 self.dictFiltres = {} ## self.InitModel() ## self.InitObjectListView() # Binds perso self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnActivated) self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu) self.SetShowGroups(False)