mirror of https://gitlab.com/pamhyr/pamhyr2
Mainwindow, stricklers: Minor change.
parent
aadf6d9fac
commit
3b2a41e0e9
|
|
@ -47,7 +47,7 @@ define_model_action = [
|
|||
"action_toolBar_mesh", "action_toolBar_run_meshing_tool",
|
||||
"action_toolBar_boundary_cond", "action_toolBar_lateral_contrib",
|
||||
"action_toolBar_spills", "action_toolBar_sections",
|
||||
"action_toolBar_frictions", "action_toolBar_building",
|
||||
"action_toolBar_stricklers", "action_toolBar_building",
|
||||
]
|
||||
|
||||
action = (
|
||||
|
|
@ -126,7 +126,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
|||
"action_toolBar_boundary_cond": self.open_boundary_cond,
|
||||
"action_toolBar_lateral_contrib": self.open_lateral_contrib,
|
||||
"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"),
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -65,8 +65,6 @@ class StricklersWindow(ASubMainWindow, ListedSubWindow):
|
|||
else:
|
||||
data = self._config.stricklers
|
||||
|
||||
print(data)
|
||||
|
||||
self._table[t] = TableModel(
|
||||
data = data,
|
||||
undo = self._undo_stack,
|
||||
|
|
|
|||
|
|
@ -298,7 +298,7 @@
|
|||
<addaction name="separator"/>
|
||||
<addaction name="action_toolBar_sections"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="action_toolBar_frictions"/>
|
||||
<addaction name="action_toolBar_stricklers"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="action_toolBar_building"/>
|
||||
<addaction name="separator"/>
|
||||
|
|
@ -823,12 +823,12 @@
|
|||
<string>Edit section frictions and lateral contributions</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_toolBar_frictions">
|
||||
<action name="action_toolBar_stricklers">
|
||||
<property name="text">
|
||||
<string>Frictions</string>
|
||||
<string>Stricklers</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Edit friction at the bottom</string>
|
||||
<string>Edit the study stricklers</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_toolBar_building">
|
||||
|
|
|
|||
Loading…
Reference in New Issue