if not self.salome and hasattr (self, 'CONFIGURATION') and hasattr(self.CONFIGURATION,'lang') : langue=self.CONFIGURATION.lang
+
if langue=='fr': self.langue=langue
else : self.langue="ang"
- if self.CONFIGURATION.force_langue :
- from monChoixLangue import MonChoixLangue
- widgetLangue = MonChoixLangue(self)
- ret=widgetLangue.exec_()
-
-
- self.suiteTelemac=self.CONFIGURATION.suiteTelemac
+ self.suiteTelemac=False
+ if hasattr (self, 'CONFIGURATION') :
+ if self.CONFIGURATION.force_langue :
+ from monChoixLangue import MonChoixLangue
+ widgetLangue = MonChoixLangue(self)
+ ret=widgetLangue.exec_()
+ self.suiteTelemac=self.CONFIGURATION.suiteTelemac
+
from Extensions import localisation
app=QApplication
#if parent != None : self.parentCentralWidget = parent.centralWidget()
#else : self.parentCentralWidget = None
- if hasattr (self, 'CONFIGURATION') and hasattr(self.CONFIGURATION,'taille') : self.taille=self.CONFIGURATION.taille
- else : self.taille=1700
+ if not self.salome :
+ if hasattr (self, 'CONFIGURATION') and hasattr(self.CONFIGURATION,'taille') : self.taille=self.CONFIGURATION.taille
+ else : self.taille=1700
- if self.code in ['MAP',] : self.resize(1440,self.height())
- else : self.resize(self.taille,self.height())
+ if self.code in ['MAP',] : self.resize(1440,self.height())
+ else : self.resize(self.taille,self.height())
+
icon = QIcon(self.repIcon+"/parametres.png")
self.actionParametres.setIcon(icon)
# sys.setdefaultencoding(prefsCode.encoding)
def construitMenu(self):
+ print "kjkljkljlkj"
self.initPatrons()
self.initRecents()
self.initAides()
</rect>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<string notr="true">QComboBox{combobox-popup:0;}</string>
</property>
<layout class="QGridLayout" name="gridLayout">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
+ <property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<x>0</x>
<y>0</y>
<width>1676</width>
- <height>25</height>
+ <height>24</height>
</rect>
</property>
<widget class="QMenu" name="menuFichier">
<action name="action_Nouveau">
<property name="icon">
<iconset theme="document-new">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff/>
+ </iconset>
</property>
<property name="text">
<string>&Nouveau</string>
<action name="actionOuvrir">
<property name="icon">
<iconset theme="document-open">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff/>
+ </iconset>
</property>
<property name="text">
<string>&Ouvrir</string>
<action name="actionEnregistrer">
<property name="icon">
<iconset theme="document-save">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff/>
+ </iconset>
</property>
<property name="text">
<string>Enregistrer</string>
<action name="actionEnregistrer_sous">
<property name="icon">
<iconset theme="document-save-as">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff/>
+ </iconset>
</property>
<property name="text">
<string>Enregistrer sous</string>
<action name="actionCouper">
<property name="icon">
<iconset theme="edit-cut">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff/>
+ </iconset>
</property>
<property name="text">
<string>Couper</string>
<action name="actionCopier">
<property name="icon">
<iconset theme="edit-copy">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff/>
+ </iconset>
</property>
<property name="text">
<string>Copier</string>
<action name="actionColler">
<property name="icon">
<iconset theme="edit-paste">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff/>
+ </iconset>
</property>
<property name="text">
<string>Coller</string>
<action name="actionSupprimer">
<property name="icon">
<iconset theme="edit-delete">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff/>
+ </iconset>
</property>
<property name="text">
<string>Supprimer</string>
<action name="actionRechercher">
<property name="icon">
<iconset theme="edit-find">
- <normaloff>.</normaloff>.</iconset>
+ <normaloff/>
+ </iconset>
</property>
<property name="text">
<string>Rechercher</string>