mirror of
https://github.com/ciromattia/kcc
synced 2026-09-01 08:27:06 +00:00
Expert mode tweaks
This commit is contained in:
@@ -350,9 +350,6 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Manga mode</string>
|
<string>Manga mode</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checked">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QCheckBox" name="QualityBox">
|
<widget class="QCheckBox" name="QualityBox">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
|
|||||||
@@ -315,9 +315,6 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Manga mode</string>
|
<string>Manga mode</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checked">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QCheckBox" name="QualityBox">
|
<widget class="QCheckBox" name="QualityBox">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
|
|||||||
+3
-3
@@ -312,8 +312,8 @@ class Ui_KCC(object):
|
|||||||
self.GammaValue = value
|
self.GammaValue = value
|
||||||
GUI.GammaLabel.setText('Gamma: ' + str(value))
|
GUI.GammaLabel.setText('Gamma: ' + str(value))
|
||||||
|
|
||||||
def changeDevice(self, value):
|
def changeDevice(self, value, start=False):
|
||||||
if value == 11 and self.currentMode != 3:
|
if value == 11 and (start or self.currentMode != 3):
|
||||||
GUI.BasicModeButton.setEnabled(False)
|
GUI.BasicModeButton.setEnabled(False)
|
||||||
GUI.AdvModeButton.setEnabled(False)
|
GUI.AdvModeButton.setEnabled(False)
|
||||||
self.modeExpert()
|
self.modeExpert()
|
||||||
@@ -442,4 +442,4 @@ class Ui_KCC(object):
|
|||||||
self.modeExpert()
|
self.modeExpert()
|
||||||
self.versionCheck.start()
|
self.versionCheck.start()
|
||||||
self.hideProgressBar()
|
self.hideProgressBar()
|
||||||
self.changeDevice(self.lastDevice)
|
self.changeDevice(self.lastDevice, True)
|
||||||
+1
-2
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'KCC.ui'
|
# Form implementation generated from reading ui file 'KCC.ui'
|
||||||
#
|
#
|
||||||
# Created: Wed Jun 19 10:47:29 2013
|
# Created: Wed Jun 19 11:39:49 2013
|
||||||
# by: PyQt4 UI code generator 4.10.1
|
# by: PyQt4 UI code generator 4.10.1
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
@@ -137,7 +137,6 @@ class Ui_KCC(object):
|
|||||||
self.MangaBox = QtGui.QCheckBox(self.OptionsBasic)
|
self.MangaBox = QtGui.QCheckBox(self.OptionsBasic)
|
||||||
self.MangaBox.setGeometry(QtCore.QRect(9, 10, 130, 18))
|
self.MangaBox.setGeometry(QtCore.QRect(9, 10, 130, 18))
|
||||||
self.MangaBox.setFocusPolicy(QtCore.Qt.NoFocus)
|
self.MangaBox.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||||
self.MangaBox.setChecked(True)
|
|
||||||
self.MangaBox.setObjectName(_fromUtf8("MangaBox"))
|
self.MangaBox.setObjectName(_fromUtf8("MangaBox"))
|
||||||
self.QualityBox = QtGui.QCheckBox(self.OptionsBasic)
|
self.QualityBox = QtGui.QCheckBox(self.OptionsBasic)
|
||||||
self.QualityBox.setGeometry(QtCore.QRect(282, 10, 130, 18))
|
self.QualityBox.setGeometry(QtCore.QRect(282, 10, 130, 18))
|
||||||
|
|||||||
+7
-16
@@ -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: Tue Jun 18 22:42:06 2013
|
# Created: Wed Jun 19 11:40:04 2013
|
||||||
# by: PyQt4 UI code generator 4.10.1
|
# by: PyQt4 UI code generator 4.10.1
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
@@ -158,7 +158,6 @@ class Ui_KCC(object):
|
|||||||
font.setPointSize(11)
|
font.setPointSize(11)
|
||||||
self.MangaBox.setFont(font)
|
self.MangaBox.setFont(font)
|
||||||
self.MangaBox.setFocusPolicy(QtCore.Qt.NoFocus)
|
self.MangaBox.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||||
self.MangaBox.setChecked(True)
|
|
||||||
self.MangaBox.setObjectName(_fromUtf8("MangaBox"))
|
self.MangaBox.setObjectName(_fromUtf8("MangaBox"))
|
||||||
self.QualityBox = QtGui.QCheckBox(self.OptionsBasic)
|
self.QualityBox = QtGui.QCheckBox(self.OptionsBasic)
|
||||||
self.QualityBox.setGeometry(QtCore.QRect(282, 10, 130, 18))
|
self.QualityBox.setGeometry(QtCore.QRect(282, 10, 130, 18))
|
||||||
@@ -185,7 +184,7 @@ class Ui_KCC(object):
|
|||||||
self.JobList.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
|
self.JobList.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
|
||||||
self.JobList.setObjectName(_fromUtf8("JobList"))
|
self.JobList.setObjectName(_fromUtf8("JobList"))
|
||||||
self.BasicModeButton = QtGui.QPushButton(self.Form)
|
self.BasicModeButton = QtGui.QPushButton(self.Form)
|
||||||
self.BasicModeButton.setGeometry(QtCore.QRect(5, 10, 156, 41))
|
self.BasicModeButton.setGeometry(QtCore.QRect(5, 10, 210, 41))
|
||||||
font = QtGui.QFont()
|
font = QtGui.QFont()
|
||||||
font.setPointSize(12)
|
font.setPointSize(12)
|
||||||
font.setBold(False)
|
font.setBold(False)
|
||||||
@@ -194,7 +193,7 @@ class Ui_KCC(object):
|
|||||||
self.BasicModeButton.setFocusPolicy(QtCore.Qt.NoFocus)
|
self.BasicModeButton.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||||
self.BasicModeButton.setObjectName(_fromUtf8("BasicModeButton"))
|
self.BasicModeButton.setObjectName(_fromUtf8("BasicModeButton"))
|
||||||
self.AdvModeButton = QtGui.QPushButton(self.Form)
|
self.AdvModeButton = QtGui.QPushButton(self.Form)
|
||||||
self.AdvModeButton.setGeometry(QtCore.QRect(160, 10, 101, 41))
|
self.AdvModeButton.setGeometry(QtCore.QRect(207, 10, 210, 41))
|
||||||
font = QtGui.QFont()
|
font = QtGui.QFont()
|
||||||
font.setPointSize(12)
|
font.setPointSize(12)
|
||||||
font.setBold(False)
|
font.setBold(False)
|
||||||
@@ -202,13 +201,6 @@ class Ui_KCC(object):
|
|||||||
self.AdvModeButton.setFont(font)
|
self.AdvModeButton.setFont(font)
|
||||||
self.AdvModeButton.setFocusPolicy(QtCore.Qt.NoFocus)
|
self.AdvModeButton.setFocusPolicy(QtCore.Qt.NoFocus)
|
||||||
self.AdvModeButton.setObjectName(_fromUtf8("AdvModeButton"))
|
self.AdvModeButton.setObjectName(_fromUtf8("AdvModeButton"))
|
||||||
self.ExpertModeButton = QtGui.QPushButton(self.Form)
|
|
||||||
self.ExpertModeButton.setGeometry(QtCore.QRect(260, 10, 157, 41))
|
|
||||||
font = QtGui.QFont()
|
|
||||||
font.setPointSize(12)
|
|
||||||
self.ExpertModeButton.setFont(font)
|
|
||||||
self.ExpertModeButton.setFocusPolicy(QtCore.Qt.NoFocus)
|
|
||||||
self.ExpertModeButton.setObjectName(_fromUtf8("ExpertModeButton"))
|
|
||||||
self.OptionsAdvancedGamma = QtGui.QFrame(self.Form)
|
self.OptionsAdvancedGamma = QtGui.QFrame(self.Form)
|
||||||
self.OptionsAdvancedGamma.setEnabled(True)
|
self.OptionsAdvancedGamma.setEnabled(True)
|
||||||
self.OptionsAdvancedGamma.setGeometry(QtCore.QRect(10, 303, 401, 41))
|
self.OptionsAdvancedGamma.setGeometry(QtCore.QRect(10, 303, 401, 41))
|
||||||
@@ -359,19 +351,18 @@ class Ui_KCC(object):
|
|||||||
self.RotateBox.setText(_translate("KCC", "Horizontal mode", None))
|
self.RotateBox.setText(_translate("KCC", "Horizontal mode", None))
|
||||||
self.BasicModeButton.setText(_translate("KCC", "Basic", None))
|
self.BasicModeButton.setText(_translate("KCC", "Basic", None))
|
||||||
self.AdvModeButton.setText(_translate("KCC", "Advanced", None))
|
self.AdvModeButton.setText(_translate("KCC", "Advanced", None))
|
||||||
self.ExpertModeButton.setText(_translate("KCC", "Expert", None))
|
|
||||||
self.GammaLabel.setToolTip(_translate("KCC", "When converting color images setting this option to 1.0 MIGHT improve readability.", None))
|
self.GammaLabel.setToolTip(_translate("KCC", "When converting color images setting this option to 1.0 MIGHT improve readability.", None))
|
||||||
self.GammaLabel.setText(_translate("KCC", "Gamma: Auto", None))
|
self.GammaLabel.setText(_translate("KCC", "Gamma: Auto", None))
|
||||||
self.GammaSlider.setToolTip(_translate("KCC", "<html><head/><body><p>When converting color images setting this option to 1.0 <span style=\" font-weight:600;\">might</span> improve readability.</p></body></html>", None))
|
self.GammaSlider.setToolTip(_translate("KCC", "<html><head/><body><p>When converting color images setting this option to 1.0 <span style=\" font-weight:600;\">might</span> improve readability.</p></body></html>", None))
|
||||||
self.ColorBox.setToolTip(_translate("KCC", "Do not convert images to grayscale.", None))
|
self.ColorBox.setToolTip(_translate("KCC", "Do not convert images to grayscale.", None))
|
||||||
self.ColorBox.setText(_translate("KCC", "Color mode", None))
|
self.ColorBox.setText(_translate("KCC", "Color mode", None))
|
||||||
self.wLabel.setToolTip(_translate("KCC", "Device profile width will be overwritten by this value.", None))
|
self.wLabel.setToolTip(_translate("KCC", "Resolution of target device.", None))
|
||||||
self.wLabel.setText(_translate("KCC", "Custom width: ", None))
|
self.wLabel.setText(_translate("KCC", "Custom width: ", None))
|
||||||
self.customWidth.setToolTip(_translate("KCC", "Device profile width will be overwritten by this value.", None))
|
self.customWidth.setToolTip(_translate("KCC", "Resolution of target device.", None))
|
||||||
self.customWidth.setInputMask(_translate("KCC", "0000; ", None))
|
self.customWidth.setInputMask(_translate("KCC", "0000; ", None))
|
||||||
self.hLabel.setToolTip(_translate("KCC", "Device profile height will be overwritten by this value.", None))
|
self.hLabel.setToolTip(_translate("KCC", "Resolution of target device.", None))
|
||||||
self.hLabel.setText(_translate("KCC", "Custom height: ", None))
|
self.hLabel.setText(_translate("KCC", "Custom height: ", None))
|
||||||
self.customHeight.setToolTip(_translate("KCC", "Device profile height will be overwritten by this value.", None))
|
self.customHeight.setToolTip(_translate("KCC", "Resolution of target device.", None))
|
||||||
self.customHeight.setInputMask(_translate("KCC", "0000; ", None))
|
self.customHeight.setInputMask(_translate("KCC", "0000; ", None))
|
||||||
self.ActionBasic.setText(_translate("KCC", "Basic", None))
|
self.ActionBasic.setText(_translate("KCC", "Basic", None))
|
||||||
self.ActionAdvanced.setText(_translate("KCC", "Advanced", None))
|
self.ActionAdvanced.setText(_translate("KCC", "Advanced", None))
|
||||||
|
|||||||
+1
-1
@@ -93,7 +93,7 @@ class ProfileData:
|
|||||||
'KF': ("Kindle Fire", (600, 1024), Palette16, 1.0, (900, 1536)),
|
'KF': ("Kindle Fire", (600, 1024), Palette16, 1.0, (900, 1536)),
|
||||||
'KFHD': ("Kindle Fire HD 7\"", (800, 1280), Palette16, 1.0, (1200, 1920)),
|
'KFHD': ("Kindle Fire HD 7\"", (800, 1280), Palette16, 1.0, (1200, 1920)),
|
||||||
'KFHD8': ("Kindle Fire HD 8.9\"", (1200, 1920), Palette16, 1.0, (1800, 2880)),
|
'KFHD8': ("Kindle Fire HD 8.9\"", (1200, 1920), Palette16, 1.0, (1800, 2880)),
|
||||||
'Other': ("Other", (0, 0), Palette16, 1.0, (0, 0)),
|
'OTHER': ("Other", (0, 0), Palette16, 1.0, (0, 0)),
|
||||||
}
|
}
|
||||||
|
|
||||||
ProfileLabels = {
|
ProfileLabels = {
|
||||||
|
|||||||
Reference in New Issue
Block a user