mirror of https://gitlab.com/pamhyr/pamhyr2
MainWindow: Fix missing file.
parent
e5650b5378
commit
3be4e6c112
|
|
@ -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
|
||||||
Loading…
Reference in New Issue