本文整理汇总了Python中Ctrl.CTRL_ObjectListView.FastObjectListView.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python FastObjectListView.__init__方法的具体用法?Python FastObjectListView.__init__怎么用?Python FastObjectListView.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Ctrl.CTRL_ObjectListView.FastObjectListView
的用法示例。
在下文中一共展示了FastObjectListView.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Récupération des paramètres perso
self.dictInfosLocation = kwds.pop("dictInfosLocation", {})
self.donnees = []
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
示例2: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Récupération des paramètres perso
listeDonneesManuelles = kwds.pop("listeDonnees", [])
self.modificationAutorisee = kwds.pop("modificationAutorisee", True)
self.listeDonnees = []
self.selectionID = None
self.selectionTrack = None
self.criteres = ""
self.itemSelected = False
self.popupIndex = -1
self.listeFiltres = []
## self.valeurs_manuel = u""
## self.valeurs_diff = []
## self.valeurs_familles = []
## self.valeurs_individus = []
self.memoire_donnees = {}
self.memoire_pieces = {}
self.memoire_champs = {}
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
# Binds perso
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
# Init données
if len(listeDonneesManuelles) > 0 :
self.SetDonneesManuelles(listeDonneesManuelles)
示例3: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Récupération des paramètres perso
self.IDactivite = kwds.pop("IDactivite", None)
self.IDmodele = kwds.pop("IDmodele", None)
self.IDunite = kwds.pop("IDunite", None)
self.selectionID = None
self.selectionTrack = None
self.criteres = ""
self.itemSelected = False
self.popupIndex = -1
self.listeDonnees = []
# Init autres données
self.listeVacances = self.GetListeVacances()
self.listeFeries = self.GetListeFeries()
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
# Binds perso
self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnItemActivated)
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
self.donnees = []
self.InitObjectListView()
self.Importation_unites()
示例4: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
# Binds perso
self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnItemActivated)
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
示例5: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Récupération des paramètres perso
self.itemSelected = False
self.popupIndex = -1
self.listeFiltres = []
self.historique = []
self.dictTracks = {}
self.dictIndividus = {}
self.donnees = []
self.dictParametres = {
"groupes_activites" : [],
"activites" : [],
"archives" : False,
"effaces" : False,
}
self.forceActualisation = False
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
try :
self.SetEmptyListMsgFont(wx.FFont(11, wx.DEFAULT, faceName="Tekton"))
except :
self.SetEmptyListMsgFont(wx.FFont(11, wx.DEFAULT, False, "Tekton"))
self.SetEmptyListMsg(_(u"Aucun individu"))
# Binds perso
self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnItemActivated)
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
示例6: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Récupération des paramètres perso
self.inclus = kwds.pop("inclus", True)
self.selectionPossible = kwds.pop("selectionPossible", True)
self.selectionID = None
self.selectionTrack = None
self.criteres = ""
self.itemSelected = False
self.popupIndex = -1
self.listeFiltres = []
self.tracks = []
self.numColonneTri = 1
self.ordreAscendant = True
self.tailleImagesMaxi = (132/4.0, 72/4.0) #(132/2.0, 72/2.0)
self.tailleImagesMini = (16, 16)
self.afficheImages = True
self.imageDefaut = Chemins.GetStaticPath("Images/Special/Image_non_disponible.png")
# Importation des titulaires
self.dict_titulaires = UTILS_Titulaires.GetTitulaires()
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
# Binds perso
self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnItemActivated)
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
示例7: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Initialisation du listCtrl
self.inclure_archives = False
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
# Binds perso
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
示例8: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
wx.Locale(wx.LANGUAGE_FRENCH)
# Récupération des paramètres perso
self.IDpersonne = kwds.pop("IDpersonne", None)
self.modeAffichage = kwds.pop("modeAffichage", None)
self.activeCheckBoxes = kwds.pop("activeCheckBoxes", False)
self.activeDoubleClic = kwds.pop("activeDoubleClic", True)
self.activeMenuContextuel = kwds.pop("activeMenuContextuel", True)
self.selectionID = None
self.selectionTrack = None
self.presents = False
self.criteres = ""
self.listeFiltres = []
self.itemSelected = False
self.popupIndex = -1
# Initialisation du listCtrl
FastObjectListView.__init__(self, *args, **kwds)
if self.modeAffichage == None or self.modeAffichage == "sans_nom" :
self.listeColonnes = LISTE_COLONNES_1
if self.modeAffichage == "avec_nom" :
self.listeColonnes = LISTE_COLONNES_2
if self.modeAffichage == "liste_contrats" :
self.listeColonnes = LISTE_COLONNES_3
self.listeColonnesOriginale = list(self.listeColonnes)
# Binds perso
self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self.OnItemDeselected)
if self.activeMenuContextuel == True :
self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnItemActivated)
if self.activeMenuContextuel == True :
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
else:
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenuBasique)
self.Bind(wx.EVT_LIST_ITEM_SELECTED, self.OnItemSelected)
示例9: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
self.InitModel()
self.InitObjectListView()
self.SetToolTip(wx.ToolTip(_(u"Retrouvez ici la liste des codes couleurs et icônes utilisés dans la grille des consommations")))
示例10: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
self.liste_donnees = []
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
# Binds perso
self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.Modifier)
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
示例11: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
# Binds perso
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
self.donnees = []
self.InitObjectListView()
示例12: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, parent, IDquestion=None):
FastObjectListView.__init__(self, parent, -1, style=wx.LC_NO_HEADER|wx.LC_REPORT|wx.SUNKEN_BORDER|wx.LC_SINGLE_SEL|wx.LC_HRULES|wx.LC_VRULES)
self.parent = parent
self.IDquestion = IDquestion
self.listeChoix = self.Importation()
self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnItemActivated)
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
示例13: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
self.listePrestations = []
self.dictTitulaires = UTILS_Titulaires.GetTitulaires()
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
# Binds perso
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
self.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown)
示例14: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Récupération des paramètres perso
self.dictParametres = kwds.pop("dictParametres", {})
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
self.SetMinSize((20, 20))
# Binds perso
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)
示例15: __init__
# 需要导入模块: from Ctrl.CTRL_ObjectListView import FastObjectListView [as 别名]
# 或者: from Ctrl.CTRL_ObjectListView.FastObjectListView import __init__ [as 别名]
def __init__(self, *args, **kwds):
# Récupération des paramètres perso
self.IDfamille = kwds.pop("IDfamille", None)
self.listePeriodes = []
# Initialisation du listCtrl
self.nom_fichier_liste = __file__
FastObjectListView.__init__(self, *args, **kwds)
self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnItemActivated)
self.Bind(wx.EVT_CONTEXT_MENU, self.OnContextMenu)