Package medite :: Package Utile :: Module constantesGUI
[hide private]
[frames] | no frames]

Source Code for Module medite.Utile.constantesGUI

  1  # -*- coding: iso-8859-1 -*- 
  2  # Copyright 20003 - 2008: Julien Bourdaillet (julien.bourdaillet@lip6.fr), Jean-Gabriel Ganascia (jean-gabriel.ganascia@lip6.fr) 
  3  # This file is part of MEDITE. 
  4  # 
  5  #    MEDITE is free software; you can redistribute it and/or modify 
  6  #    it under the terms of the GNU General Public License as published by 
  7  #    the Free Software Foundation; either version 2 of the License, or 
  8  #    (at your option) any later version. 
  9  # 
 10  #    MEDITE is distributed in the hope that it will be useful, 
 11  #    but WITHOUT ANY WARRANTY; without even the implied warranty of 
 12  #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
 13  #    GNU General Public License for more details. 
 14  # 
 15  #    You should have received a copy of the GNU General Public License 
 16  #    along with Foobar; if not, write to the Free Software 
 17  #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
 18  #---------------------------------------------------------------------------- 
 19  # Nom:          constantesGUI.py 
 20  # Objet:        Fichier qui regroupe les differentes constantes utiles dans 
 21  #               l'implementation de l'interface graphique 
 22  #---------------------------------------------------------------------------- 
 23   
 24  ##################################################################### 
 25  #   Constantes REPIMG qui est le chemin d'accès au répetoire images # 
 26  ##################################################################### 
 27  import os,constantes 
 28   
 29  REPIMG=os.path.join(constantes.REPMEDITE,'images') 
 30   
 31  ##################################### 
 32  #   Constantes du MENU Principal    # 
 33  #                                   # 
 34  ##################################### 
 35  ID_DOSSIER = 110  
 36  ID_NOUVEAU_DOSSIER = 111 
 37  ID_ADD_AUTEUR=112 
 38  ID_ADD_OEUVRE=113 
 39  ID_SUPPRIMER_DOSSIER = 114  
 40  ID_SUPP_AUTEUR=115 
 41  ID_SUPP_OEUVRE=116 
 42  ID_QUITTER=117 
 43   
 44  ID_GENETIQUE=120 
 45  ID_CHARGER_DG=121 
 46  ID_CREER_GENE=122 
 47  ID_CREER_VERSION=123 
 48  ID_CREER_ETAT=124 
 49  ID_SUPPRIMER_GENE=125 
 50  ID_SUPP_VERSION=126 
 51  ID_SUPP_ETAT=127 
 52  ID_IMPORTER_TEXTES=128 
 53   
 54  ID_INFORMATIONS=130 
 55  ID_INFOS = 131 
 56  ID_INFOS_DG = 132 
 57  ID_INFOS_CPLE = 133 
 58  ID_ENREGISTRER=134 
 59  ID_ADD_TRANSFOS=135 
 60  ID_ADD_COMMENT=136 
 61  ID_ADD_TRANSFOS_COMMENT=137 
 62  ID_ADD_ALL_TRANSFOS=138 
 63  ID_SUPPRIMER_INFOS = 139 
 64  ID_SUPP_TRANSFOS_COMMENT=140 
 65  ID_SUPP_COMMENT=141 
 66  ID_SUPP_ALL_TRANSFOS=142 
 67  ID_CHARGER_INFOS=143 
 68  ID_LOAD_ALL_TRANSFOS_COMMENT=144 
 69  ID_LOAD_INFOS=145 
 70   
 71  ID_MEDITE=150 
 72  ID_OUVRIR=151 
 73  ID_SOURCE=152 
 74  ID_CIBLE=153 
 75  ID_EXECUTER=154 
 76  ID_EXECUTERALL=155 
 77  ID_LAUNCH_STAT=156 
 78   
 79  ID_APROPOS = 160 
 80  ID_AIDE = 161 
 81   
 82  ID_NEWCOMP=170 
 83  ID_CLOSECOMP = 171 
 84  ID_CLOSEALLCOMP = 172 
 85  ID_DELCOMP=173 
 86  ID_DELALLCOMP=174 
 87   
 88  ID_NAVMENU = 180 
 89   
 90  ################################## 
 91  #   Constantes des Formulaires   # 
 92  #                                # 
 93  ################################## 
 94  ID_ANNULER=10 
 95  ID_OK=11 
 96  ID_SELECT_AUTEUR=12 
 97  ID_SELECT_OEUVRE=13 
 98  ID_SELECT_VERSION=14 
 99  ID_PARCOURIR=15 
100  ID_SELECT_ETAT=16 
101  ID_REMPLACER=17 
102  ID_AJOUTER=18 
103  ID_SELECT_VERSION_S=19 
104  ID_SELECT_ETAT_S=20 
105  ID_SELECT_VERSION_C=21 
106  ID_SELECT_ETAT_C=22 
107  ID_SELECT_REP = 23 
108  ID_SELECT_PARAM = 24 
109  ID_SELECT_VERSIONV=25 
110  ################################## 
111  #   Constantes du Main Panel     # 
112  #                                # 
113  ################################## 
114  ID_WINDOW_TOP    = 5100 
115  ID_WINDOW_LEFT  = 5101 
116  ID_WINDOW_RIGHT  = 5102 
117  ID_WINDOW_BOTTOM = 5103 
118   
119  ################################# 
120  #  ID des boutons de la legende # 
121  ################################# 
122  ID_INSERTION = 1001 
123  ID_SUPPRESSION = 1002 
124  ID_REMPLACEMENT = 1003 
125  ID_SOULIGNE = 1004 
126  ID_GRAS = 1005 
127  ID_ITALIQUE = 1006 
128  ID_VALIDATION_COULEUR = 1111 
129  ID_COULEUR_DEFAUT = 1112 
130   
131  ################################# 
132  #  ID pour le panel Parametres  # 
133  ################################# 
134  ID_SLIDER_P1 = 1101 
135  ID_SLIDER_P2 = 1102 
136  ID_SLIDER_P3 = 1103 
137