From 25a68ebdea90f2fe96fb4ca81a051aeea470a63e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Tue, 21 Jan 2014 10:57:54 +0100 Subject: [PATCH] Reformated tooltips --- KCC-Linux.ui | 48 ++++++++++++++++++++++++++++--------------- KCC-OSX.ui | 34 +++++++++++++++--------------- KCC.ui | 30 +++++++++++++-------------- kcc/KCC_ui.py | 32 ++++++++++++++--------------- kcc/KCC_ui_linux.py | 50 +++++++++++++++++++++++++++++---------------- kcc/KCC_ui_osx.py | 36 ++++++++++++++++---------------- 6 files changed, 129 insertions(+), 101 deletions(-) diff --git a/KCC-Linux.ui b/KCC-Linux.ui index c69f1ce..078432d 100644 --- a/KCC-Linux.ui +++ b/KCC-Linux.ui @@ -71,7 +71,7 @@ Qt::NoFocus - <html><head/><body><p>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/>Input images must be already resized.</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/>Pages with a low width, high height and vertical panel flow.</p></body></html> + <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/>Pages with a low width, high height and vertical panel flow.</p></body></html> Webtoon mode @@ -128,7 +128,7 @@ Qt::NoFocus - <html><head/><body><p>Create PNG files instead JPEG.<br/>Quality increase is not noticeable on most of devices.<br/>Output files <span style=" font-weight:600;">might</span> be smaller.<br/><span style=" font-weight:600;">MOBI conversion will be much slower.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Create PNG files instead JPEG.<br/>Quality increase is not noticeable on most of devices.<br/>Output files <span style=" font-weight:600;">might</span> be smaller.<br/><span style=" font-weight:600;">MOBI conversion will be much slower.</span></p></body></html> PNG output @@ -167,7 +167,7 @@ Qt::NoFocus - <html><head/><body><p>Disable splitting and rotation.</p></body></html> + <html><head/><body><p style='white-space:pre'>Disable splitting and rotation.</p></body></html> No split/rotate @@ -195,7 +195,7 @@ Qt::NoFocus - Target device. + <html><head/><body><p style='white-space:pre'>Target device.</p></body></html> @@ -217,7 +217,7 @@ Qt::NoFocus - Output format. + <html><head/><body><p style='white-space:pre'>Output format.</p></body></html> @@ -241,7 +241,7 @@ Qt::NoFocus - <html><head/><body><p>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 @@ -362,7 +362,7 @@ Qt::NoFocus - Enable right-to-left reading. + <html><head/><body><p style='white-space:pre'>Enable right-to-left reading.</p></body></html> Manga mode @@ -390,9 +390,23 @@ <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-weight:600; text-decoration: underline;">Unchecked - Normal quality mode<br /></span><span style=" font-family:'MS Shell Dlg 2'; font-style:italic;">Use it when Panel View support is not needed.</span><span style=" font-family:'MS Shell Dlg 2'; font-weight:600; text-decoration: underline;"><br /></span><span style=" font-family:'MS Shell Dlg 2';">- Maximum quality when zoom is not enabled.<br />- Poor quality when zoom is enabled.<br />- Lowest file size.</span></p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-weight:600; text-decoration: underline;">Indeterminate - High quality mode<br /></span><span style=" font-family:'MS Shell Dlg 2'; font-style:italic;">Not zoomed image </span><span style=" font-family:'MS Shell Dlg 2'; font-weight:600; font-style:italic;">might </span><span style=" font-family:'MS Shell Dlg 2'; font-style:italic;">be a little blurry.<br /></span><span style=" font-family:'MS Shell Dlg 2'; font-style:italic;">Smaller images might be forcefully upscaled in this mode.</span><span style=" font-family:'MS Shell Dlg 2'; font-weight:600; text-decoration: underline;"><br /></span><span style=" font-family:'MS Shell Dlg 2';">- Medium/High quality when zoom is not enabled.<br />- Maximum quality when zoom is enabled.</span></p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-weight:600; text-decoration: underline;">Checked - Ultra quality mode<br /></span><span style=" font-family:'MS Shell Dlg 2'; font-style:italic;">Maximum possible quality.</span><span style=" font-family:'MS Shell Dlg 2'; font-weight:600; text-decoration: underline;"><br /></span><span style=" font-family:'MS Shell Dlg 2';">- Maximum quality when zoom is not enabled.<br />- Maximum quality when zoom is enabled.<br />- Very high file size.</span></p></body></html> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; text-decoration: underline;">Unchecked - Normal quality mode</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Use it when Panel View support is not needed.</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Maximum quality when zoom is not enabled.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Poor quality when zoom is enabled.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Lowest file size.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; text-decoration: underline;">Indeterminate - High quality mode</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Not zoomed image might be a little blurry.</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Smaller images might be forcefully upscaled in this mode.</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Medium/High quality when zoom is not enabled.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Maximum quality when zoom is enabled.</p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; text-decoration: underline;">Checked - Ultra quality mode</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Maximum possible quality.</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Maximum quality when zoom is not enabled.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Maximum quality when zoom is enabled.</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Very high file size.</p></body></html> High/Ultra quality @@ -419,7 +433,7 @@ p, li { white-space: pre-wrap; } Qt::NoFocus - <html><head/><body><p>Disable splitting of two-page spreads.<br/>They will be rotated instead.</p></body></html> + <html><head/><body><p style='white-space:pre'>Disable splitting of two-page spreads.<br/>They will be rotated instead.</p></body></html> Horizontal mode @@ -638,7 +652,7 @@ p, li { white-space: pre-wrap; } Qt::NoFocus - <html><head/><body><p>Don't convert images to grayscale.</p></body></html> + <html><head/><body><p style='white-space:pre'>Don't convert images to grayscale.</p></body></html> Color mode @@ -667,7 +681,7 @@ p, li { white-space: pre-wrap; } - Resolution of target device. + <html><head/><body><p>Resolution of target device.</p></body></html> Custom width: @@ -700,7 +714,7 @@ p, li { white-space: pre-wrap; } false - Resolution of target device. + <html><head/><body><p>Resolution of target device.</p></body></html> 0000 @@ -718,7 +732,7 @@ p, li { white-space: pre-wrap; } - Resolution of target device. + <html><head/><body><p>Resolution of target device.</p></body></html> Custom height: @@ -751,7 +765,7 @@ p, li { white-space: pre-wrap; } false - Resolution of target device. + <html><head/><body><p>Resolution of target device.</p></body></html> 0000 diff --git a/KCC-OSX.ui b/KCC-OSX.ui index 38365a5..3360839 100644 --- a/KCC-OSX.ui +++ b/KCC-OSX.ui @@ -69,7 +69,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt;">Disable image optimizations.<br/>Input images must be already resized.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Disable image optimizations.<br/>Input images must be already resized.</p></body></html> No optimisation @@ -88,7 +88,7 @@ Qt::NoFocus - <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> + <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> Stretch/Upscale @@ -110,7 +110,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt;">Enable auto-splitting of webtoons like </span><span style=" font-size:12pt; font-style:italic;">Tower of God</span><span style=" font-size:12pt;"> or </span><span style=" font-size:12pt; font-style:italic;">Noblesse</span><span style=" font-size:12pt;">.<br/>Pages with a low width, high height and vertical panel flow.</span></p></body></html> + <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/>Pages with a low width, high height and vertical panel flow.</p></body></html> Webtoon mode @@ -129,7 +129,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt;">Create PNG files instead JPEG.<br/>Quality increase is not noticeable on most of devices.<br/>Output files </span><span style=" font-size:12pt; font-weight:600;">might</span><span style=" font-size:12pt;"> be smaller.<br/></span><span style=" font-size:12pt; font-weight:600;">MOBI conversion will be much slower.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Create PNG files instead JPEG.<br/>Quality increase is not noticeable on most of devices.<br/>Output files <span style=" font-weight:600;">might</span> be smaller.<br/><span style=" font-weight:600;">MOBI conversion will be much slower.</span></p></body></html> PNG output @@ -148,7 +148,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt; font-weight:600; text-decoration: underline;">Unchecked - Autodetection<br/></span><span style=" font-size:12pt;">Color of margins fill will be detected automatically.</span></p><p><span style=" font-size:12pt; font-weight:600; text-decoration: underline;">Indeterminate - White<br/></span><span style=" font-size:12pt;">Margins will be filled with white color.</span></p><p><span style=" font-size:12pt; font-weight:600; text-decoration: underline;">Checked - Black<br/></span><span style=" font-size:12pt;">Margins will be filled with black color.</span></p></body></html> + <html><head/><body><p><span style=" font-weight:600; text-decoration: underline;">Unchecked - Autodetection<br/></span>Color of margins fill will be detected automatically.</p><p><span style=" font-weight:600; text-decoration: underline;">Indeterminate - White<br/></span>Margins will be filled with white color.</p><p><span style=" font-weight:600; text-decoration: underline;">Checked - Black<br/></span>Margins will be filled with black color.</p></body></html> W/B margins @@ -170,7 +170,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt;">Disable splitting and rotation.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Disable splitting and rotation.</p></body></html> No split/rotate @@ -198,7 +198,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt;">Target device.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Target device.</p></body></html> @@ -220,7 +220,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt;">Output format.</span></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><span style=" font-size:12pt;">Shift+Click to select the output directory.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory.</p></body></html> Convert @@ -366,7 +366,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt;">Enable right-to-left reading.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Enable right-to-left reading.</p></body></html> Manga mode @@ -391,7 +391,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt; font-weight:600; text-decoration: underline;">Unchecked - Normal quality mode<br/></span><span style=" font-size:12pt; font-style:italic;">Use it when Panel View support is not needed.</span><span style=" font-size:12pt; font-weight:600; text-decoration: underline;"><br/></span><span style=" font-size:12pt;">- Maximum quality when zoom is not enabled.<br/>- Poor quality when zoom is enabled.<br/>- Lowest file size.</span></p><p><span style=" font-size:12pt; font-weight:600; text-decoration: underline;">Indeterminate - High quality mode<br/></span><span style=" font-size:12pt; font-style:italic;">Not zoomed image </span><span style=" font-size:12pt; font-weight:600; font-style:italic;">might </span><span style=" font-size:12pt; font-style:italic;">be a little blurry.<br/>Smaller images might be forcefully upscaled in this mode.</span><span style=" font-size:12pt; font-weight:600; text-decoration: underline;"><br/></span><span style=" font-size:12pt;">- Medium/High quality when zoom is not enabled.<br/>- Maximum quality when zoom is enabled.</span></p><p><span style=" font-size:12pt; font-weight:600; text-decoration: underline;">Checked - Ultra quality mode<br/></span><span style=" font-size:12pt; font-style:italic;">Maximum possible quality.</span><span style=" font-size:12pt; font-weight:600; text-decoration: underline;"><br/></span><span style=" font-size:12pt;">- Maximum quality when zoom is not enabled.<br/>- Maximum quality when zoom is enabled.<br/>- Very high file size.</span></p></body></html> + <html><head/><body><p><span style=" font-weight:600; text-decoration: underline;">Unchecked - Normal quality mode<br/></span><span style=" font-style:italic;">Use it when Panel View support is not needed.<br/></span>- Maximum quality when zoom is not enabled.<br/>- Poor quality when zoom is enabled.<br/>- Lowest file size.</p><p><span style=" font-weight:600; text-decoration: underline;">Indeterminate - High quality mode<br/></span><span style=" font-style:italic;">Not zoomed image might be a little blurry.<br/>Smaller images might be forcefully upscaled in this mode.<br/></span>- Medium/High quality when zoom is not enabled.<br/>- Maximum quality when zoom is enabled.</p><p><span style=" font-weight:600; text-decoration: underline;">Checked - Ultra quality mode<br/></span><span style=" font-style:italic;">Maximum possible quality.<br/></span>- Maximum quality when zoom is not enabled.<br/>- Maximum quality when zoom is enabled.<br/>- Very high file size.</p></body></html> High/Ultra quality @@ -419,7 +419,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt;">Disable splitting of two-page spreads.<br/>They will be rotated instead.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Disable splitting of two-page spreads.<br/>They will be rotated instead.</p></body></html> Horizontal mode @@ -639,7 +639,7 @@ Qt::NoFocus - <html><head/><body><p><span style=" font-size:12pt;">Don't convert images to grayscale.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Don't convert images to grayscale.</p></body></html> Color mode @@ -671,7 +671,7 @@ - <html><head/><body><p><span style=" font-size:12pt;">Resolution of target device.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> Custom width: @@ -705,7 +705,7 @@ false - <html><head/><body><p><span style=" font-size:12pt;">Resolution of target device.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> 0000 @@ -726,7 +726,7 @@ - <html><head/><body><p><span style=" font-size:12pt;">Resolution of target device.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> Custom height: @@ -760,7 +760,7 @@ false - <html><head/><body><p><span style=" font-size:12pt;">Resolution of target device.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> 0000 diff --git a/KCC.ui b/KCC.ui index d062fec..f91dabe 100644 --- a/KCC.ui +++ b/KCC.ui @@ -65,7 +65,7 @@ Qt::NoFocus - <html><head/><body><p>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/>Input images must be already resized.</p></body></html> No optimisation @@ -94,7 +94,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/>Pages with a low width, high height and vertical panel flow.</p></body></html> + <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/>Pages with a low width, high height and vertical panel flow.</p></body></html> Webtoon mode @@ -107,7 +107,7 @@ Qt::NoFocus - <html><head/><body><p>Create PNG files instead JPEG.<br/>Quality increase is not noticeable on most of devices.<br/>Output files <span style=" font-weight:600;">might</span> be smaller.<br/><span style=" font-weight:600;">MOBI conversion will be much slower.</span></p></body></html> + <html><head/><body><p style='white-space:pre'>Create PNG files instead JPEG.<br/>Quality increase is not noticeable on most of devices.<br/>Output files <span style=" font-weight:600;">might</span> be smaller.<br/><span style=" font-weight:600;">MOBI conversion will be much slower.</span></p></body></html> PNG output @@ -136,7 +136,7 @@ Qt::NoFocus - <html><head/><body><p>Disable splitting and rotation.</p></body></html> + <html><head/><body><p style='white-space:pre'>Disable splitting and rotation.</p></body></html> No split/rotate @@ -163,7 +163,7 @@ Qt::NoFocus - Target device. + <html><head/><body><p style='white-space:pre'>Target device.</p></body></html> @@ -184,7 +184,7 @@ Qt::NoFocus - Output format. + <html><head/><body><p style='white-space:pre'>Output format.</p></body></html> @@ -207,7 +207,7 @@ Qt::NoFocus - <html><head/><body><p>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 @@ -319,7 +319,7 @@ Qt::NoFocus - Enable right-to-left reading. + <html><head/><body><p style='white-space:pre'>Enable right-to-left reading.</p></body></html> Manga mode @@ -341,7 +341,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:400; font-style:normal;"> +</style></head><body> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; text-decoration: underline;">Unchecked - Normal quality mode<br /></span><span style=" font-style:italic;">Use it when Panel View support is not needed.</span><span style=" font-weight:600; text-decoration: underline;"><br /></span>- Maximum quality when zoom is not enabled.<br />- Poor quality when zoom is enabled.<br />- Lowest file size.</p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; text-decoration: underline;">Indeterminate - High quality mode<br /></span><span style=" font-style:italic;">Not zoomed image </span><span style=" font-weight:600; font-style:italic;">might </span><span style=" font-style:italic;">be a little blurry.<br />Smaller images might be forcefully upscaled in this mode.</span><span style=" font-weight:600; text-decoration: underline;"><br /></span>- Medium/High quality when zoom is not enabled.<br />- Maximum quality when zoom is enabled.</p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; text-decoration: underline;">Checked - Ultra quality mode<br /></span><span style=" font-style:italic;">Maximum possible quality.</span><span style=" font-weight:600; text-decoration: underline;"><br /></span>- Maximum quality when zoom is not enabled.<br />- Maximum quality when zoom is enabled.<br />- Very high file size.</p></body></html> @@ -366,7 +366,7 @@ p, li { white-space: pre-wrap; } Qt::NoFocus - <html><head/><body><p>Disable splitting of two-page spreads.<br/>They will be rotated instead.</p></body></html> + <html><head/><body><p style='white-space:pre'>Disable splitting of two-page spreads.<br/>They will be rotated instead.</p></body></html> Horizontal mode @@ -552,7 +552,7 @@ p, li { white-space: pre-wrap; } Qt::NoFocus - <html><head/><body><p>Don't convert images to grayscale.</p></body></html> + <html><head/><body><p style='white-space:pre'>Don't convert images to grayscale.</p></body></html> Color mode @@ -571,7 +571,7 @@ p, li { white-space: pre-wrap; } - Resolution of target device. + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> Custom width: @@ -599,7 +599,7 @@ p, li { white-space: pre-wrap; } false - Resolution of target device. + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> 0000 @@ -612,7 +612,7 @@ p, li { white-space: pre-wrap; } - Resolution of target device. + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> Custom height: @@ -640,7 +640,7 @@ p, li { white-space: pre-wrap; } false - Resolution of target device. + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> 0000 diff --git a/kcc/KCC_ui.py b/kcc/KCC_ui.py index 8d28591..eb6b9f3 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: Mon Jan 20 22:02:01 2014 +# Created: Tue Jan 21 10:54:31 2014 # by: PyQt5 UI code generator 5.2 # # WARNING! All changes made in this file will be lost! @@ -260,49 +260,49 @@ 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.
Pages with a low width, high height and vertical panel flow.

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

Enable auto-splitting of webtoons like Tower of God or Noblesse.
Pages with a low width, high height and vertical panel flow.

")) 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.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 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.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.setText(_translate("KCC", "Add directory")) 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.setToolTip(_translate("KCC", "

Enable right-to-left reading.

")) self.MangaBox.setText(_translate("KCC", "Manga mode")) self.QualityBox.setToolTip(_translate("KCC", "\n" "\n" +"\n" "

Unchecked - Normal quality mode
Use it when Panel View support is not needed.
- Maximum quality when zoom is not enabled.
- Poor quality when zoom is enabled.
- Lowest file size.

\n" "

Indeterminate - High quality mode
Not zoomed image might be a little blurry.
Smaller images might be forcefully upscaled in this mode.

- Medium/High quality when zoom is not enabled.
- Maximum quality when zoom is enabled.

\n" "

Checked - Ultra quality mode
Maximum possible quality.
- Maximum quality when zoom is not enabled.
- Maximum quality when zoom is enabled.
- Very high file size.

")) 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.setToolTip(_translate("KCC", "

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

")) self.RotateBox.setText(_translate("KCC", "Horizontal mode")) self.BasicModeButton.setText(_translate("KCC", "Basic")) self.AdvModeButton.setText(_translate("KCC", "Advanced")) self.GammaLabel.setText(_translate("KCC", "Gamma: Auto")) - self.ColorBox.setToolTip(_translate("KCC", "

Don\'t convert images to grayscale.

")) + 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_linux.py b/kcc/KCC_ui_linux.py index 25592d8..1f36255 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: Mon Jan 20 22:02:12 2014 +# Created: Tue Jan 21 10:54:38 2014 # by: PyQt5 UI code generator 5.2 # # WARNING! All changes made in this file will be lost! @@ -329,49 +329,63 @@ 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.
Pages with a low width, high height and vertical panel flow.

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

Enable auto-splitting of webtoons like Tower of God or Noblesse.
Pages with a low width, high height and vertical panel flow.

")) 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.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 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.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.setText(_translate("KCC", "Add directory")) 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.setToolTip(_translate("KCC", "

Enable right-to-left reading.

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

Unchecked - Normal quality mode
Use it when Panel View support is not needed.
- Maximum quality when zoom is not enabled.
- Poor quality when zoom is enabled.
- Lowest file size.

\n" -"

Indeterminate - High quality mode
Not zoomed image might be a little blurry.
Smaller images might be forcefully upscaled in this mode.
- Medium/High quality when zoom is not enabled.
- Maximum quality when zoom is enabled.

\n" -"

Checked - Ultra quality mode
Maximum possible quality.
- Maximum quality when zoom is not enabled.
- Maximum quality when zoom is enabled.
- Very high file size.

")) +"

Unchecked - Normal quality mode

\n" +"

Use it when Panel View support is not needed.

\n" +"

- Maximum quality when zoom is not enabled.

\n" +"

- Poor quality when zoom is enabled.

\n" +"

- Lowest file size.

\n" +"


\n" +"

Indeterminate - High quality mode

\n" +"

Not zoomed image might be a little blurry.

\n" +"

Smaller images might be forcefully upscaled in this mode.

\n" +"

- Medium/High quality when zoom is not enabled.

\n" +"

- Maximum quality when zoom is enabled.

\n" +"


\n" +"

Checked - Ultra quality mode

\n" +"

Maximum possible quality.

\n" +"

- Maximum quality when zoom is not enabled.

\n" +"

- Maximum quality when zoom is enabled.

\n" +"

- Very high file size.

")) 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.setToolTip(_translate("KCC", "

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

")) self.RotateBox.setText(_translate("KCC", "Horizontal mode")) self.BasicModeButton.setText(_translate("KCC", "Basic")) self.AdvModeButton.setText(_translate("KCC", "Advanced")) self.GammaLabel.setText(_translate("KCC", "Gamma: Auto")) - self.ColorBox.setToolTip(_translate("KCC", "

Don\'t convert images to grayscale.

")) + 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 aea2ae6..12ed497 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: Mon Jan 20 22:02:21 2014 +# Created: Tue Jan 21 10:56:30 2014 # by: PyQt5 UI code generator 5.2 # # WARNING! All changes made in this file will be lost! @@ -352,43 +352,43 @@ 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.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.
Pages with a low width, high height and vertical panel flow.

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

Enable auto-splitting of webtoons like Tower of God or Noblesse.
Pages with a low width, high height and vertical panel flow.

")) 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.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.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 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.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.setText(_translate("KCC", "Add directory")) 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.setToolTip(_translate("KCC", "

Enable right-to-left reading.

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

Unchecked - Normal quality mode
Use it when Panel View support is not needed.
- Maximum quality when zoom is not enabled.
- Poor quality when zoom is enabled.
- Lowest file size.

Indeterminate - High quality mode
Not zoomed image might be a little blurry.
Smaller images might be forcefully upscaled in this mode.

- Medium/High quality when zoom is not enabled.
- Maximum quality when zoom is enabled.

Checked - Ultra quality mode
Maximum possible quality.
- Maximum quality when zoom is not enabled.
- Maximum quality when zoom is enabled.
- Very high file size.

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

Unchecked - Normal quality mode
Use it when Panel View support is not needed.
- Maximum quality when zoom is not enabled.
- Poor quality when zoom is enabled.
- Lowest file size.

Indeterminate - High quality mode
Not zoomed image might be a little blurry.
Smaller images might be forcefully upscaled in this mode.
- Medium/High quality when zoom is not enabled.
- Maximum quality when zoom is enabled.

Checked - Ultra quality mode
Maximum possible quality.
- Maximum quality when zoom is not enabled.
- Maximum quality when zoom is enabled.
- Very high file size.

")) 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.setToolTip(_translate("KCC", "

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

")) self.RotateBox.setText(_translate("KCC", "Horizontal mode")) self.BasicModeButton.setText(_translate("KCC", "Basic")) self.AdvModeButton.setText(_translate("KCC", "Advanced")) self.GammaLabel.setText(_translate("KCC", "Gamma: Auto")) - self.ColorBox.setToolTip(_translate("KCC", "

Don\'t convert images to grayscale.

")) + 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"))