LCOV - code coverage report
Current view: top level - src/pairinteraction_gui/config - base_config.py (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 10 10
Test Date: 2026-11-02 09:44:19 Functions: 100.0 % 2 2

            Line data    Source code
       1              : # SPDX-FileCopyrightText: 2025 PairInteraction Developers
       2              : # SPDX-License-Identifier: LGPL-3.0-or-later
       3            1 : from __future__ import annotations
       4              : 
       5            1 : from typing import TYPE_CHECKING
       6              : 
       7            1 : from pairinteraction_gui.qobjects import WidgetV
       8              : 
       9              : if TYPE_CHECKING:
      10              :     from pairinteraction_gui.page import SimulationPage
      11              : 
      12              : 
      13            1 : class BaseConfig(WidgetV):
      14              :     """Base class for configurations."""
      15              : 
      16            1 :     title: str
      17              : 
      18            1 :     def __init__(self, parent: SimulationPage) -> None:
      19              :         """Initialize the base section."""
      20            1 :         self.page = parent
      21            1 :         super().__init__(parent)
      22              : 
      23            1 :     def postSetupWidget(self) -> None:
      24            1 :         self.layout().addStretch(1)
        

Generated by: LCOV version 2.0-1