maintenance: use modules properly
This commit is contained in:
1 parent
79180885b5
commit
1cd6ff6b58
60 files changed
+26
-27
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+12
-13
@@ -21,20 +21,19 @@ import sys
|
||||
import hashlib
|
||||
from PyQt5 import QtWidgets, QtGui, QtCore
|
||||
|
||||
import sorter
|
||||
import database
|
||||
from lector import database
|
||||
from lector import sorter
|
||||
from lector.toolbars import LibraryToolBar, BookToolBar
|
||||
from lector.widgets import Tab
|
||||
from lector.delegates import LibraryDelegate
|
||||
from lector.threaded import BackGroundTabUpdate, BackGroundBookAddition, BackGroundBookDeletion
|
||||
from lector.library import Library
|
||||
from lector.settings import Settings
|
||||
from lector.settingsdialog import SettingsUI
|
||||
from lector.metadatadialog import MetadataUI
|
||||
from lector.definitionsdialog import DefinitionsUI
|
||||
|
||||
from resources import mainwindow, resources
|
||||
from toolbars import LibraryToolBar, BookToolBar
|
||||
from widgets import Tab
|
||||
from delegates import LibraryDelegate
|
||||
from threaded import BackGroundTabUpdate, BackGroundBookAddition, BackGroundBookDeletion
|
||||
from library import Library
|
||||
from settings import Settings
|
||||
|
||||
from settingsdialog import SettingsUI
|
||||
from metadatadialog import MetadataUI
|
||||
from definitionsdialog import DefinitionsUI
|
||||
from resources import mainwindow
|
||||
|
||||
|
||||
class MainUI(QtWidgets.QMainWindow, mainwindow.Ui_MainWindow):
|
||||
|
||||
+2
-2
@@ -21,8 +21,8 @@ import pickle
|
||||
import pathlib
|
||||
from PyQt5 import QtGui, QtCore
|
||||
|
||||
import database
|
||||
from models import TableProxyModel, ItemProxyModel
|
||||
from lector import database
|
||||
from lector.models import TableProxyModel, ItemProxyModel
|
||||
|
||||
|
||||
class Library:
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
|
||||
from PyQt5 import QtWidgets, QtCore, QtGui
|
||||
|
||||
import database
|
||||
from lector import database
|
||||
|
||||
from resources import metadata
|
||||
from widgets import PliantQGraphicsScene
|
||||
from lector.widgets import PliantQGraphicsScene
|
||||
|
||||
|
||||
class MetadataUI(QtWidgets.QDialog, metadata.Ui_Dialog):
|
||||
|
||||
@@ -23,10 +23,11 @@ import os
|
||||
import copy
|
||||
from PyQt5 import QtWidgets, QtCore
|
||||
|
||||
import database
|
||||
from lector import database
|
||||
from lector.models import MostExcellentFileSystemModel
|
||||
from lector.threaded import BackGroundBookSearch, BackGroundBookAddition
|
||||
|
||||
from resources import settingswindow
|
||||
from models import MostExcellentFileSystemModel, FileSystemProxyModel
|
||||
from threaded import BackGroundBookSearch, BackGroundBookAddition
|
||||
|
||||
|
||||
class SettingsUI(QtWidgets.QDialog, settingswindow.Ui_Dialog):
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ import threading
|
||||
from multiprocessing import Pool, Manager
|
||||
from PyQt5 import QtCore, QtGui
|
||||
|
||||
import database
|
||||
from lector import database
|
||||
|
||||
from parsers.cbz import ParseCBZ
|
||||
from parsers.cbr import ParseCBR
|
||||
|
||||
+2
-2
@@ -21,8 +21,8 @@ import pathlib
|
||||
from multiprocessing.dummy import Pool
|
||||
from PyQt5 import QtCore
|
||||
|
||||
import sorter
|
||||
import database
|
||||
from lector import sorter
|
||||
from lector import database
|
||||
|
||||
|
||||
class BackGroundTabUpdate(QtCore.QThread):
|
||||
|
||||
+3
-4
@@ -26,10 +26,9 @@ import os
|
||||
import uuid
|
||||
from PyQt5 import QtWidgets, QtGui, QtCore
|
||||
|
||||
from resources import pie_chart
|
||||
from models import BookmarkProxyModel
|
||||
from sorter import resize_image
|
||||
from delegates import BookmarkDelegate
|
||||
from lector.models import BookmarkProxyModel
|
||||
from lector.sorter import resize_image
|
||||
from lector.delegates import BookmarkDelegate
|
||||
|
||||
|
||||
class Tab(QtWidgets.QWidget):
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user