Reorganize resources
This commit is contained in:
@@ -59,10 +59,10 @@ import sys
|
|||||||
|
|
||||||
from PyQt5 import QtWidgets, QtGui, QtCore
|
from PyQt5 import QtWidgets, QtGui, QtCore
|
||||||
|
|
||||||
import mainwindow
|
|
||||||
import database
|
|
||||||
import sorter
|
import sorter
|
||||||
|
import database
|
||||||
|
|
||||||
|
from resources import mainwindow
|
||||||
from widgets import LibraryToolBar, BookToolBar, Tab
|
from widgets import LibraryToolBar, BookToolBar, Tab
|
||||||
from widgets import LibraryDelegate, BackGroundTabUpdate, BackGroundBookAddition
|
from widgets import LibraryDelegate, BackGroundTabUpdate, BackGroundBookAddition
|
||||||
from library import Library
|
from library import Library
|
||||||
|
0
resources/__init__.py
Normal file
0
resources/__init__.py
Normal file
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 341 B |
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 438 B |
@@ -5,8 +5,7 @@ from PyQt5 import QtWidgets, QtGui, QtCore
|
|||||||
|
|
||||||
import sorter
|
import sorter
|
||||||
import database
|
import database
|
||||||
import pie_chart
|
from resources import resources, pie_chart
|
||||||
import resources
|
|
||||||
|
|
||||||
|
|
||||||
class BookToolBar(QtWidgets.QToolBar):
|
class BookToolBar(QtWidgets.QToolBar):
|
||||||
@@ -54,11 +53,11 @@ class BookToolBar(QtWidgets.QToolBar):
|
|||||||
self.fontSizeBox.setEditable(True)
|
self.fontSizeBox.setEditable(True)
|
||||||
|
|
||||||
self.paddingUp = QtWidgets.QAction(
|
self.paddingUp = QtWidgets.QAction(
|
||||||
QtGui.QIcon.fromTheme('format-justify-fill'),
|
QtGui.QIcon.fromTheme('format-indent-less'),
|
||||||
'Increase padding', self)
|
'Increase padding', self)
|
||||||
self.paddingUp.setObjectName('paddingUp')
|
self.paddingUp.setObjectName('paddingUp')
|
||||||
self.paddingDown = QtWidgets.QAction(
|
self.paddingDown = QtWidgets.QAction(
|
||||||
QtGui.QIcon.fromTheme('format-indent-less'),
|
QtGui.QIcon.fromTheme('format-justify-fill'),
|
||||||
'Decrease padding', self)
|
'Decrease padding', self)
|
||||||
self.paddingDown.setObjectName('paddingDown')
|
self.paddingDown.setObjectName('paddingDown')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user