MainWindow: Fix translate and re organize UI.

setup.py
Pierre-Antoine Rouby 2023-11-21 10:36:13 +01:00
parent 470eae8b92
commit 1a10da9c89
1 changed files with 27 additions and 40 deletions

View File

@ -82,9 +82,7 @@
<string>&amp;File</string>
</property>
<addaction name="action_menu_new"/>
<addaction name="separator"/>
<addaction name="action_menu_open"/>
<addaction name="separator"/>
<addaction name="action_menu_close"/>
<addaction name="separator"/>
<addaction name="action_menu_edit"/>
@ -92,9 +90,7 @@
<addaction name="action_menu_save_as"/>
<addaction name="separator"/>
<addaction name="action_menu_config"/>
<addaction name="separator"/>
<addaction name="action_menu_quit"/>
<addaction name="separator"/>
</widget>
<widget class="QMenu" name="menu_network">
<property name="locale">
@ -113,7 +109,6 @@
<string>&amp;Geometry</string>
</property>
<addaction name="action_menu_edit_geometry"/>
<addaction name="separator"/>
</widget>
<widget class="QMenu" name="menu_run">
<property name="locale">
@ -123,9 +118,7 @@
<string>&amp;Execute</string>
</property>
<addaction name="action_menu_numerical_parameter"/>
<addaction name="separator"/>
<addaction name="action_menu_run_solver"/>
<addaction name="separator"/>
</widget>
<widget class="QMenu" name="menu_Hydraulics">
<property name="locale">
@ -135,9 +128,7 @@
<string>&amp;Hydraulics</string>
</property>
<addaction name="action_menu_boundary_conditions"/>
<addaction name="separator"/>
<addaction name="action_menu_initial_conditions"/>
<addaction name="separator"/>
<addaction name="action_menu_edit_friction"/>
<addaction name="action_menu_edit_lateral_contribution"/>
</widget>
@ -209,6 +200,7 @@
</property>
<property name="font">
<font>
<family>Sans Serif</family>
<weight>50</weight>
<bold>false</bold>
<kerning>true</kerning>
@ -247,37 +239,14 @@
<addaction name="action_toolBar_open"/>
<addaction name="action_toolBar_save"/>
<addaction name="action_toolBar_close"/>
<addaction name="action_toolBar_quit"/>
<addaction name="separator"/>
<addaction name="action_toolBar_run_solver"/>
<addaction name="separator"/>
<addaction name="action_toolBar_network"/>
<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="separator"/>
<addaction name="action_toolBar_lateral_contrib"/>
<addaction name="separator"/>
<addaction name="action_toolBar_frictions"/>
<addaction name="separator"/>
<addaction name="action_toolBar_initial_cond"/>
</widget>
<action name="action_menu_new">
@ -376,6 +345,9 @@
<property name="text">
<string>Save</string>
</property>
<property name="toolTip">
<string>Save study</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
@ -388,6 +360,9 @@
<property name="text">
<string>Save as ...</string>
</property>
<property name="toolTip">
<string>Save study as ...</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+S</string>
</property>
@ -410,6 +385,9 @@
<property name="text">
<string>Quit</string>
</property>
<property name="toolTip">
<string>Quit application</string>
</property>
<property name="shortcut">
<string>Ctrl+F4</string>
</property>
@ -515,8 +493,8 @@
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
</action>
@ -618,11 +596,14 @@
<property name="text">
<string>Visualize last results</string>
</property>
<property name="toolTip">
<string>Visualize the last results</string>
</property>
<property name="font">
<font>
<family>Ubuntu</family>
<weight>75</weight>
<bold>true</bold>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
</action>
@ -690,7 +671,7 @@
<string>Save current study</string>
</property>
<property name="toolTip">
<string>Enrégistrer étude en cours (Ctrl+S)</string>
<string>Save the study (Ctrl+S)</string>
</property>
<property name="shortcut">
<string/>
@ -705,7 +686,7 @@
<string>Close current study</string>
</property>
<property name="toolTip">
<string>Fermer étude en cours (Ctrl+F)</string>
<string>Close the study (Ctrl+F)</string>
</property>
<property name="shortcut">
<string>Ctrl+F</string>
@ -879,7 +860,7 @@
<string>Edit study</string>
</property>
<property name="toolTip">
<string>Edit study</string>
<string>Edit the study metadata</string>
</property>
</action>
<action name="action_english">
@ -904,6 +885,9 @@
<property name="text">
<string>Sediment layers</string>
</property>
<property name="toolTip">
<string>Define sediment layers</string>
</property>
</action>
<action name="action_menu_edit_reach_sediment_layers">
<property name="text">
@ -924,6 +908,9 @@
<property name="text">
<string>Mage</string>
</property>
<property name="toolTip">
<string>Open mage documentation</string>
</property>
</action>
<action name="action_menu_pamhyr_users_pdf">
<property name="text">