mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
boundary conditions: Add model scheme and window scheme.
This commit is contained in:
1 parent
863b1d00d0
commit
35d66cc881
7 files changed
+353
-1
No files matched your search
@@ -22,6 +22,7 @@ from View.Main.NewStudyWindow import NewStudyWindow
|
||||
from View.Main.AboutWindow import AboutWindow
|
||||
from View.Network.NetworkWindow import NetworkWindow
|
||||
from View.Geometry.GeometryWindow import GeometryWindow
|
||||
from View.BoundaryCondition.BoundaryConditionWindow import BoundaryConditionWindow
|
||||
|
||||
from Model.Study import Study
|
||||
|
||||
@@ -114,7 +115,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
"action_toolBar_geometry": self.open_geometry,
|
||||
"action_toolBar_mesh": lambda: self.open_dummy("Mesh"),
|
||||
"action_toolBar_run_meshing_tool": lambda: self.open_dummy("Lancement mailleur externe"),
|
||||
"action_toolBar_boundary_cond": lambda: self.open_dummy("Condition Limites"),
|
||||
"action_toolBar_boundary_cond": self.open_boundary_cond,
|
||||
"action_toolBar_lateral_contrib": lambda: self.open_dummy("Apport Lateraux"),
|
||||
"action_toolBar_spills": lambda: self.open_dummy("Deversement"),
|
||||
"action_toolBar_sections": lambda: self.open_dummy("Tronçons"),
|
||||
@@ -315,6 +316,11 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
"Geometry edition need a reach selected "
|
||||
"into river network window to work on it")
|
||||
|
||||
def open_boundary_cond(self):
|
||||
self.bound = BoundaryConditionWindow(study = self.model, parent=self)
|
||||
self.bound.show()
|
||||
|
||||
|
||||
# TODO: Delete me !
|
||||
###############
|
||||
# DUMMY STUFF #
|
||||
|
||||
Reference in new issue
Block a user