Moved the custom widgets classes to the root gui folder

This commit is contained in:
Veronica K. B. Olsen
2020-06-01 23:13:08 +02:00
parent 6f7d66cb31
commit 61831d9c0e
8 changed files with 6 additions and 18 deletions
-12
View File
@@ -1,12 +0,0 @@
# -*- coding: utf-8 -*-
from nw.gui.additions.qconfiglayout import PagedDialog
from nw.gui.additions.qconfiglayout import QConfigLayout
from nw.gui.additions.qconfiglayout import QHelpLabel
from nw.gui.additions.qconfiglayout import QSwitch
__all__ = [
"PagedDialog",
"QConfigLayout",
"QHelpLabel",
"QSwitch",
]
+1 -1
View File
@@ -43,7 +43,7 @@ from PyQt5.QtWidgets import (
QFileDialog, QFontDialog, QSpinBox QFileDialog, QFontDialog, QSpinBox
) )
from nw.gui.additions import QSwitch from nw.gui.custom import QSwitch
from nw.core import ToHtml from nw.core import ToHtml
from nw.constants import ( from nw.constants import (
nwAlert, nwFiles, nwItemType, nwItemLayout, nwItemClass nwAlert, nwFiles, nwItemType, nwItemLayout, nwItemClass
+1 -1
View File
@@ -35,7 +35,7 @@ from PyQt5.QtWidgets import (
) )
from nw.constants import nwAlert, nwItemType from nw.constants import nwAlert, nwItemType
from nw.gui.additions import QHelpLabel from nw.gui.custom import QHelpLabel
from nw.core import NWDoc from nw.core import NWDoc
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
+1 -1
View File
@@ -34,7 +34,7 @@ from PyQt5.QtWidgets import (
QListWidgetItem, QDialogButtonBox, QLabel QListWidgetItem, QDialogButtonBox, QLabel
) )
from nw.constants import nwAlert, nwItemType, nwItemClass, nwItemLayout from nw.constants import nwAlert, nwItemType, nwItemClass, nwItemLayout
from nw.gui.additions import QHelpLabel from nw.gui.custom import QHelpLabel
from nw.core import NWDoc from nw.core import NWDoc
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
+1 -1
View File
@@ -34,7 +34,7 @@ from PyQt5.QtWidgets import (
QDialogButtonBox QDialogButtonBox
) )
from nw.gui.additions import QSwitch from nw.gui.custom import QSwitch
from nw.constants import nwLabels, nwItemLayout, nwItemClass, nwItemType from nw.constants import nwLabels, nwItemLayout, nwItemClass, nwItemType
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
+1 -1
View File
@@ -37,7 +37,7 @@ from PyQt5.QtWidgets import (
QDialogButtonBox, QFileDialog, QFontDialog QDialogButtonBox, QFileDialog, QFontDialog
) )
from nw.gui.additions import QSwitch, QConfigLayout, PagedDialog from nw.gui.custom import QSwitch, QConfigLayout, PagedDialog
from nw.core import NWSpellCheck, NWSpellSimple, NWSpellEnchant from nw.core import NWSpellCheck, NWSpellSimple, NWSpellEnchant
from nw.constants import nwAlert, nwQuotes from nw.constants import nwAlert, nwQuotes
+1 -1
View File
@@ -38,7 +38,7 @@ from PyQt5.QtWidgets import (
) )
from nw.constants import nwAlert from nw.constants import nwAlert
from nw.gui.additions import QSwitch, PagedDialog, QConfigLayout from nw.gui.custom import QSwitch, PagedDialog, QConfigLayout
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)