]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
correction bug
authorPASCALE NOYRET <pascale.noyret@edf.fr>
Fri, 3 Dec 2021 13:59:18 +0000 (14:59 +0100)
committerPASCALE NOYRET <pascale.noyret@edf.fr>
Fri, 3 Dec 2021 13:59:18 +0000 (14:59 +0100)
InterfaceQT4/qtEficas.py
UiQT5/desChoixCode.ui

index 6fc23c2236c5dc9583a643b99fbba095cbf3b369..a0c0579429c0a48675e4248345762468ea8e1625 100755 (executable)
@@ -66,12 +66,10 @@ class Appli(AppliSsIhm,Ui_Eficas,QMainWindow):
 
         if self.multi == False :
             self.definitCode(code,None)
-            if code==None: return
+            if self.code==None: return
         else :
             self.definitCode(code,None)
-            if code==None: return
-            print ('il faut trouver le chemin du code')
-            return
+            if self.code==None: return
 
         self.suiteTelemac=False
         if hasattr (self, 'maConfiguration') :
@@ -836,7 +834,7 @@ class Appli(AppliSsIhm,Ui_Eficas,QMainWindow):
         self.viewmanager.handleOpen(fichier=fichier, patron =0 )
 
     def handleClearRecent(self):
-        self.recent = QStringList()
+        self.recent = []
         self.sauveRecents()
 
     def handleRechercherDsCatalogue(self):
index 76f9de749bb60b016a8183b2d399e5fcfd7cb268..63aed7b1b60fa5c986495911a28693307bf6287d 100644 (file)
@@ -6,10 +6,22 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>205</width>
-    <height>96</height>
+    <width>479</width>
+    <height>332</height>
    </rect>
   </property>
+  <property name="sizePolicy">
+   <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+    <horstretch>0</horstretch>
+    <verstretch>0</verstretch>
+   </sizepolicy>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>479</width>
+    <height>332</height>
+   </size>
+  </property>
   <property name="windowTitle">
    <string>Choix du Code</string>
   </property>
    <property name="spacing">
     <number>0</number>
    </property>
-   <property name="margin">
+   <property name="leftMargin">
+    <number>0</number>
+   </property>
+   <property name="topMargin">
+    <number>0</number>
+   </property>
+   <property name="rightMargin">
+    <number>0</number>
+   </property>
+   <property name="bottomMargin">
     <number>0</number>
    </property>
    <item>
       <string/>
      </property>
      <layout class="QVBoxLayout" name="vlBouton">
-      <property name="margin">
+      <property name="leftMargin">
+       <number>0</number>
+      </property>
+      <property name="topMargin">
+       <number>0</number>
+      </property>
+      <property name="rightMargin">
+       <number>0</number>
+      </property>
+      <property name="bottomMargin">
        <number>0</number>
       </property>
       <item>