diff --git a/KCC-Linux.ui b/KCC-Linux.ui index 7c41928..edf8fa4 100644 --- a/KCC-Linux.ui +++ b/KCC-Linux.ui @@ -71,7 +71,7 @@ Qt::NoFocus - <html><head/><body><p style='white-space:pre'>Disable image optimizations.<br/>Input images must be already resized.</p></body></html> + <html><head/><body><p style='white-space:pre'>Disable image optimizations.<br/><span style=" font-weight:600;">Input images must be already resized.</span></p></body></html> No optimisation @@ -110,7 +110,7 @@ Qt::NoFocus - <html><head/><body><p>Enable auto-splitting of webtoons like <span style=" font-style:italic;">Tower of God</span> or <span style=" font-style:italic;">Noblesse</span>.<br/>This mode was created for pages with a low width, high height and vertical panel flow.</p></body></html> + <html><head/><body><p style='white-space:pre'>Enable special parsing mode for WebToons.</p></body></html> Webtoon mode @@ -167,7 +167,7 @@ Qt::NoFocus - <html><head/><body><p style='white-space:pre'>Disable splitting and rotation.</p></body></html> + <html><head/><body><p style='white-space:pre'>Disable page splitting and rotation.</p></body></html> No split/rotate @@ -241,7 +241,7 @@ Qt::NoFocus - <html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory.</p></body></html> + <html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory.</p></body></html> Convert @@ -269,6 +269,9 @@ Qt::NoFocus + + <html><head/><body><p style='white-space:pre'>Add directory containing JPG, PNG or GIF files to queue.<br/><span style=" font-weight:600;">CBR, CBZ and CB7 files inside will not be processed!</span></p></body></html> + Add directory @@ -295,6 +298,9 @@ Qt::NoFocus + + <html><head/><body><p style='white-space:pre'>Add CBR, CBZ, CB7 or PDF file to queue.</p></body></html> + Add file @@ -386,7 +392,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-weight:600; text-decoration: underline;">Unchecked - Normal quality mode</span><br/>Maximal quality of images but very poor magnification quality.<br/>Use it only when zoom is not needed or output files needs to be small.</p><p><span style=" font-weight:600; text-decoration: underline;">Indeterminate - High quality mode</span><br/>In most cases high quality of images and magnification.<br/>Overall quality highly depends on the resolution of source files.<br/>On Kindle models older than Paperwhite non-zoomed images might be a little blurred.<br/><br/><span style=" font-weight:600; text-decoration: underline;">Checked - Ultra quality mode</span><br/>Highest possible quality. Output files will be big.</p></body></html> + <html><head/><body><p style='white-space:pre'>Quality of Panel View/zoom. Highly impact size of output file.<br/><span style=" font-weight:600;">This option control only quality of magnification!</span></p></body></html> High/Ultra quality @@ -664,7 +670,7 @@ - <html><head/><body><p>Resolution of target device.</p></body></html> + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> Custom width: @@ -697,7 +703,7 @@ false - <html><head/><body><p>Resolution of target device.</p></body></html> + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> 0000 @@ -715,7 +721,7 @@ - <html><head/><body><p>Resolution of target device.</p></body></html> + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> Custom height: @@ -748,7 +754,7 @@ false - <html><head/><body><p>Resolution of target device.</p></body></html> + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> 0000 diff --git a/KCC-OSX.ui b/KCC-OSX.ui index e73c93d..77a9079 100644 --- a/KCC-OSX.ui +++ b/KCC-OSX.ui @@ -69,7 +69,7 @@ Qt::NoFocus - <html><head/><body><p style='white-space:pre'>Disable image optimizations.<br/>Input images must be already resized.</p></body></html> + <html><head/><body><p style='white-space:pre'>Disable image optimizations.<br/><span style=" font-weight:600;">Input images must be already resized.</span></p></body></html> No optimisation @@ -110,7 +110,7 @@ Qt::NoFocus - <html><head/><body><p>Enable auto-splitting of webtoons like <span style=" font-style:italic;">Tower of God </span>or <span style=" font-style:italic;">Noblesse</span>.<br/>This mode was created for pages with a low width, high height and vertical panel flow.</p><p><br/></p></body></html> + <html><head/><body><p style='white-space:pre'>Enable special parsing mode for WebToons.</p></body></html> Webtoon mode @@ -170,7 +170,7 @@ Qt::NoFocus - <html><head/><body><p style='white-space:pre'>Disable splitting and rotation.</p></body></html> + <html><head/><body><p style='white-space:pre'>Disable page splitting and rotation.</p></body></html> No split/rotate @@ -220,7 +220,7 @@ Qt::NoFocus - <html><head/><body><p style='white-space:pre'>Output format.</p></body></html> + <html><head/><body><p style='white-space:pre'>Output format.</p></body></html> @@ -244,7 +244,7 @@ Qt::NoFocus - <html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory.</p></body></html> + <html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory.</p></body></html> Convert @@ -272,6 +272,9 @@ Qt::NoFocus + + <html><head/><body><p style='white-space:pre'>Add directory containing JPG, PNG or GIF files to queue.<br/><span style=" font-weight:600;">CBR, CBZ and CB7 files inside will not be processed!</span></p></body></html> + Add directory @@ -298,6 +301,9 @@ Qt::NoFocus + + <html><head/><body><p style='white-space:pre'>Add CBR, CBZ, CB7 or PDF file to queue.</p></body></html> + Add file @@ -391,7 +397,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-weight:600; text-decoration: underline;">Unchecked - Normal quality mode</span><br/>Maximal quality of images but very poor magnification quality.<br/>Use it only when zoom is not needed or output files needs to be small.</p><p><span style=" font-weight:600; text-decoration: underline;">Indeterminate - High quality mode</span><br/>In most cases high quality of images and magnification.<br/>Overall quality highly depends on the resolution of source files.<br/>On Kindle models older than Paperwhite non-zoomed images might be a little blurred.</p><p><span style=" font-weight:600; text-decoration: underline;">Checked - Ultra quality mode</span><br/>Highest possible quality. Output files will be big.</p></body></html> + <html><head/><body><p style='white-space:pre'>Quality of Panel View/zoom. Highly impact size of output file.<br/><span style=" font-weight:600;">This option control only quality of magnification!</span></p></body></html> High/Ultra quality diff --git a/KCC.ui b/KCC.ui index 883a351..9e83cf7 100644 --- a/KCC.ui +++ b/KCC.ui @@ -65,7 +65,7 @@ Qt::NoFocus - <html><head/><body><p style='white-space:pre'>Disable image optimizations.<br/>Input images must be already resized.</p></body></html> + <html><head/><body><p style='white-space:pre'>Disable image optimizations.<br/><span style=" font-weight:600;">Input images must be already resized.</span></p></body></html> No optimisation @@ -94,7 +94,7 @@ Qt::NoFocus - <html><head/><body><p style="white-space:pre">Enable auto-splitting of webtoons like <span style=" font-style:italic;">Tower of God</span> or <span style=" font-style:italic;">Noblesse</span>.<br/>This mode is created for pages with a low width, high height and vertical panel flow.</p></body></html> + <html><head/><body><p style='white-space:pre'>Enable special parsing mode for WebToons.</p></body></html> Webtoon mode @@ -136,7 +136,7 @@ Qt::NoFocus - <html><head/><body><p style='white-space:pre'>Disable splitting and rotation.</p></body></html> + <html><head/><body><p style='white-space:pre'>Disable page splitting and rotation.</p></body></html> No split/rotate @@ -234,6 +234,9 @@ Qt::NoFocus + + <html><head/><body><p style='white-space:pre'>Add directory containing JPG, PNG or GIF files to queue.<br/><span style=" font-weight:600;">CBR, CBZ and CB7 files inside will not be processed!</span></p></body></html> + Add directory @@ -259,6 +262,9 @@ Qt::NoFocus + + <html><head/><body><p style='white-space:pre'>Add CBR, CBZ, CB7 or PDF file to queue.</p></body></html> + Add file @@ -338,7 +344,7 @@ Qt::NoFocus - <html><head/><body><p style="white-space:pre"><span style=" font-weight:600; text-decoration: underline;">Unchecked - Normal quality mode<br/></span>Maximal quality of images but very poor magnification quality.<br/>Use it only when zoom is not needed or output files needs to be small.</p><p style="white-space:pre"><span style=" font-weight:600; text-decoration: underline;">Indeterminate - High quality mode<br/></span>In most cases high quality of images and magnification.<br/>Overall quality highly depends on the resolution of source files.<br/>On Kindle models older than Paperwhite non-zoomed images might be a little blurred.</p><p style="white-space:pre"><span style=" font-weight:600; text-decoration: underline;">Checked - Ultra quality mode<br/></span>Highest possible quality. Output files will be big.</p></body></html> + <html><head/><body><p style='white-space:pre'>Quality of Panel View/zoom. Highly impact size of output file.<br/><span style=" font-weight:600;">This option control only quality of magnification!</span></p></body></html> High/Ultra quality diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index 42eb9b9..74dc7f6 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -1070,7 +1070,7 @@ class KCCGUI(KCC_ui.Ui_KCC): elif sys.platform.startswith('linux'): self.listFontSize = 8 self.statusBarFontSize = 8 - self.statusBarStyle = 'QLabel{padding-top:5px;padding-bottom:3px;}' + self.statusBarStyle = 'QLabel{padding-top:3px;padding-bottom:3px;}' self.statusBar.setStyleSheet('QStatusBar::item{border:0px;border-top:2px solid #C2C7CB;}') else: self.listFontSize = 9 diff --git a/kcc/KCC_ui.py b/kcc/KCC_ui.py index dd36744..4de51be 100644 --- a/kcc/KCC_ui.py +++ b/kcc/KCC_ui.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'KCC.ui' # -# Created: Sun May 18 09:08:27 2014 -# by: PyQt5 UI code generator 5.2.1 +# Created: Sun Jan 4 09:58:25 2015 +# by: PyQt5 UI code generator 5.4 # # WARNING! All changes made in this file will be lost! @@ -138,12 +138,12 @@ class Ui_KCC(object): self.JobList = QtWidgets.QListWidget(self.Form) self.JobList.setGeometry(QtCore.QRect(10, 50, 401, 101)) self.JobList.setFocusPolicy(QtCore.Qt.NoFocus) - self.JobList.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) - self.JobList.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) - self.JobList.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) self.JobList.setStyleSheet("QListWidget#JobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;}QScrollBar:vertical{border:1px solid #999;background:#FFF;width:5px;margin:0}QScrollBar::handle:vertical{background:DarkGray;min-height:0}QScrollBar::add-line:vertical{height:0;background:DarkGray;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:vertical{height:0;background:DarkGray;subcontrol-position:top;subcontrol-origin:margin}QScrollBar:horizontal{border:1px solid #999;background:#FFF;height:5px;margin:0}QScrollBar::handle:horizontal{background:DarkGray;min-width:0}QScrollBar::add-line:horizontal{width:0;background:DarkGray;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:horizontal{width:0;background:DarkGray;subcontrol-position:top;subcontrol-origin:margin}") + self.JobList.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) self.JobList.setProperty("showDropIndicator", False) self.JobList.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection) + self.JobList.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) + self.JobList.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) self.JobList.setObjectName("JobList") self.BasicModeButton = QtWidgets.QPushButton(self.Form) self.BasicModeButton.setGeometry(QtCore.QRect(10, 10, 195, 32)) @@ -261,28 +261,30 @@ 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.
Input images must be already resized.

")) + self.ProcessingBox.setToolTip(_translate("KCC", "

Disable image optimizations.
Input images must be already resized.

")) self.ProcessingBox.setText(_translate("KCC", "No optimisation")) self.UpscaleBox.setToolTip(_translate("KCC", "

Unchecked - Nothing
Images smaller than device resolution will not be resized.

Indeterminate - Stretching
Images smaller than device resolution will be resized. Aspect ratio will be not preserved.

Checked - Upscaling
Images smaller than device resolution will be resized. Aspect ratio will be preserved.

")) self.UpscaleBox.setText(_translate("KCC", "Stretch/Upscale")) - self.WebtoonBox.setToolTip(_translate("KCC", "

Enable auto-splitting of webtoons like Tower of God or Noblesse.
This mode is created for pages with a low width, high height and vertical panel flow.

")) + self.WebtoonBox.setToolTip(_translate("KCC", "

Enable special parsing mode for WebToons.

")) self.WebtoonBox.setText(_translate("KCC", "Webtoon mode")) self.NoDitheringBox.setToolTip(_translate("KCC", "

Create PNG files instead JPEG.
Quality increase is not noticeable on most of devices.
Output files might be smaller.
MOBI conversion will be much slower.

")) self.NoDitheringBox.setText(_translate("KCC", "PNG output")) self.BorderBox.setToolTip(_translate("KCC", "

Unchecked - Autodetection
Color of margins fill will be detected automatically.

Indeterminate - White
Margins will be filled with white color.

Checked - Black
Margins will be filled with black color.

")) self.BorderBox.setText(_translate("KCC", "W/B margins")) - self.NoRotateBox.setToolTip(_translate("KCC", "

Disable splitting and rotation.

")) + self.NoRotateBox.setToolTip(_translate("KCC", "

Disable page splitting and rotation.

")) self.NoRotateBox.setText(_translate("KCC", "No split/rotate")) self.DeviceBox.setToolTip(_translate("KCC", "

Target device.

")) self.FormatBox.setToolTip(_translate("KCC", "

Output format.

")) self.ConvertButton.setToolTip(_translate("KCC", "

Shift+Click to select the output directory.

")) self.ConvertButton.setText(_translate("KCC", "Convert")) + self.DirectoryButton.setToolTip(_translate("KCC", "

Add directory containing JPG, PNG or GIF files to queue.
CBR, CBZ and CB7 files inside will not be processed!

")) self.DirectoryButton.setText(_translate("KCC", "Add directory")) + self.FileButton.setToolTip(_translate("KCC", "

Add CBR, CBZ, CB7 or PDF file to queue.

")) self.FileButton.setText(_translate("KCC", "Add file")) self.ClearButton.setText(_translate("KCC", "Clear list")) self.MangaBox.setToolTip(_translate("KCC", "

Enable right-to-left reading.

")) self.MangaBox.setText(_translate("KCC", "Manga mode")) - self.QualityBox.setToolTip(_translate("KCC", "

Unchecked - Normal quality mode
Maximal quality of images but very poor magnification quality.
Use it only when zoom is not needed or output files needs to be small.

Indeterminate - High quality mode
In most cases high quality of images and magnification.
Overall quality highly depends on the resolution of source files.
On Kindle models older than Paperwhite non-zoomed images might be a little blurred.

Checked - Ultra quality mode
Highest possible quality. Output files will be big.

")) + self.QualityBox.setToolTip(_translate("KCC", "

Quality of Panel View/zoom. Highly impact size of output file.
This option control only quality of magnification!

")) self.QualityBox.setText(_translate("KCC", "High/Ultra quality")) self.RotateBox.setToolTip(_translate("KCC", "

Disable splitting of two-page spreads.
They will be rotated instead.

")) self.RotateBox.setText(_translate("KCC", "Horizontal mode")) diff --git a/kcc/KCC_ui_linux.py b/kcc/KCC_ui_linux.py index d077804..eabddc6 100644 --- a/kcc/KCC_ui_linux.py +++ b/kcc/KCC_ui_linux.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'KCC-Linux.ui' # -# Created: Sun May 18 09:08:37 2014 -# by: PyQt5 UI code generator 5.2.1 +# Created: Sun Jan 4 10:06:14 2015 +# by: PyQt5 UI code generator 5.4 # # WARNING! All changes made in this file will be lost! @@ -178,13 +178,13 @@ class Ui_KCC(object): font.setItalic(False) self.JobList.setFont(font) self.JobList.setFocusPolicy(QtCore.Qt.NoFocus) - self.JobList.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) - self.JobList.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) - self.JobList.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) self.JobList.setStyleSheet("QListWidget#JobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;}QScrollBar:vertical{border:1px solid #999;background:#FFF;width:5px;margin:0}QScrollBar::handle:vertical{background:DarkGray;min-height:0}QScrollBar::add-line:vertical{height:0;background:DarkGray;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:vertical{height:0;background:DarkGray;subcontrol-position:top;subcontrol-origin:margin}QScrollBar:horizontal{border:1px solid #999;background:#FFF;height:5px;margin:0}QScrollBar::handle:horizontal{background:DarkGray;min-width:0}QScrollBar::add-line:horizontal{width:0;background:DarkGray;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:horizontal{width:0;background:DarkGray;subcontrol-position:top;subcontrol-origin:margin}") + self.JobList.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) self.JobList.setProperty("showDropIndicator", False) self.JobList.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection) self.JobList.setIconSize(QtCore.QSize(18, 18)) + self.JobList.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) + self.JobList.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) self.JobList.setObjectName("JobList") self.BasicModeButton = QtWidgets.QPushButton(self.Form) self.BasicModeButton.setGeometry(QtCore.QRect(10, 10, 195, 32)) @@ -330,28 +330,30 @@ 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.
Input images must be already resized.

")) + self.ProcessingBox.setToolTip(_translate("KCC", "

Disable image optimizations.
Input images must be already resized.

")) self.ProcessingBox.setText(_translate("KCC", "No optimisation")) self.UpscaleBox.setToolTip(_translate("KCC", "

Unchecked - Nothing
Images smaller than device resolution will not be resized.

Indeterminate - Stretching
Images smaller than device resolution will be resized. Aspect ratio will be not preserved.

Checked - Upscaling
Images smaller than device resolution will be resized. Aspect ratio will be preserved.

")) self.UpscaleBox.setText(_translate("KCC", "Stretch/Upscale")) - self.WebtoonBox.setToolTip(_translate("KCC", "

Enable auto-splitting of webtoons like Tower of God or Noblesse.
This mode was created for pages with a low width, high height and vertical panel flow.

")) + self.WebtoonBox.setToolTip(_translate("KCC", "

Enable special parsing mode for WebToons.

")) self.WebtoonBox.setText(_translate("KCC", "Webtoon mode")) self.NoDitheringBox.setToolTip(_translate("KCC", "

Create PNG files instead JPEG.
Quality increase is not noticeable on most of devices.
Output files might be smaller.
MOBI conversion will be much slower.

")) self.NoDitheringBox.setText(_translate("KCC", "PNG output")) self.BorderBox.setToolTip(_translate("KCC", "

Unchecked - Autodetection
Color of margins fill will be detected automatically.

Indeterminate - White
Margins will be filled with white color.

Checked - Black
Margins will be filled with black color.

")) self.BorderBox.setText(_translate("KCC", "W/B margins")) - self.NoRotateBox.setToolTip(_translate("KCC", "

Disable splitting and rotation.

")) + self.NoRotateBox.setToolTip(_translate("KCC", "

Disable page splitting and rotation.

")) self.NoRotateBox.setText(_translate("KCC", "No split/rotate")) self.DeviceBox.setToolTip(_translate("KCC", "

Target device.

")) self.FormatBox.setToolTip(_translate("KCC", "

Output format.

")) - self.ConvertButton.setToolTip(_translate("KCC", "

Shift+Click to select the output directory.

")) + self.ConvertButton.setToolTip(_translate("KCC", "

Shift+Click to select the output directory.

")) self.ConvertButton.setText(_translate("KCC", "Convert")) + self.DirectoryButton.setToolTip(_translate("KCC", "

Add directory containing JPG, PNG or GIF files to queue.
CBR, CBZ and CB7 files inside will not be processed!

")) self.DirectoryButton.setText(_translate("KCC", "Add directory")) + self.FileButton.setToolTip(_translate("KCC", "

Add CBR, CBZ, CB7 or PDF file to queue.

")) self.FileButton.setText(_translate("KCC", "Add file")) self.ClearButton.setText(_translate("KCC", "Clear list")) self.MangaBox.setToolTip(_translate("KCC", "

Enable right-to-left reading.

")) self.MangaBox.setText(_translate("KCC", "Manga mode")) - self.QualityBox.setToolTip(_translate("KCC", "

Unchecked - Normal quality mode
Maximal quality of images but very poor magnification quality.
Use it only when zoom is not needed or output files needs to be small.

Indeterminate - High quality mode
In most cases high quality of images and magnification.
Overall quality highly depends on the resolution of source files.
On Kindle models older than Paperwhite non-zoomed images might be a little blurred.

Checked - Ultra quality mode
Highest possible quality. Output files will be big.

")) + self.QualityBox.setToolTip(_translate("KCC", "

Quality of Panel View/zoom. Highly impact size of output file.
This option control only quality of magnification!

")) self.QualityBox.setText(_translate("KCC", "High/Ultra quality")) self.RotateBox.setToolTip(_translate("KCC", "

Disable splitting of two-page spreads.
They will be rotated instead.

")) self.RotateBox.setText(_translate("KCC", "Horizontal mode")) @@ -360,13 +362,13 @@ class Ui_KCC(object): self.GammaLabel.setText(_translate("KCC", "Gamma: Auto")) self.ColorBox.setToolTip(_translate("KCC", "

Don\'t convert images to grayscale.

")) self.ColorBox.setText(_translate("KCC", "Color mode")) - self.wLabel.setToolTip(_translate("KCC", "

Resolution of target device.

")) + self.wLabel.setToolTip(_translate("KCC", "

Resolution of target device.

")) self.wLabel.setText(_translate("KCC", "Custom width: ")) - self.customWidth.setToolTip(_translate("KCC", "

Resolution of target device.

")) + self.customWidth.setToolTip(_translate("KCC", "

Resolution of target device.

")) self.customWidth.setInputMask(_translate("KCC", "0000")) - self.hLabel.setToolTip(_translate("KCC", "

Resolution of target device.

")) + self.hLabel.setToolTip(_translate("KCC", "

Resolution of target device.

")) self.hLabel.setText(_translate("KCC", "Custom height: ")) - self.customHeight.setToolTip(_translate("KCC", "

Resolution of target device.

")) + self.customHeight.setToolTip(_translate("KCC", "

Resolution of target device.

")) self.customHeight.setInputMask(_translate("KCC", "0000")) self.ActionBasic.setText(_translate("KCC", "Basic")) self.ActionAdvanced.setText(_translate("KCC", "Advanced")) diff --git a/kcc/KCC_ui_osx.py b/kcc/KCC_ui_osx.py index fb12b70..775ecc8 100644 --- a/kcc/KCC_ui_osx.py +++ b/kcc/KCC_ui_osx.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'KCC-OSX.ui' # -# Created: Sun May 18 09:08:44 2014 -# by: PyQt5 UI code generator 5.2.1 +# Created: Sun Jan 4 10:26:09 2015 +# by: PyQt5 UI code generator 5.4 # # WARNING! All changes made in this file will be lost! @@ -185,12 +185,12 @@ class Ui_KCC(object): font.setPointSize(11) self.JobList.setFont(font) self.JobList.setFocusPolicy(QtCore.Qt.NoFocus) - self.JobList.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) - self.JobList.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) - self.JobList.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) self.JobList.setStyleSheet("QListWidget#JobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;}QScrollBar:vertical{border:1px solid #999;background:#FFF;width:5px;margin:0}QScrollBar::handle:vertical{background:DarkGray;min-height:0}QScrollBar::add-line:vertical{height:0;background:DarkGray;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:vertical{height:0;background:DarkGray;subcontrol-position:top;subcontrol-origin:margin}QScrollBar:horizontal{border:1px solid #999;background:#FFF;height:5px;margin:0}QScrollBar::handle:horizontal{background:DarkGray;min-width:0}QScrollBar::add-line:horizontal{width:0;background:DarkGray;subcontrol-position:bottom;subcontrol-origin:margin}QScrollBar::sub-line:horizontal{width:0;background:DarkGray;subcontrol-position:top;subcontrol-origin:margin}") + self.JobList.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) self.JobList.setProperty("showDropIndicator", False) self.JobList.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection) + self.JobList.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) + self.JobList.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) self.JobList.setObjectName("JobList") self.BasicModeButton = QtWidgets.QPushButton(self.Form) self.BasicModeButton.setGeometry(QtCore.QRect(5, 10, 210, 41)) @@ -353,28 +353,30 @@ 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.
Input images must be already resized.

")) + self.ProcessingBox.setToolTip(_translate("KCC", "

Disable image optimizations.
Input images must be already resized.

")) self.ProcessingBox.setText(_translate("KCC", "No optimisation")) self.UpscaleBox.setToolTip(_translate("KCC", "

Unchecked - Nothing
Images smaller than device resolution will not be resized.

Indeterminate - Stretching
Images smaller than device resolution will be resized. Aspect ratio will be not preserved.

Checked - Upscaling
Images smaller than device resolution will be resized. Aspect ratio will be preserved.

")) self.UpscaleBox.setText(_translate("KCC", "Stretch/Upscale")) - self.WebtoonBox.setToolTip(_translate("KCC", "

Enable auto-splitting of webtoons like Tower of God or Noblesse.
This mode was created for pages with a low width, high height and vertical panel flow.


")) + self.WebtoonBox.setToolTip(_translate("KCC", "

Enable special parsing mode for WebToons.

")) self.WebtoonBox.setText(_translate("KCC", "Webtoon mode")) self.NoDitheringBox.setToolTip(_translate("KCC", "

Create PNG files instead JPEG.
Quality increase is not noticeable on most of devices.
Output files might be smaller.
MOBI conversion will be much slower.

")) self.NoDitheringBox.setText(_translate("KCC", "PNG output")) self.BorderBox.setToolTip(_translate("KCC", "

Unchecked - Autodetection
Color of margins fill will be detected automatically.

Indeterminate - White
Margins will be filled with white color.

Checked - Black
Margins will be filled with black color.

")) self.BorderBox.setText(_translate("KCC", "W/B margins")) - self.NoRotateBox.setToolTip(_translate("KCC", "

Disable splitting and rotation.

")) + self.NoRotateBox.setToolTip(_translate("KCC", "

Disable page splitting and rotation.

")) self.NoRotateBox.setText(_translate("KCC", "No split/rotate")) self.DeviceBox.setToolTip(_translate("KCC", "

Target device.

")) - self.FormatBox.setToolTip(_translate("KCC", "

Output format.

")) - self.ConvertButton.setToolTip(_translate("KCC", "

Shift+Click to select the output directory.

")) + self.FormatBox.setToolTip(_translate("KCC", "

Output format.

")) + self.ConvertButton.setToolTip(_translate("KCC", "

Shift+Click to select the output directory.

")) self.ConvertButton.setText(_translate("KCC", "Convert")) + self.DirectoryButton.setToolTip(_translate("KCC", "

Add directory containing JPG, PNG or GIF files to queue.
CBR, CBZ and CB7 files inside will not be processed!

")) self.DirectoryButton.setText(_translate("KCC", "Add directory")) + self.FileButton.setToolTip(_translate("KCC", "

Add CBR, CBZ, CB7 or PDF file to queue.

")) self.FileButton.setText(_translate("KCC", "Add file")) self.ClearButton.setText(_translate("KCC", "Clear list")) self.MangaBox.setToolTip(_translate("KCC", "

Enable right-to-left reading.

")) self.MangaBox.setText(_translate("KCC", "Manga mode")) - self.QualityBox.setToolTip(_translate("KCC", "

Unchecked - Normal quality mode
Maximal quality of images but very poor magnification quality.
Use it only when zoom is not needed or output files needs to be small.

Indeterminate - High quality mode
In most cases high quality of images and magnification.
Overall quality highly depends on the resolution of source files.
On Kindle models older than Paperwhite non-zoomed images might be a little blurred.

Checked - Ultra quality mode
Highest possible quality. Output files will be big.

")) + self.QualityBox.setToolTip(_translate("KCC", "

Quality of Panel View/zoom. Highly impact size of output file.
This option control only quality of magnification!

")) self.QualityBox.setText(_translate("KCC", "High/Ultra quality")) self.RotateBox.setToolTip(_translate("KCC", "

Disable splitting of two-page spreads.
They will be rotated instead.

")) self.RotateBox.setText(_translate("KCC", "Horizontal mode"))