Move previewer.py into browser folder

This commit is contained in:
RumovZ 2021-04-13 11:38:35 +02:00
parent e43f11339f
commit 594a98eff1
3 changed files with 5 additions and 2 deletions

View File

@ -8,6 +8,7 @@ import aqt
from .browser import Browser
from .dialogs import CardInfoDialog, ChangeModel, FindAndReplaceDialog, FindDupesDialog
from .previewer import BrowserPreviewer, MultiCardPreviewer, Previewer
from .sidebar import (
SidebarItem,
SidebarItemType,
@ -39,3 +40,5 @@ sys.modules["aqt.find_and_replace"] = sys.modules["aqt.browser.dialogs"]
aqt.find_and_replace = sys.modules["aqt.browser.dialogs"] # type: ignore
sys.modules["aqt.sidebar"] = sys.modules["aqt.browser.sidebar"]
aqt.sidebar = sys.modules["aqt.browser.sidebar"] # type: ignore
sys.modules["aqt.previewer"] = sys.modules["aqt.browser.previewer"]
aqt.previewer = sys.modules["aqt.browser.previewer"] # type: ignore

View File

@ -24,6 +24,8 @@ from aqt.browser.dialogs import (
FindAndReplaceDialog,
FindDupesDialog,
)
from aqt.browser.previewer import BrowserPreviewer as PreviewDialog
from aqt.browser.previewer import Previewer
from aqt.browser.sidebar import SidebarTreeView
from aqt.browser.table import Table
from aqt.editor import Editor
@ -44,8 +46,6 @@ from aqt.operations.tag import (
clear_unused_tags,
remove_tags_from_notes,
)
from aqt.previewer import BrowserPreviewer as PreviewDialog
from aqt.previewer import Previewer
from aqt.qt import *
from aqt.switch import Switch
from aqt.utils import (