]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
*** empty log message ***
authorPascale Noyret <pascale.noyret@edf.fr>
Fri, 4 Jul 2008 07:51:57 +0000 (07:51 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Fri, 4 Jul 2008 07:51:57 +0000 (07:51 +0000)
InterfaceQT/compoformule.py
InterfaceQT/monFonctionPanel.py
InterfaceQT/qtEficas.py
Ui/desCommande.ui
Ui/desListeParam.ui
Ui/myMain.ui

index 6f3bd9dd486a875b0a51419763eae2d48e14302e..02dcdc0da18961720558accc08caff1f172ea615 100644 (file)
@@ -20,6 +20,10 @@ class FormuleNode(browser.JDCNode,typeNode.PopUpMenuNode):
       from monFormulePanel import MonFormulePanel
       return MonFormulePanel(self,parent=self.editor)
         
+   
+    def createPopUpMenu(self):
+      typeNode.PopUpMenuNode.createPopUpMenu(self)
+
             
 class FORMULETreeItem(compooper.EtapeTreeItem):
     """
index 8a0a3f3dda2e0aa657042bcb8e052e793966ed6d..b69d38191102c237a2531bf2049d29b62eb03fce 100644 (file)
@@ -83,6 +83,7 @@ class MonFonctionPanel(MonPlusieursBasePanel):
             commentaire += QString(str(self.nbValeurs)) 
             commentaire += QString(" valeurs")
             #self.Commentaire.setText(commentaire)
+           self.LEValeur.setText(QString(str(liste)))
             self.editor.affiche_infos(commentaire)
             return
 
index 780cf355582447004bdf9aeda7213479fd85267c..7914ef845090eab97f4a8b17fa67563673602fcd 100644 (file)
@@ -61,7 +61,7 @@ class Appli(Eficas):
         self.setCentralWidget(self.viewmanager)
 
         self.recentMenu = QPopupMenu(self.Fichier)
-        self.Fichier.insertItem(self.trUtf8('&Recents'), self.recentMenu)
+        self.Fichier.insertItem(self.trUtf8('&Recents'), self.recentMenu,99,8)
         self.connect(self.recentMenu,SIGNAL('aboutToShow()'),self.handleShowRecentMenu)
         self.connect(self,PYSIGNAL('preferencesChanged'),
                      self.viewmanager.handlePreferencesChanged)
index 8bff53b5429f4726ddc4a70e2919236c565fedfa..1ebda2c326182e6640511c05d86c43856d850f92 100644 (file)
                 <attribute name="title">
                     <string>Ajouter Mot-Clef</string>
                 </attribute>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>textLabel1</cstring>
-                    </property>
-                    <property name="geometry">
-                        <rect>
-                            <x>11</x>
-                            <y>11</y>
-                            <width>226</width>
-                            <height>18</height>
-                        </rect>
-                    </property>
-                    <property name="minimumSize">
-                        <size>
-                            <width>0</width>
-                            <height>0</height>
-                        </size>
-                    </property>
-                    <property name="text">
-                        <string>&lt;h3&gt;&lt;p align="center"&gt;&lt;u&gt;&lt;b&gt;Mots Clefs Permis&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;/h3&gt;</string>
-                    </property>
-                </widget>
-                <widget class="QListBox">
-                    <property name="name">
-                        <cstring>LBMCPermis</cstring>
-                    </property>
-                    <property name="geometry">
-                        <rect>
-                            <x>11</x>
-                            <y>35</y>
-                            <width>226</width>
-                            <height>342</height>
-                        </rect>
-                    </property>
-                    <property name="minimumSize">
-                        <size>
-                            <width>0</width>
-                            <height>0</height>
-                        </size>
-                    </property>
-                </widget>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>textLabel1_2</cstring>
-                    </property>
-                    <property name="geometry">
-                        <rect>
-                            <x>243</x>
-                            <y>11</y>
-                            <width>225</width>
-                            <height>18</height>
-                        </rect>
-                    </property>
-                    <property name="text">
-                        <string>&lt;h3&gt;&lt;p align="center"&gt;&lt;u&gt;&lt;b&gt;Règles&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;/h3&gt;</string>
-                    </property>
-                </widget>
-                <widget class="QListBox">
+                <grid>
                     <property name="name">
-                        <cstring>LBRegles</cstring>
-                    </property>
-                    <property name="geometry">
-                        <rect>
-                            <x>243</x>
-                            <y>35</y>
-                            <width>225</width>
-                            <height>342</height>
-                        </rect>
+                        <cstring>unnamed</cstring>
                     </property>
-                </widget>
+                    <widget class="QLabel" row="0" column="0">
+                        <property name="name">
+                            <cstring>textLabel1</cstring>
+                        </property>
+                        <property name="minimumSize">
+                            <size>
+                                <width>0</width>
+                                <height>0</height>
+                            </size>
+                        </property>
+                        <property name="text">
+                            <string>&lt;h3&gt;&lt;p align="center"&gt;&lt;u&gt;&lt;b&gt;Mots Clefs Permis&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;/h3&gt;</string>
+                        </property>
+                    </widget>
+                    <widget class="QListBox" row="1" column="1">
+                        <property name="name">
+                            <cstring>LBRegles</cstring>
+                        </property>
+                    </widget>
+                    <widget class="QListBox" row="1" column="0">
+                        <property name="name">
+                            <cstring>LBMCPermis</cstring>
+                        </property>
+                        <property name="minimumSize">
+                            <size>
+                                <width>0</width>
+                                <height>0</height>
+                            </size>
+                        </property>
+                    </widget>
+                    <widget class="QLabel" row="0" column="1">
+                        <property name="name">
+                            <cstring>textLabel1_2</cstring>
+                        </property>
+                        <property name="text">
+                            <string>&lt;h3&gt;&lt;p align="center"&gt;&lt;u&gt;&lt;b&gt;Règles&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;/h3&gt;</string>
+                        </property>
+                    </widget>
+                </grid>
             </widget>
             <widget class="QWidget">
                 <property name="name">
index 25f30d85c5554ed9eccccae56a913884d42b4bda..5296fb555a135ca4d2adbc8c1589526e0e26c279 100644 (file)
@@ -23,6 +23,9 @@
             <property name="name">
                 <cstring>LBParam</cstring>
             </property>
+            <property name="selectionMode">
+                <enum>Single</enum>
+            </property>
         </widget>
     </grid>
 </widget>
index 210e50a1f96f3e46ecf8dba664e3508eb84c0da6..da2aec89a484955f5d619d279ca80f2123c91e29 100644 (file)
             <string>Enregistrer</string>
         </property>
         <property name="menuText">
-            <string>&amp;Enregistrer</string>
+            <string>Enregistrer</string>
         </property>
         <property name="accel">
-            <string>Ctrl+E</string>
+            <string>Ctrl+S</string>
         </property>
     </action>
     <action>