wolfhece.PyGuiHydrology ======================= .. py:module:: wolfhece.PyGuiHydrology .. autoapi-nested-parse:: Author: HECE - University of Liege, Pierre Archambeau Date: 2024 Copyright (c) 2024 University of Liege. All rights reserved. This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited. Module Contents --------------- .. py:class:: selectpoint(parent=None, title='Default Title', w=500, h=200, SPWstations: wolfhece.RatingCurve.SPWMIGaugingStations = None, DCENNstations: wolfhece.RatingCurve.SPWDCENNGaugingStations = None) Bases: :py:obj:`wx.Dialog` .. autoapi-inheritance-diagram:: wolfhece.PyGuiHydrology.selectpoint :parts: 1 :private-bases: .. py:attribute:: SPWMI :value: None .. py:attribute:: SPWDCENN :value: None .. py:attribute:: sizer .. py:attribute:: sizerv .. py:attribute:: buttonOK .. py:attribute:: rbox .. py:attribute:: tcoordx .. py:attribute:: coordx .. py:attribute:: tcoordy .. py:attribute:: coordy .. py:attribute:: coords .. py:attribute:: tcodestation .. py:attribute:: codestation .. py:attribute:: codes .. py:attribute:: triverstation .. py:attribute:: riverstation .. py:attribute:: tnamestation .. py:attribute:: namestation .. py:attribute:: riversname .. py:method:: Apply(event) .. py:method:: onComboRiver(evt) .. py:method:: onRadioBox(evt) Switch between the different options in the radio box .. py:class:: GuiHydrology(parent=None, title='WOLF Hydrological model - viewer', w=500, h=500, treewidth=200, wolfparent=None, wxlogging=None) Bases: :py:obj:`wolfhece.PyDraw.WolfMapViewer` .. autoapi-inheritance-diagram:: wolfhece.PyGuiHydrology.GuiHydrology :parts: 1 :private-bases: Mapviewer of the hydrology model -- see HydrologyModel in PyGui.py .. py:attribute:: wolfparent :type: wolfhece.PyGui.HydrologyModel .. py:attribute:: _hydrol_modelmenu .. py:attribute:: _wizard .. py:attribute:: _dtm_menu .. py:attribute:: _prepro_menu .. py:attribute:: _outlet_menu .. py:attribute:: _ip_menu .. py:attribute:: _forced_exchanges_menu .. py:attribute:: _params_menu .. py:attribute:: _toolsmenu .. py:attribute:: _tmp_vector_exchanges .. py:property:: watershed .. py:property:: header Return the header of the watershed .. py:method:: _choose_outlet() Choose the outlet of the watershed .. py:method:: OnMenubar(event) Event handler for the menubar .. py:method:: On_Mouse_Right_Down(e: wx.MouseEvent) Event when the right button of the mouse is pressed. We use this event to manage "action" set by others objects. .. py:method:: On_Mouse_Motion(e: wx.MouseEvent) Handle mouse motion events .. py:method:: Paint() Paint the map viewer