about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Jastrzębski <[email protected]>2014-01-20 11:58:15 +0100
committerPaweł Jastrzębski <[email protected]>2014-01-20 11:58:15 +0100
commit991bf5d4a97cb0b2b83d1c95f51a5c6ea42a0ac7 (patch)
tree9c50e311d7a0f3c9f5ec2676e87f2ed376e18dc1
parentAutoupdater for Windows (#68) (diff)
downloadkcc-991bf5d4a97cb0b2b83d1c95f51a5c6ea42a0ac7.tar.gz
kcc-991bf5d4a97cb0b2b83d1c95f51a5c6ea42a0ac7.tar.bz2
kcc-991bf5d4a97cb0b2b83d1c95f51a5c6ea42a0ac7.zip
Miscellaneous tweaks
-rw-r--r--KCC-Linux.ui2
-rw-r--r--KCC-OSX.ui2
-rw-r--r--KCC.ui2
-rw-r--r--kcc/KCC_gui.py5
-rw-r--r--kcc/KCC_ui.py4
-rw-r--r--kcc/KCC_ui_linux.py4
-rw-r--r--kcc/KCC_ui_osx.py4
7 files changed, 10 insertions, 13 deletions
diff --git a/KCC-Linux.ui b/KCC-Linux.ui
index 26b8683..e08ef60 100644
--- a/KCC-Linux.ui
+++ b/KCC-Linux.ui
@@ -71,7 +71,7 @@
         <enum>Qt::NoFocus</enum>
        </property>
        <property name="toolTip">
-        <string>Disable image optimizations.</string>
+        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Disable image optimizations.&lt;br/&gt;Input images must be already resized.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
        </property>
        <property name="text">
         <string>No optimisation</string>
diff --git a/KCC-OSX.ui b/KCC-OSX.ui
index bc88ec1..21dc000 100644
--- a/KCC-OSX.ui
+++ b/KCC-OSX.ui
@@ -69,7 +69,7 @@
         <enum>Qt::NoFocus</enum>
        </property>
        <property name="toolTip">
-        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Disable image optimizations.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Disable image optimizations.&lt;br/&gt;Input images must be already resized.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
        </property>
        <property name="text">
         <string>No optimisation</string>
diff --git a/KCC.ui b/KCC.ui
index ab89d23..a067723 100644
--- a/KCC.ui
+++ b/KCC.ui
@@ -65,7 +65,7 @@
         <enum>Qt::NoFocus</enum>
        </property>
        <property name="toolTip">
-        <string>Disable image optimizations.</string>
+        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Disable image optimizations.&lt;br/&gt;Input images must be already resized.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
        </property>
        <property name="text">
         <string>No optimisation</string>
diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py
index e947604..9158dca 100644
--- a/kcc/KCC_gui.py
+++ b/kcc/KCC_gui.py
@@ -756,7 +756,7 @@ class KCCGUI(KCC_ui.Ui_KCC):
             if not GUI.ProcessingBox.isChecked():
                 GUI.NoRotateBox.setEnabled(True)
                 GUI.QualityBox.setEnabled(True)
-                GUI.MangaBox.setEnabled(True)
+            GUI.MangaBox.setEnabled(True)
 
     def toggleNoSplitRotate(self, value):
         if value:
@@ -768,8 +768,6 @@ class KCCGUI(KCC_ui.Ui_KCC):
 
     def toggleProcessingBox(self, value):
         if value:
-            GUI.MangaBox.setEnabled(False)
-            GUI.MangaBox.setChecked(False)
             GUI.RotateBox.setEnabled(False)
             GUI.RotateBox.setChecked(False)
             GUI.QualityBox.setEnabled(False)
@@ -789,7 +787,6 @@ class KCCGUI(KCC_ui.Ui_KCC):
             GUI.GammaSlider.setEnabled(False)
             GUI.GammaLabel.setEnabled(False)
         else:
-            GUI.MangaBox.setEnabled(True)
             GUI.RotateBox.setEnabled(True)
             GUI.UpscaleBox.setEnabled(True)
             GUI.NoRotateBox.setEnabled(True)
diff --git a/kcc/KCC_ui.py b/kcc/KCC_ui.py
index 917c894..d370c57 100644
--- a/kcc/KCC_ui.py
+++ b/kcc/KCC_ui.py
@@ -2,7 +2,7 @@
 
 # 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
 #
 # WARNING! All changes made in this file will be lost!
@@ -260,7 +260,7 @@ class Ui_KCC(object):
     def retranslateUi(self, KCC):
         _translate = QtCore.QCoreApplication.translate
         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.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"))
diff --git a/kcc/KCC_ui_linux.py b/kcc/KCC_ui_linux.py
index 233ef5e..089647c 100644
--- a/kcc/KCC_ui_linux.py
+++ b/kcc/KCC_ui_linux.py
@@ -2,7 +2,7 @@
 
 # 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
 #
 # WARNING! All changes made in this file will be lost!
@@ -329,7 +329,7 @@ class Ui_KCC(object):
     def retranslateUi(self, KCC):
         _translate = QtCore.QCoreApplication.translate
         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.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"))
diff --git a/kcc/KCC_ui_osx.py b/kcc/KCC_ui_osx.py
index b58659d..5009adb 100644
--- a/kcc/KCC_ui_osx.py
+++ b/kcc/KCC_ui_osx.py
@@ -2,7 +2,7 @@
 
 # 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
 #
 # WARNING! All changes made in this file will be lost!
@@ -352,7 +352,7 @@ class Ui_KCC(object):
     def retranslateUi(self, KCC):
         _translate = QtCore.QCoreApplication.translate
         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.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"))