Mainwindow, stricklers: Minor change.

mesh
Pierre-Antoine Rouby 2023-05-24 09:23:33 +02:00
parent aadf6d9fac
commit 3b2a41e0e9
3 changed files with 6 additions and 8 deletions

View File

@ -47,7 +47,7 @@ define_model_action = [
"action_toolBar_mesh", "action_toolBar_run_meshing_tool", "action_toolBar_mesh", "action_toolBar_run_meshing_tool",
"action_toolBar_boundary_cond", "action_toolBar_lateral_contrib", "action_toolBar_boundary_cond", "action_toolBar_lateral_contrib",
"action_toolBar_spills", "action_toolBar_sections", "action_toolBar_spills", "action_toolBar_sections",
"action_toolBar_frictions", "action_toolBar_building", "action_toolBar_stricklers", "action_toolBar_building",
] ]
action = ( action = (
@ -126,7 +126,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
"action_toolBar_boundary_cond": self.open_boundary_cond, "action_toolBar_boundary_cond": self.open_boundary_cond,
"action_toolBar_lateral_contrib": self.open_lateral_contrib, "action_toolBar_lateral_contrib": self.open_lateral_contrib,
"action_toolBar_spills": lambda: self.open_dummy("Deversement"), "action_toolBar_spills": lambda: self.open_dummy("Deversement"),
"action_toolBar_frictions": self.open_stricklers, "action_toolBar_stricklers": self.open_stricklers,
"action_toolBar_building": lambda: self.open_dummy("Ouvrages"), "action_toolBar_building": lambda: self.open_dummy("Ouvrages"),
} }

View File

@ -65,8 +65,6 @@ class StricklersWindow(ASubMainWindow, ListedSubWindow):
else: else:
data = self._config.stricklers data = self._config.stricklers
print(data)
self._table[t] = TableModel( self._table[t] = TableModel(
data = data, data = data,
undo = self._undo_stack, undo = self._undo_stack,

View File

@ -298,7 +298,7 @@
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="action_toolBar_sections"/> <addaction name="action_toolBar_sections"/>
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="action_toolBar_frictions"/> <addaction name="action_toolBar_stricklers"/>
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="action_toolBar_building"/> <addaction name="action_toolBar_building"/>
<addaction name="separator"/> <addaction name="separator"/>
@ -823,12 +823,12 @@
<string>Edit section frictions and lateral contributions</string> <string>Edit section frictions and lateral contributions</string>
</property> </property>
</action> </action>
<action name="action_toolBar_frictions"> <action name="action_toolBar_stricklers">
<property name="text"> <property name="text">
<string>Frictions</string> <string>Stricklers</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit friction at the bottom</string> <string>Edit the study stricklers</string>
</property> </property>
</action> </action>
<action name="action_toolBar_building"> <action name="action_toolBar_building">