slim.gui_utils.model module
Models for communication across widgets in accordance to MVC.
- class slim.gui_utils.model.CurveListState(L1: 'bool' = True, L2: 'bool' = True, L3: 'bool' = True, L4: 'bool' = True, L5f: 'bool' = True, L5m: 'bool' = True, Eggs: 'bool' = True, ExtP: 'bool' = True, sum_: 'bool' = False)
Bases:
object
- Eggs: bool = True
- ExtP: bool = True
- L1: bool = True
- L2: bool = True
- L3: bool = True
- L4: bool = True
- L5f: bool = True
- L5m: bool = True
- sum_: bool = False
- class slim.gui_utils.model.PositionMarker(name: str, position: PyQt5.QtPositioning.QGeoCoordinate, source: PyQt5.QtCore.QUrl)
Bases:
object
Position marker on the GUI
- name: str
- position: PyQt5.QtPositioning.QGeoCoordinate
- source: PyQt5.QtCore.QUrl
- class slim.gui_utils.model.SimulatorOptimiserState(states: List[List[Simulator]], states_as_df: pd.DataFrame)
Bases:
object
Optimiser state
- states: List[List[Simulator]]
- states_as_df: pd.DataFrame
- class slim.gui_utils.model.SimulatorSingleRunState(times: List[dt.datetime], states_as_df: pd.DataFrame, report_df: Optional[pd.DataFrame], cfg: Config, sim_name: str)
Bases:
object
State of the single simulator
- cfg: Config
- report_df: Optional[pd.DataFrame]
- sim_name: str
- states_as_df: pd.DataFrame
- times: List[dt.datetime]
- class slim.gui_utils.model.TransitionEndpoint(endpoint: Tuple[PyQt5.QtPositioning.QGeoCoordinate, PyQt5.QtPositioning.QGeoCoordinate], color: PyQt5.QtGui.QColor, width: int, value: float)
Bases:
object
Lice transition on the map
- color: PyQt5.QtGui.QColor
- endpoint: Tuple[PyQt5.QtPositioning.QGeoCoordinate, PyQt5.QtPositioning.QGeoCoordinate]
- value: float
- width: int