]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
improve MRU action
authorvsr <vsr@opencascade.com>
Tue, 29 Jul 2008 10:24:22 +0000 (10:24 +0000)
committervsr <vsr@opencascade.com>
Tue, 29 Jul 2008 10:24:22 +0000 (10:24 +0000)
src/LightApp/resources/LightApp.xml
src/LightApp/resources/LightApp_msg_en.ts
src/SalomeApp/resources/SalomeApp.xml

index 8151472ac0d6ed0f375a449682d52be9cbf06d7d..b4832037088a68714c84035889e0be9d0c18764a 100644 (file)
     <parameter name="QuickDirList" value=""/>
   </section>
   <section name="MRU" >
-    <!-- Max number of "Most recently used" studies-->
-    <parameter name="max_count" value="7"/>
+    <!-- Show "Most recently used" studies-->
+    <parameter name="show_mru" value="true"/>
+    <!-- Max number of stored "Most recently used" studies-->
+    <parameter name="max_count" value="50"/>
+    <!-- Max visible number of "Most recently used" studies-->
+    <parameter name="visible_count" value="7"/>
+    <!-- Insert mode-->
+    <parameter name="insert_mode" value="0"/>
+    <!-- Link type-->
+    <parameter name="link_type" value="0"/>
+    <!-- Show "Clear" item-->
+    <parameter name="show_clear" value="true"/>
   </section>
   <section name="Study">
     <!-- General study settings -->
index a4badcab7f59a2e351098b9b51361ac3820cc94f..4e14d719fc15c6ac4d42c9230996746949a9037b 100644 (file)
@@ -398,6 +398,54 @@ CEA/DEN, CEDRAT, EDF R&amp;D, LEG, PRINCIPIA R&amp;D, BUREAU VERITAS</translatio
         <translation>Can not open %1.
 File does not exist</translation>
     </message>
+    <message>
+        <source>PREF_GROUP_MRU</source>
+        <translation>Show MRU items</translation>
+    </message>
+    <message>
+        <source>PREF_MRU_VISIBLE_COUNT</source>
+        <translation>Number of MRU items</translation>
+    </message>
+    <message>
+        <source>PREF_MRU_INSERT_MODE</source>
+        <translation>Insert mode</translation>
+    </message>
+    <message>
+        <source>PREF_MRU_MOVE_FIRST</source>
+        <translation>Move to the beginning</translation>
+    </message>
+    <message>
+        <source>PREF_MRU_MOVE_LAST</source>
+        <translation>Move to the end</translation>
+    </message>
+    <message>
+        <source>PREF_MRU_ADD_FIRST</source>
+        <translation>Add to the beginning</translation>
+    </message>
+    <message>
+        <source>PREF_MRU_ADD_LAST</source>
+        <translation>Add to the end</translation>
+    </message>
+    <message>
+        <source>PREF_MRU_LINK_TYPE</source>
+        <translation>Link type</translation>
+    </message>
+    <message>
+        <source>PREF_MRU_LINK_AUTO</source>
+        <translation>Auto</translation>
+    </message>
+    <message>
+        <source>PREF_MRU_LINK_SHORT</source>
+        <translation>Short</translation>
+    </message>
+    <message>
+        <source>PREF_MRU_LINK_FULL</source>
+        <translation>Full</translation>
+    </message>
+    <message>
+        <source></source>
+        <translation></translation>
+    </message>
 </context>
 <context>
     <name>LightApp_Module</name>
index 9fc268d83e398e4fe50ed15eca10bdd2c8589809..60e9f90a927a0883ba0deb256f79f1853627fe25 100644 (file)
     <parameter name="NodeBody"   value="255, 249, 147" />
   </section>
   <section name="MRU" >
-    <!-- Max number of "Most recently used" studies-->
-    <parameter name="max_count" value="7"/>
+    <!-- Show "Most recently used" studies-->
+    <parameter name="show_mru" value="true"/>
+    <!-- Max number of stored "Most recently used" studies-->
+    <parameter name="max_count" value="50"/>
+    <!-- Max visible number of "Most recently used" studies-->
+    <parameter name="visible_count" value="7"/>
+    <!-- Insert mode-->
+    <parameter name="insert_mode" value="0"/>
+    <!-- Link type-->
+    <parameter name="link_type" value="0"/>
+    <!-- Show "Clear" item-->
+    <parameter name="show_clear" value="true"/>
   </section> 
   <section name="QxGraph" >
     <!-- QxGraph viewer preferences -->