From fff7eeca2bc663933c5922f12d539e441fb7c35d Mon Sep 17 00:00:00 2001 From: Paweł Jastrzębski Date: Tue, 27 Oct 2015 17:46:35 +0100 Subject: GUI overhaul --- gui/KCC.qrc | 1 + gui/KCC.ui | 666 +++++++++++++++++++++++++++--------------------------------- 2 files changed, 302 insertions(+), 365 deletions(-) (limited to 'gui') diff --git a/gui/KCC.qrc b/gui/KCC.qrc index 4c6d04d..3193604 100644 --- a/gui/KCC.qrc +++ b/gui/KCC.qrc @@ -18,6 +18,7 @@ ../icons/warning.png + ../icons/wiki.png ../icons/editor.png ../icons/list_background.png ../icons/clear.png diff --git a/gui/KCC.ui b/gui/KCC.ui index 67153f9..11321ff 100644 --- a/gui/KCC.ui +++ b/gui/KCC.ui @@ -7,19 +7,19 @@ 0 0 420 - 397 + 390 420 - 397 + 390 420 - 397 + 390 @@ -38,113 +38,6 @@ - - - true - - - - 10 - 254 - 421 - 61 - - - - - 9 - - - - - 9 - - - - - Qt::NoFocus - - - <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 - - - - - - - Qt::NoFocus - - - <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 - - - true - - - - - - - Qt::NoFocus - - - <html><head/><body><p style='white-space:pre'>Enable special parsing mode for WebToons.</p></body></html> - - - Webtoon mode - - - - - - - Qt::NoFocus - - - <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 - - - - - - - Qt::NoFocus - - - <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 - - - true - - - - - - - Qt::NoFocus - - - <html><head/><body><p style='white-space:pre'>Disable page splitting and rotation.</p></body></html> - - - No split/rotate - - - - - @@ -298,13 +191,13 @@ :/Other/icons/clear.png:/Other/icons/clear.png - + 10 - 230 - 421 - 41 + 237 + 401 + 70 @@ -312,69 +205,152 @@ 9 - - - - 9 - 10 - 130 - 18 - - - - Qt::NoFocus - - - <html><head/><body><p style='white-space:pre'>Enable right-to-left reading.</p></body></html> - - - Manga mode - - - - - - 282 - 10 - 130 - 18 - - - - Qt::NoFocus - - - <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 + + + 0 - - true + + 0 - - - - - 145 - 10 - 130 - 18 - + + 0 - - Qt::NoFocus + + 0 - - <html><head/><body><p style='white-space:pre'>Disable splitting of two-page spreads.<br/>They will be rotated instead.</p></body></html> + + 40 - - Horizontal mode + + 5 - - RotateBox - MangaBox - QualityBox + + + + Qt::NoFocus + + + <html><head/><body><p style='white-space:pre'>Enable right-to-left reading.</p></body></html> + + + Manga mode + + + + + + + Qt::NoFocus + + + <html><head/><body><p><span style=" font-weight:600; text-decoration: underline;">Unchecked - Split<br/></span>Double page spreads will be cut into two separate pages.</p><p><span style=" font-weight:600; text-decoration: underline;">Indeterminate - Rotate and split<br/></span>Double page spreads will be displayed twice. First rotated and then split. </p><p><span style=" font-weight:600; text-decoration: underline;">Checked - Rotate<br/></span>Double page spreads will be rotated.</p></body></html> + + + Spread splitter + + + true + + + + + + + Qt::NoFocus + + + <html><head/><body><p style='white-space:pre'>High quality Panel View.<br/>Require source files with bigger resolution than target device.<br/><span style=" font-weight:600;">Highly impact size of output file!</span></p></body></html> + + + HQ zoom + + + + + + + Qt::NoFocus + + + <html><head/><body><p style='white-space:pre'>Disable automatic gamma correction.</p></body></html> + + + Custom gamma + + + + + + + Qt::NoFocus + + + <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 + + + + + + + Qt::NoFocus + + + <html><head/><body><p style='white-space:pre'>Disable conversion to grayscale.</p></body></html> + + + Color mode + + + + + + + Qt::NoFocus + + + <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 + + + true + + + + + + + Qt::NoFocus + + + <html><head/><body><p style='white-space:pre'>Enable special parsing mode for Korean Webtoons.</p></body></html> + + + Webtoon mode + + + + + + + Qt::NoFocus + + + <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 + + + true + + + + @@ -404,49 +380,7 @@ QAbstractItemView::ScrollPerPixel - - - - 10 - 10 - 141 - 32 - - - - - 9 - - - - Qt::NoFocus - - - Basic - - - - - - 261 - 10 - 151 - 32 - - - - - 9 - - - - Qt::NoFocus - - - Advanced - - - + true @@ -455,7 +389,7 @@ 10 305 401 - 41 + 35 @@ -463,41 +397,46 @@ 9 - - - - 15 - 0 - 100 - 40 - - - - Gamma: Auto - - - - - - 110 - 10 - 270 - 22 - + + + 15 - - Qt::ClickFocus + + 0 - - 500 + + 0 - - 5 + + 0 - - Qt::Horizontal + + 0 - + + + + Gamma: Auto + + + + + + + Qt::ClickFocus + + + 500 + + + 5 + + + Qt::Horizontal + + + + @@ -525,13 +464,13 @@ - + 10 - 337 - 421 - 41 + 340 + 401 + 25 @@ -539,126 +478,100 @@ 9 - - - - 9 - 11 - 130 - 18 - + + + 15 - - Qt::NoFocus + + 0 - - <html><head/><body><p style='white-space:pre'>Don't convert images to grayscale.</p></body></html> + + 0 - - Color mode + + 0 - - - - - 100 - 0 - 295 - 40 - + + 0 - - - - - <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> - - - Custom width: - - - - - - - - 0 - 0 - - - - - 40 - 16777215 - - - - Qt::ClickFocus - - - false - - - <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> - - - 0000 - - - 4 - - - - - - - <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> - - - Custom height: - - - - - - - - 0 - 0 - - - - - 40 - 16777215 - - - - Qt::ClickFocus - - - false - - - <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> - - - 0000 - - - 4 - - - - - + + + + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> + + + Custom width: + + + + + + + + 0 + 0 + + + + Qt::ClickFocus + + + false + + + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> + + + 0000 + + + 4 + + + + + + + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> + + + Custom height: + + + + + + + + 0 + 0 + + + + Qt::ClickFocus + + + false + + + <html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html> + + + 0000 + + + 4 + + + + - 160 + 10 10 - 91 + 200 32 @@ -678,20 +591,43 @@ :/Other/icons/editor.png:/Other/icons/editor.png - OptionsAdvanced + + + + 211 + 10 + 200 + 32 + + + + + 9 + + + + Qt::NoFocus + + + Wiki + + + + :/Other/icons/wiki.png:/Other/icons/wiki.png + + DeviceBox FormatBox ConvertButton DirectoryButton FileButton ClearButton - OptionsBasic + Options JobList - BasicModeButton - AdvModeButton - OptionsAdvancedGamma - OptionsExpert + OptionsGamma + OptionsCustom EditorButton + WikiButton ProgressBar -- cgit 1.4.1