1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-15 18:56:28 +00:00

UI tweaks

This commit is contained in:
Paweł Jastrzębski
2013-06-11 23:28:58 +02:00
parent ed94e6508c
commit 439eedcec7
3 changed files with 15 additions and 23 deletions

22
KCC.ui
View File

@@ -324,7 +324,7 @@
<rect>
<x>282</x>
<y>10</y>
<width>104</width>
<width>130</width>
<height>18</height>
</rect>
</property>
@@ -346,7 +346,7 @@
<rect>
<x>145</x>
<y>10</y>
<width>111</width>
<width>130</width>
<height>18</height>
</rect>
</property>
@@ -466,25 +466,25 @@
<widget class="QLabel" name="GammaLabel">
<property name="geometry">
<rect>
<x>0</x>
<x>8</x>
<y>0</y>
<width>161</width>
<height>41</height>
<width>100</width>
<height>40</height>
</rect>
</property>
<property name="toolTip">
<string>When converting color images setting this option to 1.0 MIGHT improve readability.</string>
</property>
<property name="text">
<string>Gamma correction: Auto</string>
<string>Gamma: Auto</string>
</property>
</widget>
<widget class="QSlider" name="GammaSlider">
<property name="geometry">
<rect>
<x>140</x>
<x>110</x>
<y>10</y>
<width>261</width>
<width>271</width>
<height>22</height>
</rect>
</property>
@@ -514,12 +514,6 @@
<height>40</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="wLabel">

View File

@@ -304,7 +304,7 @@ class Ui_KCC(object):
value = float(value)
value = '%.2f' % (value/100)
self.GammaValue = value
GUI.GammaLabel.setText('Gamma correction: ' + str(value))
GUI.GammaLabel.setText('Gamma: ' + str(value))
def addMessage(self, message, icon=None, replace=False):
if icon:

View File

@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'KCC.ui'
#
# Created: Tue Jun 11 20:08:06 2013
# Created: Tue Jun 11 23:27:52 2013
# by: PyQt4 UI code generator 4.10.1
#
# WARNING! All changes made in this file will be lost!
@@ -140,12 +140,12 @@ class Ui_KCC(object):
self.MangaBox.setChecked(True)
self.MangaBox.setObjectName(_fromUtf8("MangaBox"))
self.HQPVBox = QtGui.QCheckBox(self.OptionsBasic)
self.HQPVBox.setGeometry(QtCore.QRect(282, 10, 104, 18))
self.HQPVBox.setGeometry(QtCore.QRect(282, 10, 130, 18))
self.HQPVBox.setFocusPolicy(QtCore.Qt.NoFocus)
self.HQPVBox.setChecked(True)
self.HQPVBox.setObjectName(_fromUtf8("HQPVBox"))
self.RotateBox = QtGui.QCheckBox(self.OptionsBasic)
self.RotateBox.setGeometry(QtCore.QRect(145, 10, 111, 18))
self.RotateBox.setGeometry(QtCore.QRect(145, 10, 130, 18))
self.RotateBox.setFocusPolicy(QtCore.Qt.NoFocus)
self.RotateBox.setObjectName(_fromUtf8("RotateBox"))
self.JobList = QtGui.QListWidget(self.Form)
@@ -183,10 +183,10 @@ class Ui_KCC(object):
self.OptionsAdvancedGamma.setFont(font)
self.OptionsAdvancedGamma.setObjectName(_fromUtf8("OptionsAdvancedGamma"))
self.GammaLabel = QtGui.QLabel(self.OptionsAdvancedGamma)
self.GammaLabel.setGeometry(QtCore.QRect(0, 0, 161, 41))
self.GammaLabel.setGeometry(QtCore.QRect(8, 0, 100, 40))
self.GammaLabel.setObjectName(_fromUtf8("GammaLabel"))
self.GammaSlider = QtGui.QSlider(self.OptionsAdvancedGamma)
self.GammaSlider.setGeometry(QtCore.QRect(140, 10, 261, 22))
self.GammaSlider.setGeometry(QtCore.QRect(110, 10, 271, 22))
self.GammaSlider.setFocusPolicy(QtCore.Qt.ClickFocus)
self.GammaSlider.setMaximum(500)
self.GammaSlider.setSingleStep(5)
@@ -194,8 +194,6 @@ class Ui_KCC(object):
self.GammaSlider.setObjectName(_fromUtf8("GammaSlider"))
self.OptionsExpert = QtGui.QFrame(self.Form)
self.OptionsExpert.setGeometry(QtCore.QRect(20, 340, 381, 40))
self.OptionsExpert.setFrameShape(QtGui.QFrame.StyledPanel)
self.OptionsExpert.setFrameShadow(QtGui.QFrame.Raised)
self.OptionsExpert.setObjectName(_fromUtf8("OptionsExpert"))
self.gridLayout_2 = QtGui.QGridLayout(self.OptionsExpert)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
@@ -276,7 +274,7 @@ class Ui_KCC(object):
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.setText(_translate("KCC", "Gamma correction: 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.wLabel.setToolTip(_translate("KCC", "Device profile width will be overwritten by this value.", None))
self.wLabel.setText(_translate("KCC", "Custom width: ", None))