From cdf3c62d1725d0f835b0b995672c6b50fbd12124 Mon Sep 17 00:00:00 2001
From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com>
Date: Sat, 16 Jan 2021 17:41:40 +0100
Subject: [PATCH 1/5] Reformat and update the source file header docstrings
---
nw/common.py | 37 ++++++++++++++---------------
nw/config.py | 37 ++++++++++++++---------------
nw/constants/constants.py | 37 ++++++++++++++---------------
nw/constants/enum.py | 37 ++++++++++++++---------------
nw/constants/iso.py | 37 ++++++++++++++---------------
nw/core/document.py | 37 ++++++++++++++---------------
nw/core/index.py | 37 ++++++++++++++---------------
nw/core/item.py | 37 ++++++++++++++---------------
nw/core/options.py | 39 +++++++++++++++----------------
nw/core/project.py | 37 ++++++++++++++---------------
nw/core/spellcheck.py | 37 ++++++++++++++---------------
nw/core/status.py | 37 ++++++++++++++---------------
nw/core/tohtml.py | 37 ++++++++++++++---------------
nw/core/tokenizer.py | 37 ++++++++++++++---------------
nw/core/tools.py | 43 +++++++++++++++++-----------------
nw/core/tree.py | 37 ++++++++++++++---------------
nw/error.py | 37 ++++++++++++++---------------
nw/gui/about.py | 37 ++++++++++++++---------------
nw/gui/build.py | 37 ++++++++++++++---------------
nw/gui/custom.py | 41 ++++++++++++++++----------------
nw/gui/doceditor.py | 49 +++++++++++++++++++--------------------
nw/gui/dochighlight.py | 37 ++++++++++++++---------------
nw/gui/docmerge.py | 37 ++++++++++++++---------------
nw/gui/docsplit.py | 37 ++++++++++++++---------------
nw/gui/docviewer.py | 45 ++++++++++++++++++-----------------
nw/gui/itemdetails.py | 35 ++++++++++++++--------------
nw/gui/itemeditor.py | 37 ++++++++++++++---------------
nw/gui/mainmenu.py | 37 ++++++++++++++---------------
nw/gui/outline.py | 37 ++++++++++++++---------------
nw/gui/outlinedetails.py | 37 ++++++++++++++---------------
nw/gui/preferences.py | 37 ++++++++++++++---------------
nw/gui/projload.py | 37 ++++++++++++++---------------
nw/gui/projsettings.py | 37 ++++++++++++++---------------
nw/gui/projtree.py | 39 +++++++++++++++----------------
nw/gui/projwizard.py | 37 ++++++++++++++---------------
nw/gui/statusbar.py | 37 ++++++++++++++---------------
nw/gui/theme.py | 39 +++++++++++++++----------------
nw/gui/writingstats.py | 37 ++++++++++++++---------------
nw/guimain.py | 37 ++++++++++++++---------------
39 files changed, 719 insertions(+), 758 deletions(-)
diff --git a/nw/common.py b/nw/common.py
index f0e5900e..1b36c6a7 100644
--- a/nw/common.py
+++ b/nw/common.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Common Functions
+"""
+novelWriter – Common Functions
+==============================
+Various common functions
- novelWriter – Common Functions
-================================
- Various functions used multiple places
+File History:
+Created: 2019-05-12 [0.1.0]
- File History:
- Created: 2019-05-12 [0.1.0]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import logging
diff --git a/nw/config.py b/nw/config.py
index ddec796f..a0fd6847 100644
--- a/nw/config.py
+++ b/nw/config.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Config Class
+"""
+novelWriter – Config Class
+==========================
+Class holding the user preferences and handling the config file
- novelWriter – Config Class
-============================
- Class reading and holding the preferences of the application
+File History:
+Created: 2018-09-22 [0.0.1]
- File History:
- Created: 2018-09-22 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import logging
diff --git a/nw/constants/constants.py b/nw/constants/constants.py
index a39bb8e1..e59734f8 100644
--- a/nw/constants/constants.py
+++ b/nw/constants/constants.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Constants
+"""
+novelWriter – Constants
+=======================
+Constants and maps for translating flags and enums to text
- novelWriter – Constants
-=========================
- Constants for translating flags and enums to text
+File History:
+Created: 2019-04-28 [0.0.1]
- File History:
- Created: 2019-04-28 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
from nw.constants.enum import (
diff --git a/nw/constants/enum.py b/nw/constants/enum.py
index 7079ce6e..072eec6c 100644
--- a/nw/constants/enum.py
+++ b/nw/constants/enum.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Enums
+"""
+novelWriter – Enums
+===================
+Global enum values
- novelWriter – Enums
-=====================
- All enum values
+File History:
+Created: 2018-11-02 [0.0.1]
- File History:
- Created: 2018-11-02 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
from enum import Enum
diff --git a/nw/constants/iso.py b/nw/constants/iso.py
index 4cc83bcd..94c6ef81 100644
--- a/nw/constants/iso.py
+++ b/nw/constants/iso.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter ISO Codes
+"""
+novelWriter – ISO Codes
+=======================
+Handles translating language codes to language names
- novelWriter – ISO Codes
-=========================
- Handles translating language codes to language names
+File History:
+Created: 2019-11-05 [0.4.0]
- File History:
- Created: 2019-11-05 [0.4.0]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
class isoLanguage():
diff --git a/nw/core/document.py b/nw/core/document.py
index e7ed46ba..7e833854 100644
--- a/nw/core/document.py
+++ b/nw/core/document.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Document
+"""
+novelWriter – Project Document
+==============================
+Data class for a single novelWriter document
- novelWriter – Project Document
-================================
- Class holding a single novelWriter document
+File History:
+Created: 2018-09-29 [0.0.1]
- File History:
- Created: 2018-09-29 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import logging
diff --git a/nw/core/index.py b/nw/core/index.py
index d1851f5b..d249c004 100644
--- a/nw/core/index.py
+++ b/nw/core/index.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Index
+"""
+novelWriter – Project Index
+===========================
+Data class for the project index of tags, headers and references
- novelWriter – Project Index
-=============================
- Class holding the project index of tags, headers and references
+File History:
+Created: 2019-05-27 [0.1.4]
- File History:
- Created: 2019-05-27 [0.1.4]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/core/item.py b/nw/core/item.py
index 2ac93c42..e2a5a4e8 100644
--- a/nw/core/item.py
+++ b/nw/core/item.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Item Class
+"""
+novelWriter – Project Item Class
+================================
+Data class for a project tree item
- novelWriter – Project Item Class
-==================================
- Class holding the data of a project tree item
+File History:
+Created: 2018-10-27 [0.0.1]
- File History:
- Created: 2018-10-27 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import logging
diff --git a/nw/core/options.py b/nw/core/options.py
index db94ae45..d95e5e6f 100644
--- a/nw/core/options.py
+++ b/nw/core/options.py
@@ -1,29 +1,28 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Options Cache
+"""
+novelWriter – Project Options Cache
+===================================
+Data class for user-defined GUI project options
- novelWriter – Project Options Cache
-=====================================
- Class wrapping the project options state
+File History:
+Created: 2019-10-21 [0.3.1]
+Rewritten: 2020-02-19 [0.4.5]
- File History:
- Created: 2019-10-21 [0.3.1]
- Rewritten: 2020-02-19 [0.4.5]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import logging
diff --git a/nw/core/project.py b/nw/core/project.py
index 75d86aaa..4e1739f4 100644
--- a/nw/core/project.py
+++ b/nw/core/project.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Wrapper
+"""
+novelWriter – Project Wrapper
+=============================
+Data class for novelWriter projects
- novelWriter – Project Wrapper
-===============================
- Class wrapping the data of a novelWriter project
+File History:
+Created: 2018-09-29 [0.0.1]
- File History:
- Created: 2018-09-29 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/core/spellcheck.py b/nw/core/spellcheck.py
index 8e71831c..8b3807fa 100644
--- a/nw/core/spellcheck.py
+++ b/nw/core/spellcheck.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Spell Check Classes
+"""
+novelWriter – Spell Check Classes
+=================================
+Wrapper classes for spell checking tools
- novelWriter – Spell Check Classes
-===================================
- Wrapper class for spell checking tools
+File History:
+Created: 2019-06-11 [0.1.5]
- File History:
- Created: 2019-06-11 [0.1.5]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/core/status.py b/nw/core/status.py
index 71e2f8e4..cf0f9fab 100644
--- a/nw/core/status.py
+++ b/nw/core/status.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Item Status Class
+"""
+novelWriter – Project Item Status Class
+=======================================
+Data class for the status/importance settings of a project item
- novelWriter – Project Item Status Class
-=========================================
- Class holding the status/importance elements of a project item
+File History:
+Created: 2019-05-19 [0.1.3]
- File History:
- Created: 2019-05-19 [0.1.3]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import logging
diff --git a/nw/core/tohtml.py b/nw/core/tohtml.py
index 55da29d1..83e07ffa 100644
--- a/nw/core/tohtml.py
+++ b/nw/core/tohtml.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter HTML Text Converter
+"""
+novelWriter – HTML Text Converter
+=================================
+Extends the Tokenizer class to generate HTML output
- novelWriter – HTML Text Converter
-===================================
- Extends the Tokenizer class to write HTML
+File History:
+Created: 2019-05-07 [0.0.1]
- File History:
- Created: 2019-05-07 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import logging
diff --git a/nw/core/tokenizer.py b/nw/core/tokenizer.py
index 2e7d0c6e..5f1aa40e 100644
--- a/nw/core/tokenizer.py
+++ b/nw/core/tokenizer.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Text Tokenizer
+"""
+novelWriter – Text Tokenizer
+============================
+Splits a piece of novelWriter markdown text into its elements
- novelWriter – Text Tokenizer
-==============================
- Splits a piece of novelWriter markdown text into its elements
+File History:
+Created: 2019-05-05 [0.0.1]
- File History:
- Created: 2019-05-05 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import logging
diff --git a/nw/core/tools.py b/nw/core/tools.py
index 9e8229e3..44b4c865 100644
--- a/nw/core/tools.py
+++ b/nw/core/tools.py
@@ -1,31 +1,30 @@
# -*- coding: utf-8 -*-
-"""novelWriter Various Tools
+"""
+novelWriter – Various Tools
+===========================
+Various core tool functions
- novelWriter – Various Tools
-=============================
- Various core tool functions
+File History:
+Created: 2019-04-22 [0.0.1] countWords
+Created: 2019-10-13 [0.2.3] numberToWord, _numberToWordEN
+Merged: 2020-05-08 [0.4.5] All of the above into this file
+Created: 2020-07-05 [0.10.0] numberToRoman
- File History:
- Created: 2019-04-22 [0.0.1] countWords
- Created: 2019-10-13 [0.2.3] numberToWord, _numberToWordEN
- Merged: 2020-05-08 [0.4.5] All of the above into this file
- Created: 2020-07-05 [0.10.0] numberToRoman
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import logging
diff --git a/nw/core/tree.py b/nw/core/tree.py
index d559d91b..6d15b123 100644
--- a/nw/core/tree.py
+++ b/nw/core/tree.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Tree Class
+"""
+novelWriter – Project Tree Class
+================================
+Data class for the project's tree of project items
- novelWriter – Project Tree Class
-==================================
- Class holding the project's tree of project items
+File History:
+Created: 2020-05-07 [0.4.5]
- File History:
- Created: 2020-05-07 [0.4.5]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import logging
diff --git a/nw/error.py b/nw/error.py
index 586d1a1b..1f879e37 100644
--- a/nw/error.py
+++ b/nw/error.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter Exception Handling
+"""
+novelWriter – Exception Handling
+================================
+Error handling function and error dialog
- novelWriter – Exception Handling
-==================================
- Error handling functions
+File History:
+Created: 2020-08-02 [0.10.2]
- File History:
- Created: 2020-08-02 [0.10.2]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
from PyQt5.QtCore import Qt
diff --git a/nw/gui/about.py b/nw/gui/about.py
index fe73387f..d584cb25 100644
--- a/nw/gui/about.py
+++ b/nw/gui/about.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI About Box
+"""
+novelWriter – GUI About Box
+===========================
+The about novelWriter dialog box
- novelWriter – GUI About Box
-=============================
- The about novelWriter dialog box
+File History:
+Created: 2020-05-21 [0.5.2]
- File History:
- Created: 2020-05-21 [0.5.2]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/build.py b/nw/gui/build.py
index 9cfa7085..c12be8b9 100644
--- a/nw/gui/build.py
+++ b/nw/gui/build.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Build Novel Project
+"""
+novelWriter – GUI Build Novel Project
+=====================================
+GUI classes for the build novel project dialog
- novelWriter – GUI Build Novel Project
-=======================================
- Class holding the build novel project dialog
+File History:
+Created: 2020-05-09 [0.5]
- File History:
- Created: 2020-05-09 [0.5]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/custom.py b/nw/gui/custom.py
index 1658d5f1..0f989578 100644
--- a/nw/gui/custom.py
+++ b/nw/gui/custom.py
@@ -1,30 +1,29 @@
# -*- coding: utf-8 -*-
-"""novelWriter Custom Widgets and Layouts
+"""
+novelWriter – Custom Widgets and Layouts
+========================================
+Various custom widget and layout classes
- novelWriter – Custom Widgets and Layouts
-==========================================
- Various custom widget and layout classes
+File History:
+Created: 2020-05-03 [0.4.5] QConfigLayout
+Created: 2020-05-03 [0.4.5] QSwitch
+Created: 2020-05-17 [0.5.1] PagedDialog
- File History:
- Created: 2020-05-03 [0.4.5] QConfigLayout
- Created: 2020-05-03 [0.4.5] QSwitch
- Created: 2020-05-17 [0.5.1] PagedDialog
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/doceditor.py b/nw/gui/doceditor.py
index 3421276c..85d57ac4 100644
--- a/nw/gui/doceditor.py
+++ b/nw/gui/doceditor.py
@@ -1,34 +1,33 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Document Editor
+"""
+novelWriter – GUI Document Editor
+=================================
+GUI classes for the main document editor
- novelWriter – GUI Document Editor
-===================================
- Class holding the main document editor
+File History:
+Created: 2018-09-29 [0.0.1] GuiDocEditor
+Created: 2019-04-22 [0.0.1] BackgroundWordCounter
+Created: 2019-09-29 [0.2.1] GuiDocEditSearch
+Created: 2020-04-25 [0.4.5] GuiDocEditHeader
+Rewritten: 2020-06-15 [0.9.0] GuiDocEditSearch
+Created: 2020-06-27 [0.10.0] GuiDocEditFooter
+Rewritten: 2020-10-07 [1.0b3] BackgroundWordCounter
- File History:
- Created: 2018-09-29 [0.0.1] GuiDocEditor
- Created: 2019-04-22 [0.0.1] BackgroundWordCounter
- Created: 2019-09-29 [0.2.1] GuiDocEditSearch
- Created: 2020-04-25 [0.4.5] GuiDocEditHeader
- Rewritten: 2020-06-15 [0.9.0] GuiDocEditSearch
- Created: 2020-06-27 [0.10.0] GuiDocEditFooter
- Rewritten: 2020-10-07 [1.0b3] BackgroundWordCounter
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/dochighlight.py b/nw/gui/dochighlight.py
index d06d1175..4e0ac4a0 100644
--- a/nw/gui/dochighlight.py
+++ b/nw/gui/dochighlight.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Document Highlighter
+"""
+novelWriter – GUI Syntax Highlighter
+====================================
+Class for the main document editor syntax highlighter
- novelWriter – GUI Document Highlighter
-========================================
- Subclass for the main editor syntax highlighting
+File History:
+Created: 2019-04-06 [0.0.1]
- File History:
- Created: 2019-04-06 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/docmerge.py b/nw/gui/docmerge.py
index 54dc1811..d3004ec1 100644
--- a/nw/gui/docmerge.py
+++ b/nw/gui/docmerge.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Doc Merge
+"""
+novelWriter – GUI Doc Merge Tool
+================================
+GUI class for merging multiple documents to one document
- novelWriter – GUI Doc Merge
-=============================
- Tool for merging multiple documents to one document
+File History:
+Created: 2020-01-23 [0.4.3]
- File History:
- Created: 2020-01-23 [0.4.3]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/docsplit.py b/nw/gui/docsplit.py
index 609168db..a06aaa67 100644
--- a/nw/gui/docsplit.py
+++ b/nw/gui/docsplit.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Doc Split
+"""
+novelWriter – GUI Doc Split Tool
+================================
+GUI class for splitting a single document into multiple documents
- novelWriter – GUI Doc Split
-=============================
- Tool for splitting a single document into multiple documents
+File History:
+Created: 2020-02-01 [0.4.3]
- File History:
- Created: 2020-02-01 [0.4.3]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/docviewer.py b/nw/gui/docviewer.py
index 34f5ded3..55e458bb 100644
--- a/nw/gui/docviewer.py
+++ b/nw/gui/docviewer.py
@@ -1,32 +1,31 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Document Viewer
+"""
+novelWriter – GUI Document Viewer
+=================================
+GUI classes for the main document viewer
- novelWriter – GUI Document Viewer
-===================================
- Class holding the main document viewer
+File History:
+Created: 2019-05-10 [0.0.1] GuiDocViewer
+Created: 2019-10-31 [0.3.2] GuiDocViewDetails
+Created: 2020-04-25 [0.4.5] GuiDocViewHeader
+Created: 2020-06-09 [0.8.0] GuiDocViewFooter
+Created: 2020-09-08 [1.0b1] GuiDocViewHistory
- File History:
- Created: 2019-05-10 [0.0.1] GuiDocViewer
- Created: 2019-10-31 [0.3.2] GuiDocViewDetails
- Created: 2020-04-25 [0.4.5] GuiDocViewHeader
- Created: 2020-06-09 [0.8.0] GuiDocViewFooter
- Created: 2020-09-08 [1.0b1] GuiDocViewHistory
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/itemdetails.py b/nw/gui/itemdetails.py
index 1a48e9cb..923f509a 100644
--- a/nw/gui/itemdetails.py
+++ b/nw/gui/itemdetails.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Document Details
-
- novelWriter – GUI Document Details
+"""
+novelWriter – GUI Item Details Panel
====================================
- Class holding the project tree item details panel
+GUI class for the project tree item details panel
- File History:
- Created: 2019-04-24 [0.0.1]
+File History:
+Created: 2019-04-24 [0.0.1]
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- 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 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.
+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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/itemeditor.py b/nw/gui/itemeditor.py
index 218accee..63f67021 100644
--- a/nw/gui/itemeditor.py
+++ b/nw/gui/itemeditor.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Item Editor
+"""
+novelWriter – GUI Item Editor
+=============================
+GUI class for the item editor dialog
- novelWriter – GUI Item Editor
-===============================
- Class holding the item editor dialog
+File History:
+Created: 2019-04-27 [0.0.1]
- File History:
- Created: 2019-04-27 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/mainmenu.py b/nw/gui/mainmenu.py
index 554eca52..47a2f41b 100644
--- a/nw/gui/mainmenu.py
+++ b/nw/gui/mainmenu.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Main Menu
+"""
+novelWriter – GUI Main Menu
+===========================
+GUI class for the main window menu
- novelWriter – GUI Main Menu
-=============================
- Class holding the main window menu
+File History:
+Created: 2019-04-27 [0.0.1]
- File History:
- Created: 2019-04-27 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/outline.py b/nw/gui/outline.py
index 38046576..67cd9d07 100644
--- a/nw/gui/outline.py
+++ b/nw/gui/outline.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Project Outline
+"""
+novelWriter – GUI Project Outline
+=================================
+GUI class for the project outline view
- novelWriter – GUI Project Outline
-===================================
- Class holding the project outline view
+File History:
+Created: 2019-11-16 [0.4.1]
- File History:
- Created: 2019-11-16 [0.4.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/outlinedetails.py b/nw/gui/outlinedetails.py
index 0a6dce7f..6004318a 100644
--- a/nw/gui/outlinedetails.py
+++ b/nw/gui/outlinedetails.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Project Outline Details
+"""
+novelWriter – GUI Project Outline Details
+=========================================
+GUI class for the project outline details panel
- novelWriter – GUI Project Outline Details
-===========================================
- Class holding the project outline details panel
+File History:
+Created: 2020-06-02 [0.7.0]
- File History:
- Created: 2020-06-02 [0.7.0]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/preferences.py b/nw/gui/preferences.py
index 90b86a88..68c5c1ba 100644
--- a/nw/gui/preferences.py
+++ b/nw/gui/preferences.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Preferences
+"""
+novelWriter – GUI Preferences
+=============================
+GUI classes for the user preferences dialog
- novelWriter – GUI Preferences
-===============================
- Class holding the preferences dialog
+File History:
+Created: 2019-06-10 [0.1.5]
- File History:
- Created: 2019-06-10 [0.1.5]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/projload.py b/nw/gui/projload.py
index 348e26d7..39714cbb 100644
--- a/nw/gui/projload.py
+++ b/nw/gui/projload.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Open Project
+"""
+novelWriter – GUI Open Project
+==============================
+GUI class for the load/browse/new project dialog
- novelWriter – GUI Open Project
-================================
- Class holding the load/browse/new project dialog
+File History:
+Created: 2020-02-26 [0.4.5]
- File History:
- Created: 2020-02-26 [0.4.5]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/projsettings.py b/nw/gui/projsettings.py
index 6521e76c..bb9d3f7d 100644
--- a/nw/gui/projsettings.py
+++ b/nw/gui/projsettings.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Project Settings
+"""
+novelWriter – GUI Project Settings
+==================================
+GUI classes for the project settings dialog
- novelWriter – GUI Project Settings
-====================================
- Class holding the project settings dialog
+File History:
+Created: 2018-09-29 [0.0.1]
- File History:
- Created: 2018-09-29 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/projtree.py b/nw/gui/projtree.py
index 49ca0fcb..fcb5f0f4 100644
--- a/nw/gui/projtree.py
+++ b/nw/gui/projtree.py
@@ -1,29 +1,28 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Project Tree
+"""
+novelWriter – GUI Project Tree
+==============================
+GUI classes for the main window project tree
- novelWriter – GUI project Tree
-================================
- Class holding the project tree view
+File History:
+Created: 2018-09-29 [0.0.1] GuiProjectTree
+Created: 2020-06-04 [0.7.0] GuiProjectTreeMenu
- File History:
- Created: 2018-09-29 [0.0.1] GuiProjectTree
- Created: 2020-06-04 [0.7.0] GuiProjectTreeMenu
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/projwizard.py b/nw/gui/projwizard.py
index 358f715c..b1d72520 100644
--- a/nw/gui/projwizard.py
+++ b/nw/gui/projwizard.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI New Project Wizard
+"""
+novelWriter – GUI New Project Wizard
+====================================
+GUI classes for the new project wizard dialog
- novelWriter – GUI New project Wizard
-======================================
- Class holding the new project wizard dialog
+File History:
+Created: 2020-07-11 [0.10.1]
- File History:
- Created: 2020-07-11 [0.10.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/statusbar.py b/nw/gui/statusbar.py
index e1738447..f17af853 100644
--- a/nw/gui/statusbar.py
+++ b/nw/gui/statusbar.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Main Window StatusBar
+"""
+novelWriter – GUI Main Window Status Bar
+========================================
+GUI class for the main window status bar
- novelWriter – GUI Main Window StatusBar
-=========================================
- Class holding the main window status bar
+File History:
+Created: 2019-04-20 [0.0.1]
- File History:
- Created: 2019-04-20 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/theme.py b/nw/gui/theme.py
index 2b0f4608..7a231d1b 100644
--- a/nw/gui/theme.py
+++ b/nw/gui/theme.py
@@ -1,29 +1,28 @@
# -*- coding: utf-8 -*-
-"""novelWriter Theme and Icons Classes
+"""
+novelWriter – Theme and Icons Classes
+=====================================
+Classes managing and caching themes and icons
- novelWriter – Theme and Icons Classs
-======================================
- Class managing and caching themes and icons
+File History:
+Created: 2019-05-18 [0.1.3] GuiTheme
+Created: 2019-11-08 [0.4.0] GuiIcons
- File History:
- Created: 2019-05-18 [0.1.3] GuiTheme
- Created: 2019-11-08 [0.4.0] GuiIcons
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/gui/writingstats.py b/nw/gui/writingstats.py
index b1eb3d42..0b5aaabb 100644
--- a/nw/gui/writingstats.py
+++ b/nw/gui/writingstats.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Writing Statistics
+"""
+novelWriter – GUI Writing Statistics
+====================================
+GUI class for the session statistics dialog
- novelWriter – GUI Writing Statistics
-======================================
- Class holding the word count and session statistics dialog
+File History:
+Created: 2019-10-20 [0.3]
- File History:
- Created: 2019-10-20 [0.3]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
diff --git a/nw/guimain.py b/nw/guimain.py
index 8f209717..88eb3fb9 100644
--- a/nw/guimain.py
+++ b/nw/guimain.py
@@ -1,28 +1,27 @@
# -*- coding: utf-8 -*-
-"""novelWriter GUI Main Window
+"""
+novelWriter – GUI Main Window
+=============================
+The main application window
- novelWriter – GUI Main Window
-===============================
- Class holding the main application window
+File History:
+Created: 2018-09-22 [0.0.1]
- File History:
- Created: 2018-09-22 [0.0.1]
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
- This file is a part of novelWriter
- Copyright 2018–2021, Veronica Berglyd Olsen
+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 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.
- 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 .
+You should have received a copy of the GNU General Public License
+along with this program. If not, see .
"""
import nw
From 5e71e7d04dc44d37889bd86d7e5ab96f85a4e63d Mon Sep 17 00:00:00 2001
From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com>
Date: Sat, 16 Jan 2021 17:50:14 +0100
Subject: [PATCH 2/5] Add license header to test files
---
tests/test_base_common.py | 20 +++++++++++++++++++-
tests/test_base_config.py | 20 +++++++++++++++++++-
tests/test_base_error.py | 20 +++++++++++++++++++-
tests/test_base_init.py | 20 +++++++++++++++++++-
tests/test_core_document.py | 20 +++++++++++++++++++-
tests/test_core_index.py | 20 +++++++++++++++++++-
tests/test_core_item.py | 20 +++++++++++++++++++-
tests/test_core_options.py | 20 +++++++++++++++++++-
tests/test_core_project.py | 20 +++++++++++++++++++-
tests/test_core_spell.py | 20 +++++++++++++++++++-
tests/test_core_status.py | 20 +++++++++++++++++++-
tests/test_core_tohtml.py | 20 +++++++++++++++++++-
tests/test_core_tokenizer.py | 20 +++++++++++++++++++-
tests/test_core_tools.py | 20 +++++++++++++++++++-
tests/test_core_tree.py | 20 +++++++++++++++++++-
tests/test_gui_about.py | 20 +++++++++++++++++++-
tests/test_gui_build.py | 20 +++++++++++++++++++-
tests/test_gui_dialogs.py | 20 +++++++++++++++++++-
tests/test_gui_doceditor.py | 20 +++++++++++++++++++-
tests/test_gui_docviewer.py | 20 +++++++++++++++++++-
tests/test_gui_itemeditor.py | 20 +++++++++++++++++++-
tests/test_gui_mainmenu.py | 20 +++++++++++++++++++-
tests/test_gui_mergesplit.py | 20 +++++++++++++++++++-
tests/test_gui_outline.py | 20 +++++++++++++++++++-
tests/test_gui_preferences.py | 20 +++++++++++++++++++-
tests/test_gui_projload.py | 20 +++++++++++++++++++-
tests/test_gui_projsettings.py | 20 +++++++++++++++++++-
tests/test_gui_projtree.py | 20 +++++++++++++++++++-
tests/test_gui_projwizard.py | 20 +++++++++++++++++++-
tests/test_gui_theme.py | 20 +++++++++++++++++++-
tests/test_gui_writingstats.py | 20 +++++++++++++++++++-
31 files changed, 589 insertions(+), 31 deletions(-)
diff --git a/tests/test_base_common.py b/tests/test_base_common.py
index 8cdb8a74..b3ab74d5 100644
--- a/tests/test_base_common.py
+++ b/tests/test_base_common.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Common Functions Tester
+"""
+novelWriter – Common Functions Tester
+=====================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import time
diff --git a/tests/test_base_config.py b/tests/test_base_config.py
index fe755646..5a3f6ca6 100644
--- a/tests/test_base_config.py
+++ b/tests/test_base_config.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Config Class Tester
+"""
+novelWriter – Config Class Tester
+=================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_base_error.py b/tests/test_base_error.py
index 472faaa2..eba4d7ef 100644
--- a/tests/test_base_error.py
+++ b/tests/test_base_error.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Error Tester
+"""
+novelWriter – Error Tester
+==========================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import nw
diff --git a/tests/test_base_init.py b/tests/test_base_init.py
index 9a6daedf..9f53df36 100644
--- a/tests/test_base_init.py
+++ b/tests/test_base_init.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Main Init Tester
+"""
+novelWriter – Main Init Tester
+==============================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import nw
diff --git a/tests/test_core_document.py b/tests/test_core_document.py
index 9e16c66e..bbfe658b 100644
--- a/tests/test_core_document.py
+++ b/tests/test_core_document.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter NWDoc Class Tester
+"""
+novelWriter – NWDoc Class Tester
+================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import os
diff --git a/tests/test_core_index.py b/tests/test_core_index.py
index ad87c7f3..da998029 100644
--- a/tests/test_core_index.py
+++ b/tests/test_core_index.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Class Tester
+"""
+novelWriter – Project Class Tester
+==================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_core_item.py b/tests/test_core_item.py
index d592f7c0..6b615dcd 100644
--- a/tests/test_core_item.py
+++ b/tests/test_core_item.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter NWItem Class Tester
+"""
+novelWriter – NWItem Class Tester
+=================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_core_options.py b/tests/test_core_options.py
index 963a12c4..20b0b6a3 100644
--- a/tests/test_core_options.py
+++ b/tests/test_core_options.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter OptionState Class Tester
+"""
+novelWriter – OptionState Class Tester
+======================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import os
diff --git a/tests/test_core_project.py b/tests/test_core_project.py
index 57ee8f51..005bd189 100644
--- a/tests/test_core_project.py
+++ b/tests/test_core_project.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Class Tester
+"""
+novelWriter – Project Class Tester
+==================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_core_spell.py b/tests/test_core_spell.py
index 1ef94816..39b71d0c 100644
--- a/tests/test_core_spell.py
+++ b/tests/test_core_spell.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Spell Check Class Tester
+"""
+novelWriter – Spell Check Class Tester
+======================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import os
diff --git a/tests/test_core_status.py b/tests/test_core_status.py
index 515b4b47..afd0ed9e 100644
--- a/tests/test_core_status.py
+++ b/tests/test_core_status.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Status Class Tester
+"""
+novelWriter – Status Class Tester
+=================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_core_tohtml.py b/tests/test_core_tohtml.py
index 7c228edf..c89bcde8 100644
--- a/tests/test_core_tohtml.py
+++ b/tests/test_core_tohtml.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter ToHtml Class Tester
+"""
+novelWriter – ToHtml Class Tester
+=================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_core_tokenizer.py b/tests/test_core_tokenizer.py
index 3d0774b5..64096f99 100644
--- a/tests/test_core_tokenizer.py
+++ b/tests/test_core_tokenizer.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Tokenizer Class Tester
+"""
+novelWriter – Tokenizer Class Tester
+====================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_core_tools.py b/tests/test_core_tools.py
index ceb146a4..ca9a2518 100644
--- a/tests/test_core_tools.py
+++ b/tests/test_core_tools.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Tools Tester
+"""
+novelWriter – Tools Tester
+==========================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_core_tree.py b/tests/test_core_tree.py
index 29c1ca95..62803830 100644
--- a/tests/test_core_tree.py
+++ b/tests/test_core_tree.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter NWTree Class Tester
+"""
+novelWriter – NWTree Class Tester
+=================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import os
diff --git a/tests/test_gui_about.py b/tests/test_gui_about.py
index 498e26b5..4ff5fc83 100644
--- a/tests/test_gui_about.py
+++ b/tests/test_gui_about.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter About Dialog Class Tester
+"""
+novelWriter – About Dialog Class Tester
+=======================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_build.py b/tests/test_gui_build.py
index fbc887e3..15f96781 100644
--- a/tests/test_gui_build.py
+++ b/tests/test_gui_build.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Build Dialog Class Tester
+"""
+novelWriter – Build Dialog Class Tester
+=======================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_dialogs.py b/tests/test_gui_dialogs.py
index b87f983c..cd931d49 100644
--- a/tests/test_gui_dialogs.py
+++ b/tests/test_gui_dialogs.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Dialog Class Tester
+"""
+novelWriter – Dialog Class Tester
+=================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_doceditor.py b/tests/test_gui_doceditor.py
index 9ef62951..6d0034c7 100644
--- a/tests/test_gui_doceditor.py
+++ b/tests/test_gui_doceditor.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Main GUI Editor Class Tester
+"""
+novelWriter – Main GUI Editor Class Tester
+==========================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_docviewer.py b/tests/test_gui_docviewer.py
index 3af74afa..67ce0ecc 100644
--- a/tests/test_gui_docviewer.py
+++ b/tests/test_gui_docviewer.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Main GUI Viewer Class Tester
+"""
+novelWriter – Main GUI Viewer Class Tester
+==========================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_itemeditor.py b/tests/test_gui_itemeditor.py
index ae27e3c0..453aac68 100644
--- a/tests/test_gui_itemeditor.py
+++ b/tests/test_gui_itemeditor.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Item Editor Dialog Class Tester
+"""
+novelWriter – Item Editor Dialog Class Tester
+=============================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_mainmenu.py b/tests/test_gui_mainmenu.py
index 33408505..5de7d5c9 100644
--- a/tests/test_gui_mainmenu.py
+++ b/tests/test_gui_mainmenu.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Main GUI Main Menu Class Tester
+"""
+novelWriter – Main GUI Main Menu Class Tester
+=============================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_mergesplit.py b/tests/test_gui_mergesplit.py
index 9024a0d9..b2d0135e 100644
--- a/tests/test_gui_mergesplit.py
+++ b/tests/test_gui_mergesplit.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Merge and Split Dialog Classes Tester
+"""
+novelWriter – Merge and Split Dialog Classes Tester
+===================================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_outline.py b/tests/test_gui_outline.py
index cf93c111..97ce5107 100644
--- a/tests/test_gui_outline.py
+++ b/tests/test_gui_outline.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Main GUI Outline Class Tester
+"""
+novelWriter – Main GUI Outline Class Tester
+===========================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_preferences.py b/tests/test_gui_preferences.py
index 4c8b17ea..e8348148 100644
--- a/tests/test_gui_preferences.py
+++ b/tests/test_gui_preferences.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Dialog Class Tester
+"""
+novelWriter – Dialog Class Tester
+=================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import nw
diff --git a/tests/test_gui_projload.py b/tests/test_gui_projload.py
index 488d7798..4d1c1b0b 100644
--- a/tests/test_gui_projload.py
+++ b/tests/test_gui_projload.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Dialog Class Tester
+"""
+novelWriter – Dialog Class Tester
+=================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_projsettings.py b/tests/test_gui_projsettings.py
index 2dcd92cb..50a5fff1 100644
--- a/tests/test_gui_projsettings.py
+++ b/tests/test_gui_projsettings.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Settings Dialog Class Tester
+"""
+novelWriter – Project Settings Dialog Class Tester
+==================================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_projtree.py b/tests/test_gui_projtree.py
index d49fa7a6..395fb4ab 100644
--- a/tests/test_gui_projtree.py
+++ b/tests/test_gui_projtree.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Main GUI Project Tree Class Tester
+"""
+novelWriter – Main GUI Project Tree Class Tester
+================================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_projwizard.py b/tests/test_gui_projwizard.py
index e855b002..c689cecb 100644
--- a/tests/test_gui_projwizard.py
+++ b/tests/test_gui_projwizard.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Project Wizard Class Tester
+"""
+novelWriter – Project Wizard Class Tester
+=========================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui_theme.py b/tests/test_gui_theme.py
index b774f2b9..95dc87a1 100644
--- a/tests/test_gui_theme.py
+++ b/tests/test_gui_theme.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Main GUI Class Tester
+"""
+novelWriter – Main GUI Class Tester
+===================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import nw
diff --git a/tests/test_gui_writingstats.py b/tests/test_gui_writingstats.py
index 038b3dcf..ab86e0d4 100644
--- a/tests/test_gui_writingstats.py
+++ b/tests/test_gui_writingstats.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Writing Stats Dialog Class Tester
+"""
+novelWriter – Writing Stats Dialog Class Tester
+===============================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
From fd04f94b76a6423ac32c88ec191a254fb264b7f4 Mon Sep 17 00:00:00 2001
From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com>
Date: Sat, 16 Jan 2021 17:55:11 +0100
Subject: [PATCH 3/5] Also update the newest test
---
tests/test_gui_projdetails.py | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/tests/test_gui_projdetails.py b/tests/test_gui_projdetails.py
index 5af043a1..179b6d04 100644
--- a/tests/test_gui_projdetails.py
+++ b/tests/test_gui_projdetails.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Writing Stats Dialog Class Tester
+"""
+novelWriter – Project Details Dialog Class Tester
+=================================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
@@ -17,7 +35,7 @@ stepDelay = 20
@pytest.mark.gui
def testGuiProjDetails_Dialog(qtbot, monkeypatch, nwGUI, nwLipsum):
- """Test the full writing stats tool.
+ """Test the project details dialog.
"""
# Block message box
monkeypatch.setattr(QMessageBox, "question", lambda *args: QMessageBox.Yes)
From a947ec10e40fbb38a5f850310883ed8eba41276f Mon Sep 17 00:00:00 2001
From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com>
Date: Sat, 16 Jan 2021 17:59:29 +0100
Subject: [PATCH 4/5] Move test files into subfolders with similar structure as
source code
---
tests/{ => test_base}/test_base_common.py | 0
tests/{ => test_base}/test_base_config.py | 0
tests/{ => test_base}/test_base_error.py | 0
tests/{ => test_base}/test_base_init.py | 0
tests/{ => test_core}/test_core_document.py | 0
tests/{ => test_core}/test_core_index.py | 0
tests/{ => test_core}/test_core_item.py | 0
tests/{ => test_core}/test_core_options.py | 0
tests/{ => test_core}/test_core_project.py | 0
tests/{ => test_core}/test_core_spell.py | 0
tests/{ => test_core}/test_core_status.py | 0
tests/{ => test_core}/test_core_tohtml.py | 0
tests/{ => test_core}/test_core_tokenizer.py | 0
tests/{ => test_core}/test_core_tools.py | 0
tests/{ => test_core}/test_core_tree.py | 0
tests/{ => test_gui}/test_gui_about.py | 0
tests/{ => test_gui}/test_gui_build.py | 0
tests/{ => test_gui}/test_gui_dialogs.py | 0
tests/{ => test_gui}/test_gui_doceditor.py | 0
tests/{ => test_gui}/test_gui_docviewer.py | 0
tests/{ => test_gui}/test_gui_itemeditor.py | 0
tests/{ => test_gui}/test_gui_mainmenu.py | 0
tests/{ => test_gui}/test_gui_mergesplit.py | 0
tests/{ => test_gui}/test_gui_noveltree.py | 0
tests/{ => test_gui}/test_gui_outline.py | 0
tests/{ => test_gui}/test_gui_preferences.py | 0
tests/{ => test_gui}/test_gui_projdetails.py | 0
tests/{ => test_gui}/test_gui_projload.py | 0
tests/{ => test_gui}/test_gui_projsettings.py | 0
tests/{ => test_gui}/test_gui_projtree.py | 0
tests/{ => test_gui}/test_gui_projwizard.py | 0
tests/{ => test_gui}/test_gui_theme.py | 0
tests/{ => test_gui}/test_gui_writingstats.py | 0
33 files changed, 0 insertions(+), 0 deletions(-)
rename tests/{ => test_base}/test_base_common.py (100%)
rename tests/{ => test_base}/test_base_config.py (100%)
rename tests/{ => test_base}/test_base_error.py (100%)
rename tests/{ => test_base}/test_base_init.py (100%)
rename tests/{ => test_core}/test_core_document.py (100%)
rename tests/{ => test_core}/test_core_index.py (100%)
rename tests/{ => test_core}/test_core_item.py (100%)
rename tests/{ => test_core}/test_core_options.py (100%)
rename tests/{ => test_core}/test_core_project.py (100%)
rename tests/{ => test_core}/test_core_spell.py (100%)
rename tests/{ => test_core}/test_core_status.py (100%)
rename tests/{ => test_core}/test_core_tohtml.py (100%)
rename tests/{ => test_core}/test_core_tokenizer.py (100%)
rename tests/{ => test_core}/test_core_tools.py (100%)
rename tests/{ => test_core}/test_core_tree.py (100%)
rename tests/{ => test_gui}/test_gui_about.py (100%)
rename tests/{ => test_gui}/test_gui_build.py (100%)
rename tests/{ => test_gui}/test_gui_dialogs.py (100%)
rename tests/{ => test_gui}/test_gui_doceditor.py (100%)
rename tests/{ => test_gui}/test_gui_docviewer.py (100%)
rename tests/{ => test_gui}/test_gui_itemeditor.py (100%)
rename tests/{ => test_gui}/test_gui_mainmenu.py (100%)
rename tests/{ => test_gui}/test_gui_mergesplit.py (100%)
rename tests/{ => test_gui}/test_gui_noveltree.py (100%)
rename tests/{ => test_gui}/test_gui_outline.py (100%)
rename tests/{ => test_gui}/test_gui_preferences.py (100%)
rename tests/{ => test_gui}/test_gui_projdetails.py (100%)
rename tests/{ => test_gui}/test_gui_projload.py (100%)
rename tests/{ => test_gui}/test_gui_projsettings.py (100%)
rename tests/{ => test_gui}/test_gui_projtree.py (100%)
rename tests/{ => test_gui}/test_gui_projwizard.py (100%)
rename tests/{ => test_gui}/test_gui_theme.py (100%)
rename tests/{ => test_gui}/test_gui_writingstats.py (100%)
diff --git a/tests/test_base_common.py b/tests/test_base/test_base_common.py
similarity index 100%
rename from tests/test_base_common.py
rename to tests/test_base/test_base_common.py
diff --git a/tests/test_base_config.py b/tests/test_base/test_base_config.py
similarity index 100%
rename from tests/test_base_config.py
rename to tests/test_base/test_base_config.py
diff --git a/tests/test_base_error.py b/tests/test_base/test_base_error.py
similarity index 100%
rename from tests/test_base_error.py
rename to tests/test_base/test_base_error.py
diff --git a/tests/test_base_init.py b/tests/test_base/test_base_init.py
similarity index 100%
rename from tests/test_base_init.py
rename to tests/test_base/test_base_init.py
diff --git a/tests/test_core_document.py b/tests/test_core/test_core_document.py
similarity index 100%
rename from tests/test_core_document.py
rename to tests/test_core/test_core_document.py
diff --git a/tests/test_core_index.py b/tests/test_core/test_core_index.py
similarity index 100%
rename from tests/test_core_index.py
rename to tests/test_core/test_core_index.py
diff --git a/tests/test_core_item.py b/tests/test_core/test_core_item.py
similarity index 100%
rename from tests/test_core_item.py
rename to tests/test_core/test_core_item.py
diff --git a/tests/test_core_options.py b/tests/test_core/test_core_options.py
similarity index 100%
rename from tests/test_core_options.py
rename to tests/test_core/test_core_options.py
diff --git a/tests/test_core_project.py b/tests/test_core/test_core_project.py
similarity index 100%
rename from tests/test_core_project.py
rename to tests/test_core/test_core_project.py
diff --git a/tests/test_core_spell.py b/tests/test_core/test_core_spell.py
similarity index 100%
rename from tests/test_core_spell.py
rename to tests/test_core/test_core_spell.py
diff --git a/tests/test_core_status.py b/tests/test_core/test_core_status.py
similarity index 100%
rename from tests/test_core_status.py
rename to tests/test_core/test_core_status.py
diff --git a/tests/test_core_tohtml.py b/tests/test_core/test_core_tohtml.py
similarity index 100%
rename from tests/test_core_tohtml.py
rename to tests/test_core/test_core_tohtml.py
diff --git a/tests/test_core_tokenizer.py b/tests/test_core/test_core_tokenizer.py
similarity index 100%
rename from tests/test_core_tokenizer.py
rename to tests/test_core/test_core_tokenizer.py
diff --git a/tests/test_core_tools.py b/tests/test_core/test_core_tools.py
similarity index 100%
rename from tests/test_core_tools.py
rename to tests/test_core/test_core_tools.py
diff --git a/tests/test_core_tree.py b/tests/test_core/test_core_tree.py
similarity index 100%
rename from tests/test_core_tree.py
rename to tests/test_core/test_core_tree.py
diff --git a/tests/test_gui_about.py b/tests/test_gui/test_gui_about.py
similarity index 100%
rename from tests/test_gui_about.py
rename to tests/test_gui/test_gui_about.py
diff --git a/tests/test_gui_build.py b/tests/test_gui/test_gui_build.py
similarity index 100%
rename from tests/test_gui_build.py
rename to tests/test_gui/test_gui_build.py
diff --git a/tests/test_gui_dialogs.py b/tests/test_gui/test_gui_dialogs.py
similarity index 100%
rename from tests/test_gui_dialogs.py
rename to tests/test_gui/test_gui_dialogs.py
diff --git a/tests/test_gui_doceditor.py b/tests/test_gui/test_gui_doceditor.py
similarity index 100%
rename from tests/test_gui_doceditor.py
rename to tests/test_gui/test_gui_doceditor.py
diff --git a/tests/test_gui_docviewer.py b/tests/test_gui/test_gui_docviewer.py
similarity index 100%
rename from tests/test_gui_docviewer.py
rename to tests/test_gui/test_gui_docviewer.py
diff --git a/tests/test_gui_itemeditor.py b/tests/test_gui/test_gui_itemeditor.py
similarity index 100%
rename from tests/test_gui_itemeditor.py
rename to tests/test_gui/test_gui_itemeditor.py
diff --git a/tests/test_gui_mainmenu.py b/tests/test_gui/test_gui_mainmenu.py
similarity index 100%
rename from tests/test_gui_mainmenu.py
rename to tests/test_gui/test_gui_mainmenu.py
diff --git a/tests/test_gui_mergesplit.py b/tests/test_gui/test_gui_mergesplit.py
similarity index 100%
rename from tests/test_gui_mergesplit.py
rename to tests/test_gui/test_gui_mergesplit.py
diff --git a/tests/test_gui_noveltree.py b/tests/test_gui/test_gui_noveltree.py
similarity index 100%
rename from tests/test_gui_noveltree.py
rename to tests/test_gui/test_gui_noveltree.py
diff --git a/tests/test_gui_outline.py b/tests/test_gui/test_gui_outline.py
similarity index 100%
rename from tests/test_gui_outline.py
rename to tests/test_gui/test_gui_outline.py
diff --git a/tests/test_gui_preferences.py b/tests/test_gui/test_gui_preferences.py
similarity index 100%
rename from tests/test_gui_preferences.py
rename to tests/test_gui/test_gui_preferences.py
diff --git a/tests/test_gui_projdetails.py b/tests/test_gui/test_gui_projdetails.py
similarity index 100%
rename from tests/test_gui_projdetails.py
rename to tests/test_gui/test_gui_projdetails.py
diff --git a/tests/test_gui_projload.py b/tests/test_gui/test_gui_projload.py
similarity index 100%
rename from tests/test_gui_projload.py
rename to tests/test_gui/test_gui_projload.py
diff --git a/tests/test_gui_projsettings.py b/tests/test_gui/test_gui_projsettings.py
similarity index 100%
rename from tests/test_gui_projsettings.py
rename to tests/test_gui/test_gui_projsettings.py
diff --git a/tests/test_gui_projtree.py b/tests/test_gui/test_gui_projtree.py
similarity index 100%
rename from tests/test_gui_projtree.py
rename to tests/test_gui/test_gui_projtree.py
diff --git a/tests/test_gui_projwizard.py b/tests/test_gui/test_gui_projwizard.py
similarity index 100%
rename from tests/test_gui_projwizard.py
rename to tests/test_gui/test_gui_projwizard.py
diff --git a/tests/test_gui_theme.py b/tests/test_gui/test_gui_theme.py
similarity index 100%
rename from tests/test_gui_theme.py
rename to tests/test_gui/test_gui_theme.py
diff --git a/tests/test_gui_writingstats.py b/tests/test_gui/test_gui_writingstats.py
similarity index 100%
rename from tests/test_gui_writingstats.py
rename to tests/test_gui/test_gui_writingstats.py
From 2d1bede57e75659bc22ff275cadb638876f02bff Mon Sep 17 00:00:00 2001
From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com>
Date: Sat, 16 Jan 2021 18:10:47 +0100
Subject: [PATCH 5/5] Fix test file header titles
---
tests/test_base/test_base_error.py | 4 ++--
tests/test_core/test_core_index.py | 2 +-
tests/test_core/test_core_project.py | 4 ++--
tests/test_core/test_core_spell.py | 4 ++--
tests/test_core/test_core_status.py | 4 ++--
tests/test_core/test_core_tools.py | 4 ++--
tests/test_gui/test_gui_dialogs.py | 4 ++--
tests/test_gui/test_gui_noveltree.py | 20 +++++++++++++++++++-
tests/test_gui/test_gui_preferences.py | 4 ++--
tests/test_gui/test_gui_projload.py | 4 ++--
tests/test_gui/test_gui_projwizard.py | 4 ++--
tests/test_gui/test_gui_theme.py | 4 ++--
12 files changed, 40 insertions(+), 22 deletions(-)
diff --git a/tests/test_base/test_base_error.py b/tests/test_base/test_base_error.py
index eba4d7ef..45151413 100644
--- a/tests/test_base/test_base_error.py
+++ b/tests/test_base/test_base_error.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Error Tester
-==========================
+novelWriter – Error Handler Tester
+==================================
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen
diff --git a/tests/test_core/test_core_index.py b/tests/test_core/test_core_index.py
index 68892a6d..46396574 100644
--- a/tests/test_core/test_core_index.py
+++ b/tests/test_core/test_core_index.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Project Class Tester
+novelWriter – NWIndex Class Tester
==================================
This file is a part of novelWriter
diff --git a/tests/test_core/test_core_project.py b/tests/test_core/test_core_project.py
index 1e389322..61c2d25f 100644
--- a/tests/test_core/test_core_project.py
+++ b/tests/test_core/test_core_project.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Project Class Tester
-==================================
+novelWriter – NWProject Class Tester
+====================================
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen
diff --git a/tests/test_core/test_core_spell.py b/tests/test_core/test_core_spell.py
index 39b71d0c..4a9bde15 100644
--- a/tests/test_core/test_core_spell.py
+++ b/tests/test_core/test_core_spell.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Spell Check Class Tester
-======================================
+novelWriter – Spell Check Classes Tester
+========================================
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen
diff --git a/tests/test_core/test_core_status.py b/tests/test_core/test_core_status.py
index afd0ed9e..ee2ea24e 100644
--- a/tests/test_core/test_core_status.py
+++ b/tests/test_core/test_core_status.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Status Class Tester
-=================================
+novelWriter – NWStatus Class Tester
+===================================
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen
diff --git a/tests/test_core/test_core_tools.py b/tests/test_core/test_core_tools.py
index ca9a2518..d49ebf15 100644
--- a/tests/test_core/test_core_tools.py
+++ b/tests/test_core/test_core_tools.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Tools Tester
-==========================
+novelWriter – Core Tools Tester
+===============================
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen
diff --git a/tests/test_gui/test_gui_dialogs.py b/tests/test_gui/test_gui_dialogs.py
index cd931d49..243434d3 100644
--- a/tests/test_gui/test_gui_dialogs.py
+++ b/tests/test_gui/test_gui_dialogs.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Dialog Class Tester
-=================================
+novelWriter – Other Dialog Classes Tester
+=========================================
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen
diff --git a/tests/test_gui/test_gui_noveltree.py b/tests/test_gui/test_gui_noveltree.py
index 44b22688..9bf3a7d8 100644
--- a/tests/test_gui/test_gui_noveltree.py
+++ b/tests/test_gui/test_gui_noveltree.py
@@ -1,5 +1,23 @@
# -*- coding: utf-8 -*-
-"""novelWriter Main GUI Project Tree Class Tester
+"""
+novelWriter – Main GUI Novel Tree Class Tester
+==============================================
+
+This file is a part of novelWriter
+Copyright 2018–2021, Veronica Berglyd Olsen
+
+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 .
"""
import pytest
diff --git a/tests/test_gui/test_gui_preferences.py b/tests/test_gui/test_gui_preferences.py
index 26fa15a5..6247433a 100644
--- a/tests/test_gui/test_gui_preferences.py
+++ b/tests/test_gui/test_gui_preferences.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Dialog Class Tester
-=================================
+novelWriter – Preferences Dialog Class Tester
+=============================================
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen
diff --git a/tests/test_gui/test_gui_projload.py b/tests/test_gui/test_gui_projload.py
index 4d1c1b0b..1776a6a7 100644
--- a/tests/test_gui/test_gui_projload.py
+++ b/tests/test_gui/test_gui_projload.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Dialog Class Tester
-=================================
+novelWriter – Project Load Dialog Class Tester
+==============================================
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen
diff --git a/tests/test_gui/test_gui_projwizard.py b/tests/test_gui/test_gui_projwizard.py
index c689cecb..f2a967fc 100644
--- a/tests/test_gui/test_gui_projwizard.py
+++ b/tests/test_gui/test_gui_projwizard.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Project Wizard Class Tester
-=========================================
+novelWriter – New Project Wizard Class Tester
+=============================================
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen
diff --git a/tests/test_gui/test_gui_theme.py b/tests/test_gui/test_gui_theme.py
index 95dc87a1..ce719ea2 100644
--- a/tests/test_gui/test_gui_theme.py
+++ b/tests/test_gui/test_gui_theme.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
-novelWriter – Main GUI Class Tester
-===================================
+novelWriter – GUI Theme and Icons Classes Tester
+================================================
This file is a part of novelWriter
Copyright 2018–2021, Veronica Berglyd Olsen