From c6049c1f7393ea6f4deb53fac2ddc56662c4defe Mon Sep 17 00:00:00 2001 From: "St.Huang" Date: Mon, 2 Jul 2018 01:25:53 +0800 Subject: [PATCH] change the comment --- src/fastwq/progress.py | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/src/fastwq/progress.py b/src/fastwq/progress.py index f5bb926..d320aaa 100644 --- a/src/fastwq/progress.py +++ b/src/fastwq/progress.py @@ -1,6 +1,22 @@ -# Copyright: Damien Elmes -# -*- coding: utf-8 -*- -# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html +#-*- coding:utf-8 -*- +# +# Copyright © 2016–2017 ST.Huang +# +# Support: Report an issue at https://github.com/sth2018/FastWordQuery/issues +# +# 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 +# any later version; http://www.gnu.org/copyleft/gpl.html. +# +# 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 . + import time from collections import defaultdict @@ -9,14 +25,6 @@ from aqt.qt import * from .lang import _ -# fixme: if mw->subwindow opens a progress dialog with mw as the parent, mw -# gets raised on finish on compiz. perhaps we should be using the progress -# dialog as the parent? - -# Progress info -########################################################################## - - class ProgressWindow(object): """ Query progress window @@ -27,8 +35,6 @@ class ProgressWindow(object): self.app = QApplication.instance() self._win = None self._msg_count = defaultdict(int) - # Creating progress dialogs - ########################################################################## def update_labels(self, data): if self.abort():