mirror of
https://github.com/ciromattia/kcc
synced 2025-12-14 02:06:40 +00:00
Miscellaneous tweaks
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
<enum>Qt::NoFocus</enum>
|
<enum>Qt::NoFocus</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Disable image optimizations.</string>
|
<string><html><head/><body><p>Disable image optimizations.<br/>Input images must be already resized.</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>No optimisation</string>
|
<string>No optimisation</string>
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
<enum>Qt::NoFocus</enum>
|
<enum>Qt::NoFocus</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string><html><head/><body><p><span style=" font-size:12pt;">Disable image optimizations.</span></p></body></html></string>
|
<string><html><head/><body><p><span style=" font-size:12pt;">Disable image optimizations.<br/>Input images must be already resized.</span></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>No optimisation</string>
|
<string>No optimisation</string>
|
||||||
|
|||||||
2
KCC.ui
2
KCC.ui
@@ -65,7 +65,7 @@
|
|||||||
<enum>Qt::NoFocus</enum>
|
<enum>Qt::NoFocus</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Disable image optimizations.</string>
|
<string><html><head/><body><p>Disable image optimizations.<br/>Input images must be already resized.</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>No optimisation</string>
|
<string>No optimisation</string>
|
||||||
|
|||||||
@@ -756,7 +756,7 @@ class KCCGUI(KCC_ui.Ui_KCC):
|
|||||||
if not GUI.ProcessingBox.isChecked():
|
if not GUI.ProcessingBox.isChecked():
|
||||||
GUI.NoRotateBox.setEnabled(True)
|
GUI.NoRotateBox.setEnabled(True)
|
||||||
GUI.QualityBox.setEnabled(True)
|
GUI.QualityBox.setEnabled(True)
|
||||||
GUI.MangaBox.setEnabled(True)
|
GUI.MangaBox.setEnabled(True)
|
||||||
|
|
||||||
def toggleNoSplitRotate(self, value):
|
def toggleNoSplitRotate(self, value):
|
||||||
if value:
|
if value:
|
||||||
@@ -768,8 +768,6 @@ class KCCGUI(KCC_ui.Ui_KCC):
|
|||||||
|
|
||||||
def toggleProcessingBox(self, value):
|
def toggleProcessingBox(self, value):
|
||||||
if value:
|
if value:
|
||||||
GUI.MangaBox.setEnabled(False)
|
|
||||||
GUI.MangaBox.setChecked(False)
|
|
||||||
GUI.RotateBox.setEnabled(False)
|
GUI.RotateBox.setEnabled(False)
|
||||||
GUI.RotateBox.setChecked(False)
|
GUI.RotateBox.setChecked(False)
|
||||||
GUI.QualityBox.setEnabled(False)
|
GUI.QualityBox.setEnabled(False)
|
||||||
@@ -789,7 +787,6 @@ class KCCGUI(KCC_ui.Ui_KCC):
|
|||||||
GUI.GammaSlider.setEnabled(False)
|
GUI.GammaSlider.setEnabled(False)
|
||||||
GUI.GammaLabel.setEnabled(False)
|
GUI.GammaLabel.setEnabled(False)
|
||||||
else:
|
else:
|
||||||
GUI.MangaBox.setEnabled(True)
|
|
||||||
GUI.RotateBox.setEnabled(True)
|
GUI.RotateBox.setEnabled(True)
|
||||||
GUI.UpscaleBox.setEnabled(True)
|
GUI.UpscaleBox.setEnabled(True)
|
||||||
GUI.NoRotateBox.setEnabled(True)
|
GUI.NoRotateBox.setEnabled(True)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'KCC.ui'
|
# Form implementation generated from reading ui file 'KCC.ui'
|
||||||
#
|
#
|
||||||
# Created: Wed Jan 15 11:34:09 2014
|
# Created: Mon Jan 20 10:34:14 2014
|
||||||
# by: PyQt5 UI code generator 5.2
|
# by: PyQt5 UI code generator 5.2
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
@@ -260,7 +260,7 @@ class Ui_KCC(object):
|
|||||||
def retranslateUi(self, KCC):
|
def retranslateUi(self, KCC):
|
||||||
_translate = QtCore.QCoreApplication.translate
|
_translate = QtCore.QCoreApplication.translate
|
||||||
KCC.setWindowTitle(_translate("KCC", "Kindle Comic Converter"))
|
KCC.setWindowTitle(_translate("KCC", "Kindle Comic Converter"))
|
||||||
self.ProcessingBox.setToolTip(_translate("KCC", "Disable image optimizations."))
|
self.ProcessingBox.setToolTip(_translate("KCC", "<html><head/><body><p>Disable image optimizations.<br/>Input images must be already resized.</p></body></html>"))
|
||||||
self.ProcessingBox.setText(_translate("KCC", "No optimisation"))
|
self.ProcessingBox.setText(_translate("KCC", "No optimisation"))
|
||||||
self.UpscaleBox.setToolTip(_translate("KCC", "<html><head/><body><p><span style=\" font-weight:600; text-decoration: underline;\">Unchecked - Nothing<br/></span>Images smaller than device resolution will not be resized.</p><p><span style=\" font-weight:600; text-decoration: underline;\">Indeterminate - Stretching<br/></span>Images smaller than device resolution will be resized. Aspect ratio will be not preserved.</p><p><span style=\" font-weight:600; text-decoration: underline;\">Checked - Upscaling<br/></span>Images smaller than device resolution will be resized. Aspect ratio will be preserved.</p></body></html>"))
|
self.UpscaleBox.setToolTip(_translate("KCC", "<html><head/><body><p><span style=\" font-weight:600; text-decoration: underline;\">Unchecked - Nothing<br/></span>Images smaller than device resolution will not be resized.</p><p><span style=\" font-weight:600; text-decoration: underline;\">Indeterminate - Stretching<br/></span>Images smaller than device resolution will be resized. Aspect ratio will be not preserved.</p><p><span style=\" font-weight:600; text-decoration: underline;\">Checked - Upscaling<br/></span>Images smaller than device resolution will be resized. Aspect ratio will be preserved.</p></body></html>"))
|
||||||
self.UpscaleBox.setText(_translate("KCC", "Stretch/Upscale"))
|
self.UpscaleBox.setText(_translate("KCC", "Stretch/Upscale"))
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'KCC-Linux.ui'
|
# Form implementation generated from reading ui file 'KCC-Linux.ui'
|
||||||
#
|
#
|
||||||
# Created: Wed Jan 15 11:34:18 2014
|
# Created: Mon Jan 20 10:34:24 2014
|
||||||
# by: PyQt5 UI code generator 5.2
|
# by: PyQt5 UI code generator 5.2
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
@@ -329,7 +329,7 @@ class Ui_KCC(object):
|
|||||||
def retranslateUi(self, KCC):
|
def retranslateUi(self, KCC):
|
||||||
_translate = QtCore.QCoreApplication.translate
|
_translate = QtCore.QCoreApplication.translate
|
||||||
KCC.setWindowTitle(_translate("KCC", "Kindle Comic Converter"))
|
KCC.setWindowTitle(_translate("KCC", "Kindle Comic Converter"))
|
||||||
self.ProcessingBox.setToolTip(_translate("KCC", "Disable image optimizations."))
|
self.ProcessingBox.setToolTip(_translate("KCC", "<html><head/><body><p>Disable image optimizations.<br/>Input images must be already resized.</p></body></html>"))
|
||||||
self.ProcessingBox.setText(_translate("KCC", "No optimisation"))
|
self.ProcessingBox.setText(_translate("KCC", "No optimisation"))
|
||||||
self.UpscaleBox.setToolTip(_translate("KCC", "<html><head/><body><p><span style=\" font-weight:600; text-decoration: underline;\">Unchecked - Nothing<br/></span>Images smaller than device resolution will not be resized.</p><p><span style=\" font-weight:600; text-decoration: underline;\">Indeterminate - Stretching<br/></span>Images smaller than device resolution will be resized. Aspect ratio will be not preserved.</p><p><span style=\" font-weight:600; text-decoration: underline;\">Checked - Upscaling<br/></span>Images smaller than device resolution will be resized. Aspect ratio will be preserved.</p></body></html>"))
|
self.UpscaleBox.setToolTip(_translate("KCC", "<html><head/><body><p><span style=\" font-weight:600; text-decoration: underline;\">Unchecked - Nothing<br/></span>Images smaller than device resolution will not be resized.</p><p><span style=\" font-weight:600; text-decoration: underline;\">Indeterminate - Stretching<br/></span>Images smaller than device resolution will be resized. Aspect ratio will be not preserved.</p><p><span style=\" font-weight:600; text-decoration: underline;\">Checked - Upscaling<br/></span>Images smaller than device resolution will be resized. Aspect ratio will be preserved.</p></body></html>"))
|
||||||
self.UpscaleBox.setText(_translate("KCC", "Stretch/Upscale"))
|
self.UpscaleBox.setText(_translate("KCC", "Stretch/Upscale"))
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'KCC-OSX.ui'
|
# Form implementation generated from reading ui file 'KCC-OSX.ui'
|
||||||
#
|
#
|
||||||
# Created: Wed Jan 15 11:34:51 2014
|
# Created: Mon Jan 20 10:34:32 2014
|
||||||
# by: PyQt5 UI code generator 5.2
|
# by: PyQt5 UI code generator 5.2
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
@@ -352,7 +352,7 @@ class Ui_KCC(object):
|
|||||||
def retranslateUi(self, KCC):
|
def retranslateUi(self, KCC):
|
||||||
_translate = QtCore.QCoreApplication.translate
|
_translate = QtCore.QCoreApplication.translate
|
||||||
KCC.setWindowTitle(_translate("KCC", "Kindle Comic Converter"))
|
KCC.setWindowTitle(_translate("KCC", "Kindle Comic Converter"))
|
||||||
self.ProcessingBox.setToolTip(_translate("KCC", "<html><head/><body><p><span style=\" font-size:12pt;\">Disable image optimizations.</span></p></body></html>"))
|
self.ProcessingBox.setToolTip(_translate("KCC", "<html><head/><body><p><span style=\" font-size:12pt;\">Disable image optimizations.<br/>Input images must be already resized.</span></p></body></html>"))
|
||||||
self.ProcessingBox.setText(_translate("KCC", "No optimisation"))
|
self.ProcessingBox.setText(_translate("KCC", "No optimisation"))
|
||||||
self.UpscaleBox.setToolTip(_translate("KCC", "<html><head/><body><p><span style=\" font-size:12pt; font-weight:600; text-decoration: underline;\">Unchecked - Nothing<br/></span><span style=\" font-size:12pt;\">Images smaller than device resolution will not be resized.</span></p><p><span style=\" font-size:12pt; font-weight:600; text-decoration: underline;\">Indeterminate - Stretching<br/></span><span style=\" font-size:12pt;\">Images smaller than device resolution will be resized. Aspect ratio will be not preserved.</span></p><p><span style=\" font-size:12pt; font-weight:600; text-decoration: underline;\">Checked - Upscaling<br/></span><span style=\" font-size:12pt;\">Images smaller than device resolution will be resized. Aspect ratio will be preserved.</span></p></body></html>"))
|
self.UpscaleBox.setToolTip(_translate("KCC", "<html><head/><body><p><span style=\" font-size:12pt; font-weight:600; text-decoration: underline;\">Unchecked - Nothing<br/></span><span style=\" font-size:12pt;\">Images smaller than device resolution will not be resized.</span></p><p><span style=\" font-size:12pt; font-weight:600; text-decoration: underline;\">Indeterminate - Stretching<br/></span><span style=\" font-size:12pt;\">Images smaller than device resolution will be resized. Aspect ratio will be not preserved.</span></p><p><span style=\" font-size:12pt; font-weight:600; text-decoration: underline;\">Checked - Upscaling<br/></span><span style=\" font-size:12pt;\">Images smaller than device resolution will be resized. Aspect ratio will be preserved.</span></p></body></html>"))
|
||||||
self.UpscaleBox.setText(_translate("KCC", "Stretch/Upscale"))
|
self.UpscaleBox.setText(_translate("KCC", "Stretch/Upscale"))
|
||||||
|
|||||||
Reference in New Issue
Block a user