当前位置: 首页>>代码示例>>Python>>正文


Python FastObjectListView.__init__方法代码示例

本文整理汇总了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)
开发者ID:bogucool,项目名称:Noethys,代码行数:9,代码来源:DLG_Saisie_location_prestation.py

示例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)
开发者ID:Noethys,项目名称:Teamworks,代码行数:33,代码来源:OL_Destinataires_emails.py

示例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() 
开发者ID:bogucool,项目名称:Noethys,代码行数:28,代码来源:OL_Contrats_planning_elements.py

示例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)
开发者ID:bogucool,项目名称:Noethys,代码行数:9,代码来源:OL_Liste_comptes.py

示例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)
开发者ID:bogucool,项目名称:Noethys,代码行数:29,代码来源:OL_Individus.py

示例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)
开发者ID:bogucool,项目名称:Noethys,代码行数:31,代码来源:OL_Reglements_depots.py

示例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)
开发者ID:bogucool,项目名称:Noethys,代码行数:9,代码来源:OL_Synchronisation_fichiers.py

示例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)
开发者ID:Noethys,项目名称:Teamworks,代码行数:37,代码来源:OL_contrats.py

示例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")))
开发者ID:bogucool,项目名称:Noethys,代码行数:9,代码来源:OL_Legende_grille.py

示例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)
开发者ID:bogucool,项目名称:Noethys,代码行数:10,代码来源:OL_Impression_conso_colonnes.py

示例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()
开发者ID:bogucool,项目名称:Noethys,代码行数:10,代码来源:OL_Contratspsu_detail.py

示例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)
开发者ID:bogucool,项目名称:Noethys,代码行数:10,代码来源:DLG_Saisie_question.py

示例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)
开发者ID:bogucool,项目名称:Noethys,代码行数:11,代码来源:OL_Attestations_fiscales_selection.py

示例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)
开发者ID:bogucool,项目名称:Noethys,代码行数:11,代码来源:OL_Etat_nomin_resultats.py

示例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)
开发者ID:bogucool,项目名称:Noethys,代码行数:11,代码来源:OL_Releve_prestations.py


注:本文中的Ctrl.CTRL_ObjectListView.FastObjectListView.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。