Add toggle for image caching

Remove PyQt5 reference from setup.py
This commit is contained in:
BasioMeusPuga
2018-03-17 10:44:02 +05:30
parent 50089cb57a
commit 89a32bfeda
6 changed files with 30 additions and 18 deletions

View File

@@ -71,9 +71,9 @@ class Ui_Dialog(object):
self.performCulling = QtWidgets.QCheckBox(self.groupBox)
self.performCulling.setObjectName("performCulling")
self.horizontalLayout.addWidget(self.performCulling)
self.comicsRemain = QtWidgets.QCheckBox(self.groupBox)
self.comicsRemain.setObjectName("comicsRemain")
self.horizontalLayout.addWidget(self.comicsRemain)
self.cachingEnabled = QtWidgets.QCheckBox(self.groupBox)
self.cachingEnabled.setObjectName("cachingEnabled")
self.horizontalLayout.addWidget(self.cachingEnabled)
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.label = QtWidgets.QLabel(self.groupBox)
@@ -118,7 +118,8 @@ class Ui_Dialog(object):
self.coverShadows.setText(_translate("Dialog", "Cover shadows"))
self.performCulling.setToolTip(_translate("Dialog", "Enabling reduces startup time and memory usage"))
self.performCulling.setText(_translate("Dialog", "Load covers only when needed"))
self.comicsRemain.setText(_translate("Dialog", "Leave comics on disc"))
self.cachingEnabled.setToolTip(_translate("Dialog", "Greatly reduces page transition time at the cost of more memory"))
self.cachingEnabled.setText(_translate("Dialog", "Cache comic / pdf pages"))
self.label.setToolTip(_translate("Dialog", "Restart to see changes"))
self.label.setText(_translate("Dialog", "Icon theme: "))
self.darkIconsRadio.setToolTip(_translate("Dialog", "Restart to see changes"))