From 7baacb0f9e64e5c4f2512f9530aabb7d1fdcfc7d Mon Sep 17 00:00:00 2001 From: Alexander Zaft Date: Fri, 24 Mar 2023 08:01:54 +0100 Subject: [PATCH] add copyright headers where missing Change-Id: Ie68ed439d084b4b79d7db81b58360967f5726d7c Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/30768 Tested-by: Jenkins Automated Tests Reviewed-by: Georg Brandl Reviewed-by: Alexander Zaft --- frappy/config.py | 1 + frappy/gui/collapsible.py | 23 +++++++++++++++++++++++ frappy/gui/console.py | 22 ++++++++++++++++++++++ frappy/gui/logwindow.py | 23 +++++++++++++++++++++++ frappy/gui/mainwindow.py | 3 ++- frappy/gui/moduleoverview.py | 23 +++++++++++++++++++++++ frappy/gui/modulewidget.py | 23 +++++++++++++++++++++++ frappy/gui/plotting.py | 23 +++++++++++++++++++++++ 8 files changed, 140 insertions(+), 1 deletion(-) diff --git a/frappy/config.py b/frappy/config.py index 333c818..fac5d8d 100644 --- a/frappy/config.py +++ b/frappy/config.py @@ -19,6 +19,7 @@ # Alexander Zaft # # ***************************************************************************** + import os import re diff --git a/frappy/gui/collapsible.py b/frappy/gui/collapsible.py index f853e20..2718022 100644 --- a/frappy/gui/collapsible.py +++ b/frappy/gui/collapsible.py @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- +# ***************************************************************************** +# Copyright (c) 2015-2023 by the authors, see LICENSE +# +# 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 2 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, write to the Free Software Foundation, Inc., +# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Module authors: +# Alexander Zaft +# +# ***************************************************************************** + from frappy.gui.qt import QFrame, QGridLayout, QSizePolicy, Qt, QToolButton, \ QVBoxLayout, QWidget diff --git a/frappy/gui/console.py b/frappy/gui/console.py index 9369aea..4fa9b9f 100644 --- a/frappy/gui/console.py +++ b/frappy/gui/console.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +# ***************************************************************************** +# Copyright (c) 2015-2023 by the authors, see LICENSE +# +# 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 2 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, write to the Free Software Foundation, Inc., +# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Module authors: +# Alexander Zaft +# +# ***************************************************************************** import json diff --git a/frappy/gui/logwindow.py b/frappy/gui/logwindow.py index 55ee8c7..032f2c8 100644 --- a/frappy/gui/logwindow.py +++ b/frappy/gui/logwindow.py @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- +# ***************************************************************************** +# Copyright (c) 2015-2023 by the authors, see LICENSE +# +# 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 2 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, write to the Free Software Foundation, Inc., +# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Module authors: +# Alexander Zaft +# +# ***************************************************************************** + from logging import NOTSET, Handler from frappy.gui.qt import QMainWindow, QObject, pyqtSignal diff --git a/frappy/gui/mainwindow.py b/frappy/gui/mainwindow.py index 14f9111..1fb93ea 100644 --- a/frappy/gui/mainwindow.py +++ b/frappy/gui/mainwindow.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # ***************************************************************************** -# Copyright (c) 2015-2016 by the authors, see LICENSE +# Copyright (c) 2015-2023 by the authors, see LICENSE # # 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 @@ -18,6 +18,7 @@ # # Module authors: # Alexander Lenz +# Alexander Zaft # # ***************************************************************************** diff --git a/frappy/gui/moduleoverview.py b/frappy/gui/moduleoverview.py index 9a490f9..f80bb71 100644 --- a/frappy/gui/moduleoverview.py +++ b/frappy/gui/moduleoverview.py @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- +# ***************************************************************************** +# Copyright (c) 2015-2023 by the authors, see LICENSE +# +# 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 2 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, write to the Free Software Foundation, Inc., +# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Module authors: +# Alexander Zaft +# +# ***************************************************************************** + from frappy.datatypes import StatusType from frappy.gui.qt import QIcon, Qt, QTreeWidget, QTreeWidgetItem, pyqtSignal diff --git a/frappy/gui/modulewidget.py b/frappy/gui/modulewidget.py index 7798dc9..750011e 100644 --- a/frappy/gui/modulewidget.py +++ b/frappy/gui/modulewidget.py @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- +# ***************************************************************************** +# Copyright (c) 2015-2023 by the authors, see LICENSE +# +# 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 2 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, write to the Free Software Foundation, Inc., +# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Module authors: +# Alexander Zaft +# +# ***************************************************************************** + from frappy.gui.qt import QColor, QDialog, QHBoxLayout, QIcon, QLabel, \ QLineEdit, QMessageBox, QPropertyAnimation, QPushButton, Qt, QToolButton, \ QWidget, pyqtProperty, pyqtSignal diff --git a/frappy/gui/plotting.py b/frappy/gui/plotting.py index 5708750..91da4a9 100644 --- a/frappy/gui/plotting.py +++ b/frappy/gui/plotting.py @@ -1,3 +1,26 @@ +# -*- coding: utf-8 -*- +# ***************************************************************************** +# Copyright (c) 2015-2023 by the authors, see LICENSE +# +# 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 2 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, write to the Free Software Foundation, Inc., +# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Module authors: +# Alexander Zaft +# +# ***************************************************************************** + import time from frappy.gui.qt import QLabel, Qt, QVBoxLayout, QWidget, pyqtSignal