gui#
gui#
dfastbe.gui.application
#
Copyright (C) 2025 Stichting Deltares.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation version 2.1.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, see http://www.gnu.org/licenses/.
contact: delft3d.support@deltares.nl Stichting Deltares P.O. Box 177 2600 MH Delft, The Netherlands
All indications and logos of, and references to, "Delft3D" and "Deltares" are registered trademarks of Stichting Deltares, and remain the property of Stichting Deltares. All rights reserved.
INFORMATION This file is part of D-FAST Bank Erosion: https://github.com/Deltares/D-FAST_Bank_Erosion
GUI
#
Source code in src/dfastbe/gui/application.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | |
activate() -> None
#
Activate the user interface and run the program.
Source code in src/dfastbe/gui/application.py
153 154 155 156 | |
close() -> None
#
Close the dialog and program.
Source code in src/dfastbe/gui/application.py
158 159 160 161 162 163 | |
create() -> None
#
Construct the D-FAST Bank Erosion user interface.
Source code in src/dfastbe/gui/application.py
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | |
create_menu_bar() -> MenuBar
#
Add the menus to the menubar.
Source code in src/dfastbe/gui/application.py
142 143 144 145 146 | |
main(config: Optional[Path] = None) -> None
#
Start the user interface using default settings or optional configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
Optional[str] Optional name of configuration file. |
required |
Source code in src/dfastbe/gui/application.py
166 167 168 169 170 171 172 173 174 175 176 177 178 179 | |