Add toggle for image caching
Remove PyQt5 reference from setup.py
This commit is contained in:
@@ -116,9 +116,12 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="comicsRemain">
|
||||
<widget class="QCheckBox" name="cachingEnabled">
|
||||
<property name="toolTip">
|
||||
<string>Greatly reduces page transition time at the cost of more memory</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Leave comics on disc</string>
|
||||
<string>Cache comic / pdf pages</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@@ -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"))
|
||||
|
Reference in New Issue
Block a user