MainWindow: Fix missing file.

setup.py
Pierre-Antoine Rouby 2024-03-20 09:25:59 +01:00
parent e5650b5378
commit 3be4e6c112
1 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,59 @@
# MainWindowTabChecker.py -- Pamhyr
# Copyright (C) 2024 INRAE
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# -*- coding: utf-8 -*-
import logging
from tools import timer, trace
from View.Tools.PamhyrWidget import PamhyrWidget
logger = logging.getLogger()
class WidgetChecker(PamhyrWidget):
_pamhyr_ui = "MainWindowTabCheckers"
def __init__(self, study=None, parent=None):
self._study = study
super(WidgetChecker, self).__init__(
parent=parent
)
self._checkers = set()
self.setup_table()
self.setup_list()
def setup_table(self):
return
def setup_list(self):
return
@property
def study(self):
return self._study
@study.setter
def study(self, study):
self._study = study
def update(self):
if self._study is None:
return