mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
MainWindow: Fix translate and re organize UI.
This commit is contained in:
1 parent
470eae8b92
commit
1a10da9c89
1 file changed
+27
-40
+27
-40
@@ -82,9 +82,7 @@
|
|||||||
<string>&File</string>
|
<string>&File</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="action_menu_new"/>
|
<addaction name="action_menu_new"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="action_menu_open"/>
|
<addaction name="action_menu_open"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="action_menu_close"/>
|
<addaction name="action_menu_close"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="action_menu_edit"/>
|
<addaction name="action_menu_edit"/>
|
||||||
@@ -92,9 +90,7 @@
|
|||||||
<addaction name="action_menu_save_as"/>
|
<addaction name="action_menu_save_as"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="action_menu_config"/>
|
<addaction name="action_menu_config"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="action_menu_quit"/>
|
<addaction name="action_menu_quit"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menu_network">
|
<widget class="QMenu" name="menu_network">
|
||||||
<property name="locale">
|
<property name="locale">
|
||||||
@@ -113,7 +109,6 @@
|
|||||||
<string>&Geometry</string>
|
<string>&Geometry</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="action_menu_edit_geometry"/>
|
<addaction name="action_menu_edit_geometry"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menu_run">
|
<widget class="QMenu" name="menu_run">
|
||||||
<property name="locale">
|
<property name="locale">
|
||||||
@@ -123,9 +118,7 @@
|
|||||||
<string>&Execute</string>
|
<string>&Execute</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="action_menu_numerical_parameter"/>
|
<addaction name="action_menu_numerical_parameter"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="action_menu_run_solver"/>
|
<addaction name="action_menu_run_solver"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menu_Hydraulics">
|
<widget class="QMenu" name="menu_Hydraulics">
|
||||||
<property name="locale">
|
<property name="locale">
|
||||||
@@ -135,9 +128,7 @@
|
|||||||
<string>&Hydraulics</string>
|
<string>&Hydraulics</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="action_menu_boundary_conditions"/>
|
<addaction name="action_menu_boundary_conditions"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="action_menu_initial_conditions"/>
|
<addaction name="action_menu_initial_conditions"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="action_menu_edit_friction"/>
|
<addaction name="action_menu_edit_friction"/>
|
||||||
<addaction name="action_menu_edit_lateral_contribution"/>
|
<addaction name="action_menu_edit_lateral_contribution"/>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -209,6 +200,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
|
<family>Sans Serif</family>
|
||||||
<weight>50</weight>
|
<weight>50</weight>
|
||||||
<bold>false</bold>
|
<bold>false</bold>
|
||||||
<kerning>true</kerning>
|
<kerning>true</kerning>
|
||||||
@@ -247,37 +239,14 @@
|
|||||||
<addaction name="action_toolBar_open"/>
|
<addaction name="action_toolBar_open"/>
|
||||||
<addaction name="action_toolBar_save"/>
|
<addaction name="action_toolBar_save"/>
|
||||||
<addaction name="action_toolBar_close"/>
|
<addaction name="action_toolBar_close"/>
|
||||||
<addaction name="action_toolBar_quit"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="action_toolBar_run_solver"/>
|
<addaction name="action_toolBar_run_solver"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="action_toolBar_network"/>
|
<addaction name="action_toolBar_network"/>
|
||||||
<addaction name="action_toolBar_geometry"/>
|
<addaction name="action_toolBar_geometry"/>
|
||||||
</widget>
|
|
||||||
<widget class="QToolBar" name="toolBar_2">
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<family>Sans Serif</family>
|
|
||||||
<pointsize>9</pointsize>
|
|
||||||
<weight>50</weight>
|
|
||||||
<italic>false</italic>
|
|
||||||
<bold>false</bold>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="windowTitle">
|
|
||||||
<string>toolBar_2</string>
|
|
||||||
</property>
|
|
||||||
<attribute name="toolBarArea">
|
|
||||||
<enum>TopToolBarArea</enum>
|
|
||||||
</attribute>
|
|
||||||
<attribute name="toolBarBreak">
|
|
||||||
<bool>true</bool>
|
|
||||||
</attribute>
|
|
||||||
<addaction name="action_toolBar_boundary_cond"/>
|
<addaction name="action_toolBar_boundary_cond"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="action_toolBar_lateral_contrib"/>
|
<addaction name="action_toolBar_lateral_contrib"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="action_toolBar_frictions"/>
|
<addaction name="action_toolBar_frictions"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="action_toolBar_initial_cond"/>
|
<addaction name="action_toolBar_initial_cond"/>
|
||||||
</widget>
|
</widget>
|
||||||
<action name="action_menu_new">
|
<action name="action_menu_new">
|
||||||
@@ -376,6 +345,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Save</string>
|
<string>Save</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Save study</string>
|
||||||
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+S</string>
|
<string>Ctrl+S</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -388,6 +360,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Save as ...</string>
|
<string>Save as ...</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Save study as ...</string>
|
||||||
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+S</string>
|
<string>Ctrl+Shift+S</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -410,6 +385,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Quit</string>
|
<string>Quit</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Quit application</string>
|
||||||
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+F4</string>
|
<string>Ctrl+F4</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -515,8 +493,8 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<weight>75</weight>
|
<weight>50</weight>
|
||||||
<bold>true</bold>
|
<bold>false</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
@@ -618,11 +596,14 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Visualize last results</string>
|
<string>Visualize last results</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Visualize the last results</string>
|
||||||
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>Ubuntu</family>
|
<family>Ubuntu</family>
|
||||||
<weight>75</weight>
|
<weight>50</weight>
|
||||||
<bold>true</bold>
|
<bold>false</bold>
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
@@ -690,7 +671,7 @@
|
|||||||
<string>Save current study</string>
|
<string>Save current study</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Enrégistrer étude en cours (Ctrl+S)</string>
|
<string>Save the study (Ctrl+S)</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string/>
|
<string/>
|
||||||
@@ -705,7 +686,7 @@
|
|||||||
<string>Close current study</string>
|
<string>Close current study</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Fermer étude en cours (Ctrl+F)</string>
|
<string>Close the study (Ctrl+F)</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+F</string>
|
<string>Ctrl+F</string>
|
||||||
@@ -879,7 +860,7 @@
|
|||||||
<string>Edit study</string>
|
<string>Edit study</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Edit study</string>
|
<string>Edit the study metadata</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="action_english">
|
<action name="action_english">
|
||||||
@@ -904,6 +885,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Sediment layers</string>
|
<string>Sediment layers</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Define sediment layers</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="action_menu_edit_reach_sediment_layers">
|
<action name="action_menu_edit_reach_sediment_layers">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@@ -924,6 +908,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Mage</string>
|
<string>Mage</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Open mage documentation</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="action_menu_pamhyr_users_pdf">
|
<action name="action_menu_pamhyr_users_pdf">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|||||||
Reference in new issue
Block a user