Reorganize resources

This commit is contained in:
BasioMeusPuga
2017-11-16 23:36:15 +05:30
parent d70d61a84e
commit 3f09c5afb9
11 changed files with 5 additions and 6 deletions

View File

@@ -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
View File

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

View File

Before

Width:  |  Height:  |  Size: 438 B

After

Width:  |  Height:  |  Size: 438 B

View File

@@ -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')