Reorganize resources
This commit is contained in:
@@ -59,10 +59,10 @@ import sys
|
||||
|
||||
from PyQt5 import QtWidgets, QtGui, QtCore
|
||||
|
||||
import mainwindow
|
||||
import database
|
||||
import sorter
|
||||
import database
|
||||
|
||||
from resources import mainwindow
|
||||
from widgets import LibraryToolBar, BookToolBar, Tab
|
||||
from widgets import LibraryDelegate, BackGroundTabUpdate, BackGroundBookAddition
|
||||
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 database
|
||||
import pie_chart
|
||||
import resources
|
||||
from resources import resources, pie_chart
|
||||
|
||||
|
||||
class BookToolBar(QtWidgets.QToolBar):
|
||||
@@ -54,11 +53,11 @@ class BookToolBar(QtWidgets.QToolBar):
|
||||
self.fontSizeBox.setEditable(True)
|
||||
|
||||
self.paddingUp = QtWidgets.QAction(
|
||||
QtGui.QIcon.fromTheme('format-justify-fill'),
|
||||
QtGui.QIcon.fromTheme('format-indent-less'),
|
||||
'Increase padding', self)
|
||||
self.paddingUp.setObjectName('paddingUp')
|
||||
self.paddingDown = QtWidgets.QAction(
|
||||
QtGui.QIcon.fromTheme('format-indent-less'),
|
||||
QtGui.QIcon.fromTheme('format-justify-fill'),
|
||||
'Decrease padding', self)
|
||||
self.paddingDown.setObjectName('paddingDown')
|
||||
|
||||
|
Reference in New Issue
Block a user