Move previewer.py into browser folder
This commit is contained in:
parent
e43f11339f
commit
594a98eff1
@ -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
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user