Salome HOME
bug sur un mesage dans une exception sur un validator (cf JPA)
[tools/eficas.git] / MAP / prefs_MAP.py
1 # -*- coding: utf-8 -*-\r
2 # Copyright (C) 2007-2021   EDF R&D\r
3 #\r
4 # This library is free software; you can redistribute it and/or\r
5 # modify it under the terms of the GNU Lesser General Public\r
6 # License as published by the Free Software Foundation; either\r
7 # version 2.1 of the License.\r
8 #\r
9 # This library is distributed in the hope that it will be useful,\r
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of\r
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
12 # Lesser General Public License for more details.\r
13 #\r
14 # You should have received a copy of the GNU Lesser General Public\r
15 # License along with this library; if not, write to the Free Software\r
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA\r
17 #\r
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
19 #\r
20 \r
21 import os, sys\r
22 # Les variables pouvant positionnees sont :\r
23 #print "import des prefs de MAP"\r
24 \r
25 # repIni sert a localiser le fichier \r
26 # initialdir sert comme directory initial des QFileDialog\r
27 # positionnee a repin au debut mise a jour dans configuration\r
28 repIni=os.path.dirname(os.path.abspath(__file__))\r
29 INSTALLDIR=os.path.join(repIni,'..')\r
30 \r
31 \r
32 # Codage des strings qui accepte les accents (en remplacement de 'ascii')\r
33 # lang indique la langue utilisee pour les chaines d'aide : fr ou ang\r
34 lang='fr'\r
35 encoding='iso-8859-1'\r
36 \r
37 # Acces a la documentation\r
38 path_doc        = os.path.join(repIni,'Doc')\r
39 exec_acrobat    = "/usr/bin/xpdf"\r
40 savedir         = os.environ['HOME']\r
41 affiche         = "groupe"\r
42 taille          = 1400\r
43 \r
44 rep_cata=os.path.dirname(os.path.abspath(__file__))\r
45  \r
46 catalogues=(\r
47 # ('MAP','Solver',os.path.join(rep_cata,'cata_solver1.py'),'solver1'),\r
48 # ('MAP','Test',os.path.join(rep_cata,'cata_s_test03.py'),'s_test03'),\r
49 # ('MAP','Exemple python',os.path.join(rep_cata,'cata_c_transverse_empty_python.py'),'c_transverse_empty_python'),\r
50 # ('MAP','Image 3D',os.path.join(rep_cata,'cata_c_image_3d_altitude_thickness.py'),'c_image_3d_altitude_thickness'),\r
51 # ('MAP','Table FFT',os.path.join(rep_cata,'cata_c_post_table_fft.py'), 'c_post_table_fft'),\r
52 # ('MAP','PRE Mesh',os.path.join(rep_cata,'cata_c_pre_interface_mesh.py'), 'c_pre_interface_mesh'),\r
53 # ('MAP','Analyse 3D',os.path.join(rep_cata,'cata_s_scc_3d_analysis.py'), 's_scc_3d_analysis'),\r
54  ('MAP','Map',os.path.join(rep_cata,'mapcata.py'), 'essai'),\r
55 )\r
56 \r
57 closeAutreCommande = True\r
58 closeFrameRechercheCommande = True\r
59 \r