Application icon and .desktop file
Rearrange modules because of single-version-externally-managed
This commit is contained in:
1 parent
42b655862c
commit
7931f92335
139 files changed
+5844
-5483
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.
+5
-1
@@ -43,7 +43,7 @@ from lector.settingsdialog import SettingsUI
|
|||||||
from lector.metadatadialog import MetadataUI
|
from lector.metadatadialog import MetadataUI
|
||||||
from lector.definitionsdialog import DefinitionsUI
|
from lector.definitionsdialog import DefinitionsUI
|
||||||
|
|
||||||
from resources import mainwindow, resources
|
from lector.resources import mainwindow, resources
|
||||||
|
|
||||||
|
|
||||||
class MainUI(QtWidgets.QMainWindow, mainwindow.Ui_MainWindow):
|
class MainUI(QtWidgets.QMainWindow, mainwindow.Ui_MainWindow):
|
||||||
@@ -51,6 +51,10 @@ class MainUI(QtWidgets.QMainWindow, mainwindow.Ui_MainWindow):
|
|||||||
super(MainUI, self).__init__()
|
super(MainUI, self).__init__()
|
||||||
self.setupUi(self)
|
self.setupUi(self)
|
||||||
|
|
||||||
|
# Set window icon
|
||||||
|
self.setWindowIcon(
|
||||||
|
QtGui.QIcon(':/images/Lector.png'))
|
||||||
|
|
||||||
# Central Widget - Make borders disappear
|
# Central Widget - Make borders disappear
|
||||||
self.centralWidget().layout().setContentsMargins(0, 0, 0, 0)
|
self.centralWidget().layout().setContentsMargins(0, 0, 0, 0)
|
||||||
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
|
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
|
||||||
|
|||||||
@@ -18,8 +18,7 @@
|
|||||||
|
|
||||||
import requests
|
import requests
|
||||||
from PyQt5 import QtWidgets, QtCore, QtGui, QtMultimedia
|
from PyQt5 import QtWidgets, QtCore, QtGui, QtMultimedia
|
||||||
|
from lector.resources import definitions
|
||||||
from resources import definitions
|
|
||||||
|
|
||||||
|
|
||||||
class DefinitionsUI(QtWidgets.QDialog, definitions.Ui_Dialog):
|
class DefinitionsUI(QtWidgets.QDialog, definitions.Ui_Dialog):
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from PyQt5 import QtWidgets, QtGui, QtCore
|
from PyQt5 import QtWidgets, QtGui, QtCore
|
||||||
from resources import pie_chart
|
from lector.resources import pie_chart
|
||||||
|
|
||||||
|
|
||||||
class LibraryDelegate(QtWidgets.QStyledItemDelegate):
|
class LibraryDelegate(QtWidgets.QStyledItemDelegate):
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
@@ -17,7 +17,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from PyQt5 import QtGui
|
from PyQt5 import QtGui
|
||||||
from resources import resources
|
from lector.resources import resources
|
||||||
|
|
||||||
|
|
||||||
class QImageFactory:
|
class QImageFactory:
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ import os
|
|||||||
import pickle
|
import pickle
|
||||||
import pathlib
|
import pathlib
|
||||||
from PyQt5 import QtGui, QtCore
|
from PyQt5 import QtGui, QtCore
|
||||||
|
|
||||||
from lector import database
|
from lector import database
|
||||||
from lector.models import TableProxyModel, ItemProxyModel
|
from lector.models import TableProxyModel, ItemProxyModel
|
||||||
|
|
||||||
|
|||||||
@@ -20,8 +20,7 @@ from PyQt5 import QtWidgets, QtCore, QtGui
|
|||||||
|
|
||||||
from lector import database
|
from lector import database
|
||||||
from lector.widgets import PliantQGraphicsScene
|
from lector.widgets import PliantQGraphicsScene
|
||||||
|
from lector.resources import metadata
|
||||||
from resources import metadata
|
|
||||||
|
|
||||||
|
|
||||||
class MetadataUI(QtWidgets.QDialog, metadata.Ui_Dialog):
|
class MetadataUI(QtWidgets.QDialog, metadata.Ui_Dialog):
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
import pathlib
|
import pathlib
|
||||||
|
|
||||||
from PyQt5 import QtCore, QtWidgets
|
from PyQt5 import QtCore, QtWidgets
|
||||||
from resources import pie_chart
|
from lector.resources import pie_chart
|
||||||
|
|
||||||
|
|
||||||
class BookmarkProxyModel(QtCore.QSortFilterProxyModel):
|
class BookmarkProxyModel(QtCore.QSortFilterProxyModel):
|
||||||
|
|||||||
File renamed without changes.
@@ -22,7 +22,7 @@
|
|||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
import zipfile
|
import zipfile
|
||||||
from rarfile import rarfile
|
from lector.rarfile import rarfile
|
||||||
|
|
||||||
|
|
||||||
class ParseCOMIC:
|
class ParseCOMIC:
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
import os
|
import os
|
||||||
import zipfile
|
import zipfile
|
||||||
|
|
||||||
from ePub.read_epub import EPUB
|
from lector.ePub.read_epub import EPUB
|
||||||
|
|
||||||
|
|
||||||
class ParseEPUB:
|
class ParseEPUB:
|
||||||
@@ -24,8 +24,8 @@ import sys
|
|||||||
import shutil
|
import shutil
|
||||||
import zipfile
|
import zipfile
|
||||||
|
|
||||||
from ePub.read_epub import EPUB
|
from lector.ePub.read_epub import EPUB
|
||||||
import KindleUnpack.kindleunpack as KindleUnpack
|
import lector.KindleUnpack.kindleunpack as KindleUnpack
|
||||||
|
|
||||||
|
|
||||||
class ParseMOBI:
|
class ParseMOBI:
|
||||||
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.
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.
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
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.
Loaded 100 of 139 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user