6.1.1.3.1.3. thyrsis.gui.crisis_dialog module

Crisis interface to define simulation with a mininumum of user interface

class thyrsis.gui.crisis_dialog.CrisisWidget(dbname, iface, parent=None)

Bases: PyQt5.QtWidgets.QWidget

Crisis dialog, where injections are defined

cancel()

Cancel changes and reload interface with the db data

Returns

None

Return type

None

fillChemCombobox()
project()

Getter of the project attribute

Returns

db path

Return type

string

updateDatabase(update_injection_geometries=True)

Update database with the information of the dialog form

Parameters

update_injection_geometries (bool) – flag to update the saved injection geometries

Returns

success state

Return type

bool