diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2016-02-24 18:24:05 +0100 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2016-02-24 18:24:05 +0100 |
commit | 9b2518239381e6e54d9783eae800d56f6d7fc12d (patch) | |
tree | 802870aa104e0fbe41510a470db9afc8912afb31 /gui | |
parent | Replaced own error reporting mechanism with Sentry (diff) | |
download | kcc-9b2518239381e6e54d9783eae800d56f6d7fc12d.tar.gz kcc-9b2518239381e6e54d9783eae800d56f6d7fc12d.tar.bz2 kcc-9b2518239381e6e54d9783eae800d56f6d7fc12d.zip |
GUI overhaul
Diffstat (limited to 'gui')
-rw-r--r-- | gui/KCC-Linux.ui | 676 | ||||
-rw-r--r-- | gui/KCC-OSX.ui | 689 | ||||
-rw-r--r-- | gui/KCC.ui | 1083 | ||||
-rw-r--r-- | gui/MetaEditor-Linux.ui | 225 | ||||
-rw-r--r-- | gui/MetaEditor-OSX.ui | 226 | ||||
-rw-r--r-- | gui/MetaEditor.ui | 342 |
6 files changed, 595 insertions, 2646 deletions
diff --git a/gui/KCC-Linux.ui b/gui/KCC-Linux.ui deleted file mode 100644 index 8a41236..0000000 --- a/gui/KCC-Linux.ui +++ /dev/null @@ -1,676 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>KCC</class> - <widget class="QMainWindow" name="KCC"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>420</width> - <height>390</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>420</width> - <height>390</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>420</width> - <height>390</height> - </size> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <property name="windowTitle"> - <string>Kindle Comic Converter</string> - </property> - <property name="windowIcon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Icon/icons/comic2ebook.png</normaloff>:/Icon/icons/comic2ebook.png</iconset> - </property> - <property name="locale"> - <locale language="C" country="AnyCountry"/> - </property> - <widget class="QWidget" name="Form"> - <widget class="QComboBox" name="DeviceBox"> - <property name="geometry"> - <rect> - <x>10</x> - <y>200</y> - <width>141</width> - <height>31</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Target device.</p></body></html></string> - </property> - </widget> - <widget class="QComboBox" name="FormatBox"> - <property name="geometry"> - <rect> - <x>260</x> - <y>200</y> - <width>151</width> - <height>31</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Output format.</p></body></html></string> - </property> - </widget> - <widget class="QPushButton" name="ConvertButton"> - <property name="geometry"> - <rect> - <x>160</x> - <y>200</y> - <width>91</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory.</p></body></html></string> - </property> - <property name="text"> - <string>Convert</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/convert.png</normaloff>:/Other/icons/convert.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="DirectoryButton"> - <property name="geometry"> - <rect> - <x>10</x> - <y>160</y> - <width>141</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>Add directory</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/folder_new.png</normaloff>:/Other/icons/folder_new.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="FileButton"> - <property name="geometry"> - <rect> - <x>260</x> - <y>160</y> - <width>151</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Add CBR, CBZ, CB7 or PDF file to queue.</p></body></html></string> - </property> - <property name="text"> - <string>Add file</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/document_new.png</normaloff>:/Other/icons/document_new.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="ClearButton"> - <property name="geometry"> - <rect> - <x>160</x> - <y>160</y> - <width>91</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="text"> - <string>Clear list</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/clear.png</normaloff>:/Other/icons/clear.png</iconset> - </property> - </widget> - <widget class="QFrame" name="Options"> - <property name="geometry"> - <rect> - <x>10</x> - <y>237</y> - <width>401</width> - <height>70</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <property name="horizontalSpacing"> - <number>25</number> - </property> - <property name="verticalSpacing"> - <number>4</number> - </property> - <item row="2" column="0"> - <widget class="QCheckBox" name="MangaBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Enable right-to-left reading.</p></body></html></string> - </property> - <property name="text"> - <string>Manga mode</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="RotateBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>Spread splitter</string> - </property> - <property name="tristate"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="2" column="2"> - <widget class="QCheckBox" name="QualityBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>HQ zoom</string> - </property> - </widget> - </item> - <item row="4" column="2"> - <widget class="QCheckBox" name="GammaBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Disable automatic gamma correction.</p></body></html></string> - </property> - <property name="text"> - <string>Custom gamma</string> - </property> - </widget> - </item> - <item row="5" column="1"> - <widget class="QCheckBox" name="NoDitheringBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>PNG output</string> - </property> - </widget> - </item> - <item row="5" column="2"> - <widget class="QCheckBox" name="ColorBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Disable conversion to grayscale.</p></body></html></string> - </property> - <property name="text"> - <string>Color mode</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QCheckBox" name="UpscaleBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>Stretch/Upscale</string> - </property> - <property name="tristate"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QCheckBox" name="WebtoonBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Enable special parsing mode for Korean Webtoons.</p></body></html></string> - </property> - <property name="text"> - <string>Webtoon mode</string> - </property> - </widget> - </item> - <item row="5" column="0"> - <widget class="QCheckBox" name="BorderBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>W/B margins</string> - </property> - <property name="tristate"> - <bool>true</bool> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QListWidget" name="JobList"> - <property name="geometry"> - <rect> - <x>10</x> - <y>50</y> - <width>401</width> - <height>101</height> - </rect> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="styleSheet"> - <string notr="true">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}</string> - </property> - <property name="showDropIndicator" stdset="0"> - <bool>false</bool> - </property> - <property name="selectionMode"> - <enum>QAbstractItemView::NoSelection</enum> - </property> - <property name="iconSize"> - <size> - <width>18</width> - <height>18</height> - </size> - </property> - </widget> - <widget class="QFrame" name="OptionsGamma"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>10</x> - <y>305</y> - <width>401</width> - <height>35</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <property name="spacing"> - <number>15</number> - </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QLabel" name="GammaLabel"> - <property name="text"> - <string>Gamma: Auto</string> - </property> - </widget> - </item> - <item> - <widget class="QSlider" name="GammaSlider"> - <property name="focusPolicy"> - <enum>Qt::ClickFocus</enum> - </property> - <property name="maximum"> - <number>500</number> - </property> - <property name="singleStep"> - <number>5</number> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QProgressBar" name="ProgressBar"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>401</width> - <height>31</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>10</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="value"> - <number>0</number> - </property> - <property name="alignment"> - <set>Qt::AlignJustify|Qt::AlignVCenter</set> - </property> - <property name="format"> - <string/> - </property> - </widget> - <widget class="QFrame" name="OptionsCustom"> - <property name="geometry"> - <rect> - <x>10</x> - <y>336</y> - <width>401</width> - <height>25</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <property name="spacing"> - <number>10</number> - </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QLabel" name="wLabel"> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="text"> - <string>Custom width: </string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="customWidth"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="focusPolicy"> - <enum>Qt::ClickFocus</enum> - </property> - <property name="acceptDrops"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="inputMask"> - <string>0000</string> - </property> - <property name="maxLength"> - <number>4</number> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="hLabel"> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="text"> - <string>Custom height: </string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="customHeight"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="focusPolicy"> - <enum>Qt::ClickFocus</enum> - </property> - <property name="acceptDrops"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="inputMask"> - <string>0000</string> - </property> - <property name="maxLength"> - <number>4</number> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QPushButton" name="EditorButton"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>200</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="text"> - <string>Editor</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/editor.png</normaloff>:/Other/icons/editor.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="WikiButton"> - <property name="geometry"> - <rect> - <x>211</x> - <y>10</y> - <width>200</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="text"> - <string>Wiki</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/wiki.png</normaloff>:/Other/icons/wiki.png</iconset> - </property> - </widget> - <zorder>DeviceBox</zorder> - <zorder>FormatBox</zorder> - <zorder>ConvertButton</zorder> - <zorder>DirectoryButton</zorder> - <zorder>FileButton</zorder> - <zorder>ClearButton</zorder> - <zorder>Options</zorder> - <zorder>JobList</zorder> - <zorder>OptionsGamma</zorder> - <zorder>OptionsCustom</zorder> - <zorder>EditorButton</zorder> - <zorder>WikiButton</zorder> - <zorder>ProgressBar</zorder> - </widget> - <widget class="QStatusBar" name="statusBar"> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="sizeGripEnabled"> - <bool>false</bool> - </property> - </widget> - <action name="ActionBasic"> - <property name="checkable"> - <bool>true</bool> - </property> - <property name="checked"> - <bool>false</bool> - </property> - <property name="text"> - <string>Basic</string> - </property> - <property name="font"> - <font/> - </property> - </action> - <action name="ActionAdvanced"> - <property name="checkable"> - <bool>true</bool> - </property> - <property name="text"> - <string>Advanced</string> - </property> - </action> - </widget> - <tabstops> - <tabstop>DirectoryButton</tabstop> - <tabstop>FileButton</tabstop> - <tabstop>ConvertButton</tabstop> - <tabstop>ClearButton</tabstop> - </tabstops> - <resources> - <include location="KCC.qrc"/> - </resources> - <connections/> -</ui> diff --git a/gui/KCC-OSX.ui b/gui/KCC-OSX.ui deleted file mode 100644 index 797e17b..0000000 --- a/gui/KCC-OSX.ui +++ /dev/null @@ -1,689 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>KCC</class> - <widget class="QMainWindow" name="KCC"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>420</width> - <height>390</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>420</width> - <height>390</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>420</width> - <height>390</height> - </size> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="windowTitle"> - <string>Kindle Comic Converter</string> - </property> - <property name="windowIcon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Icon/icons/comic2ebook.png</normaloff>:/Icon/icons/comic2ebook.png</iconset> - </property> - <property name="locale"> - <locale language="C" country="AnyCountry"/> - </property> - <widget class="QWidget" name="Form"> - <widget class="QComboBox" name="DeviceBox"> - <property name="geometry"> - <rect> - <x>8</x> - <y>204</y> - <width>151</width> - <height>26</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Target device.</p></body></html></string> - </property> - </widget> - <widget class="QComboBox" name="FormatBox"> - <property name="geometry"> - <rect> - <x>264</x> - <y>204</y> - <width>150</width> - <height>26</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Output format.</p></body></html></string> - </property> - </widget> - <widget class="QPushButton" name="ConvertButton"> - <property name="geometry"> - <rect> - <x>159</x> - <y>200</y> - <width>104</width> - <height>41</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory.</p></body></html></string> - </property> - <property name="text"> - <string>Convert</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/convert.png</normaloff>:/Other/icons/convert.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="DirectoryButton"> - <property name="geometry"> - <rect> - <x>4</x> - <y>160</y> - <width>158</width> - <height>41</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>Add directory</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/folder_new.png</normaloff>:/Other/icons/folder_new.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="FileButton"> - <property name="geometry"> - <rect> - <x>260</x> - <y>160</y> - <width>157</width> - <height>41</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Add CBR, CBZ, CB7 or PDF file to queue.</p></body></html></string> - </property> - <property name="text"> - <string>Add file</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/document_new.png</normaloff>:/Other/icons/document_new.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="ClearButton"> - <property name="geometry"> - <rect> - <x>159</x> - <y>160</y> - <width>104</width> - <height>41</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="text"> - <string>Clear list</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/clear.png</normaloff>:/Other/icons/clear.png</iconset> - </property> - </widget> - <widget class="QFrame" name="Options"> - <property name="geometry"> - <rect> - <x>10</x> - <y>237</y> - <width>401</width> - <height>70</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <property name="horizontalSpacing"> - <number>31</number> - </property> - <property name="verticalSpacing"> - <number>5</number> - </property> - <item row="2" column="0"> - <widget class="QCheckBox" name="MangaBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Enable right-to-left reading.</p></body></html></string> - </property> - <property name="text"> - <string>Manga mode</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="RotateBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>Spread splitter</string> - </property> - <property name="tristate"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="2" column="2"> - <widget class="QCheckBox" name="QualityBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>HQ zoom</string> - </property> - </widget> - </item> - <item row="4" column="2"> - <widget class="QCheckBox" name="GammaBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Disable automatic gamma correction.</p></body></html></string> - </property> - <property name="text"> - <string>Custom gamma</string> - </property> - </widget> - </item> - <item row="5" column="1"> - <widget class="QCheckBox" name="NoDitheringBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>PNG output</string> - </property> - </widget> - </item> - <item row="5" column="2"> - <widget class="QCheckBox" name="ColorBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Disable conversion to grayscale.</p></body></html></string> - </property> - <property name="text"> - <string>Color mode</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QCheckBox" name="UpscaleBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>Stretch/Upscale</string> - </property> - <property name="tristate"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QCheckBox" name="WebtoonBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Enable special parsing mode for Korean Webtoons.</p></body></html></string> - </property> - <property name="text"> - <string>Webtoon mode</string> - </property> - </widget> - </item> - <item row="5" column="0"> - <widget class="QCheckBox" name="BorderBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>W/B margins</string> - </property> - <property name="tristate"> - <bool>true</bool> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QListWidget" name="JobList"> - <property name="geometry"> - <rect> - <x>10</x> - <y>50</y> - <width>401</width> - <height>101</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="styleSheet"> - <string notr="true">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}</string> - </property> - <property name="showDropIndicator" stdset="0"> - <bool>false</bool> - </property> - <property name="selectionMode"> - <enum>QAbstractItemView::NoSelection</enum> - </property> - <property name="iconSize"> - <size> - <width>15</width> - <height>15</height> - </size> - </property> - <property name="verticalScrollMode"> - <enum>QAbstractItemView::ScrollPerPixel</enum> - </property> - <property name="horizontalScrollMode"> - <enum>QAbstractItemView::ScrollPerPixel</enum> - </property> - </widget> - <widget class="QFrame" name="OptionsGamma"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>10</x> - <y>305</y> - <width>401</width> - <height>35</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <property name="spacing"> - <number>15</number> - </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QLabel" name="GammaLabel"> - <property name="text"> - <string>Gamma: Auto</string> - </property> - </widget> - </item> - <item> - <widget class="QSlider" name="GammaSlider"> - <property name="focusPolicy"> - <enum>Qt::ClickFocus</enum> - </property> - <property name="maximum"> - <number>500</number> - </property> - <property name="singleStep"> - <number>5</number> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QProgressBar" name="ProgressBar"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>401</width> - <height>31</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="value"> - <number>0</number> - </property> - <property name="alignment"> - <set>Qt::AlignJustify|Qt::AlignVCenter</set> - </property> - <property name="format"> - <string/> - </property> - </widget> - <widget class="QFrame" name="OptionsCustom"> - <property name="geometry"> - <rect> - <x>10</x> - <y>337</y> - <width>401</width> - <height>25</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <property name="spacing"> - <number>5</number> - </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QLabel" name="wLabel"> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="text"> - <string>Custom width: </string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="customWidth"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="focusPolicy"> - <enum>Qt::ClickFocus</enum> - </property> - <property name="acceptDrops"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="inputMask"> - <string>0000</string> - </property> - <property name="maxLength"> - <number>4</number> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="hLabel"> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="text"> - <string>Custom height: </string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="customHeight"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="focusPolicy"> - <enum>Qt::ClickFocus</enum> - </property> - <property name="acceptDrops"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="inputMask"> - <string>0000</string> - </property> - <property name="maxLength"> - <number>4</number> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QPushButton" name="EditorButton"> - <property name="geometry"> - <rect> - <x>4</x> - <y>10</y> - <width>210</width> - <height>41</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="text"> - <string>Editor</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/editor.png</normaloff>:/Other/icons/editor.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="WikiButton"> - <property name="geometry"> - <rect> - <x>207</x> - <y>10</y> - <width>210</width> - <height>41</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="text"> - <string>Wiki</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/wiki.png</normaloff>:/Other/icons/wiki.png</iconset> - </property> - </widget> - <zorder>DeviceBox</zorder> - <zorder>FormatBox</zorder> - <zorder>ConvertButton</zorder> - <zorder>DirectoryButton</zorder> - <zorder>FileButton</zorder> - <zorder>ClearButton</zorder> - <zorder>Options</zorder> - <zorder>JobList</zorder> - <zorder>OptionsGamma</zorder> - <zorder>OptionsCustom</zorder> - <zorder>EditorButton</zorder> - <zorder>WikiButton</zorder> - <zorder>ProgressBar</zorder> - </widget> - <widget class="QStatusBar" name="statusBar"> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - <property name="sizeGripEnabled"> - <bool>false</bool> - </property> - </widget> - <action name="ActionBasic"> - <property name="checkable"> - <bool>true</bool> - </property> - <property name="checked"> - <bool>false</bool> - </property> - <property name="text"> - <string>Basic</string> - </property> - <property name="font"> - <font> - <pointsize>11</pointsize> - </font> - </property> - </action> - <action name="ActionAdvanced"> - <property name="checkable"> - <bool>true</bool> - </property> - <property name="text"> - <string>Advanced</string> - </property> - </action> - </widget> - <tabstops> - <tabstop>DirectoryButton</tabstop> - <tabstop>FileButton</tabstop> - <tabstop>ConvertButton</tabstop> - <tabstop>ClearButton</tabstop> - </tabstops> - <resources> - <include location="KCC.qrc"/> - </resources> - <connections/> -</ui> diff --git a/gui/KCC.ui b/gui/KCC.ui index 11321ff..7359c79 100644 --- a/gui/KCC.ui +++ b/gui/KCC.ui @@ -1,32 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> - <class>KCC</class> - <widget class="QMainWindow" name="KCC"> + <class>mainWindow</class> + <widget class="QMainWindow" name="mainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> - <width>420</width> - <height>390</height> + <width>450</width> + <height>450</height> </rect> </property> - <property name="minimumSize"> - <size> - <width>420</width> - <height>390</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>420</width> - <height>390</height> - </size> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> <property name="windowTitle"> <string>Kindle Comic Converter</string> </property> @@ -34,644 +17,440 @@ <iconset resource="KCC.qrc"> <normaloff>:/Icon/icons/comic2ebook.png</normaloff>:/Icon/icons/comic2ebook.png</iconset> </property> - <property name="locale"> - <locale language="C" country="AnyCountry"/> - </property> - <widget class="QWidget" name="Form"> - <widget class="QComboBox" name="DeviceBox"> - <property name="geometry"> - <rect> - <x>10</x> - <y>200</y> - <width>141</width> - <height>31</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Target device.</p></body></html></string> - </property> - </widget> - <widget class="QComboBox" name="FormatBox"> - <property name="geometry"> - <rect> - <x>260</x> - <y>200</y> - <width>151</width> - <height>31</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Output format.</p></body></html></string> - </property> - </widget> - <widget class="QPushButton" name="ConvertButton"> - <property name="geometry"> - <rect> - <x>160</x> - <y>200</y> - <width>91</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory.</p></body></html></string> - </property> - <property name="text"> - <string>Convert</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/convert.png</normaloff>:/Other/icons/convert.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="DirectoryButton"> - <property name="geometry"> - <rect> - <x>10</x> - <y>160</y> - <width>141</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>Add directory</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/folder_new.png</normaloff>:/Other/icons/folder_new.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="FileButton"> - <property name="geometry"> - <rect> - <x>260</x> - <y>160</y> - <width>151</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Add CBR, CBZ, CB7 or PDF file to queue.</p></body></html></string> - </property> - <property name="text"> - <string>Add file</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/document_new.png</normaloff>:/Other/icons/document_new.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="ClearButton"> - <property name="geometry"> - <rect> - <x>160</x> - <y>160</y> - <width>91</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>8</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="text"> - <string>Clear list</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/clear.png</normaloff>:/Other/icons/clear.png</iconset> - </property> - </widget> - <widget class="QFrame" name="Options"> - <property name="geometry"> - <rect> - <x>10</x> - <y>237</y> - <width>401</width> - <height>70</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <layout class="QGridLayout" name="gridLayout" columnstretch="0,0,0"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <property name="horizontalSpacing"> - <number>40</number> - </property> - <property name="verticalSpacing"> - <number>5</number> - </property> - <item row="2" column="0"> - <widget class="QCheckBox" name="MangaBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Enable right-to-left reading.</p></body></html></string> - </property> - <property name="text"> - <string>Manga mode</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="RotateBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>Spread splitter</string> - </property> - <property name="tristate"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="2" column="2"> - <widget class="QCheckBox" name="QualityBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>HQ zoom</string> - </property> - </widget> - </item> - <item row="4" column="2"> - <widget class="QCheckBox" name="GammaBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Disable automatic gamma correction.</p></body></html></string> - </property> - <property name="text"> - <string>Custom gamma</string> - </property> - </widget> - </item> - <item row="5" column="1"> - <widget class="QCheckBox" name="NoDitheringBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>PNG output</string> - </property> - </widget> - </item> - <item row="5" column="2"> - <widget class="QCheckBox" name="ColorBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Disable conversion to grayscale.</p></body></html></string> - </property> - <property name="text"> - <string>Color mode</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QCheckBox" name="UpscaleBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>Stretch/Upscale</string> - </property> - <property name="tristate"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QCheckBox" name="WebtoonBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Enable special parsing mode for Korean Webtoons.</p></body></html></string> - </property> - <property name="text"> - <string>Webtoon mode</string> - </property> - </widget> - </item> - <item row="5" column="0"> - <widget class="QCheckBox" name="BorderBox"> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="toolTip"> - <string><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></string> - </property> - <property name="text"> - <string>W/B margins</string> - </property> - <property name="tristate"> - <bool>true</bool> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QListWidget" name="JobList"> - <property name="geometry"> - <rect> - <x>10</x> - <y>50</y> - <width>401</width> - <height>101</height> - </rect> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="styleSheet"> - <string notr="true">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}</string> - </property> - <property name="showDropIndicator" stdset="0"> - <bool>false</bool> - </property> - <property name="selectionMode"> - <enum>QAbstractItemView::NoSelection</enum> - </property> - <property name="verticalScrollMode"> - <enum>QAbstractItemView::ScrollPerPixel</enum> - </property> - <property name="horizontalScrollMode"> - <enum>QAbstractItemView::ScrollPerPixel</enum> - </property> - </widget> - <widget class="QFrame" name="OptionsGamma"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="geometry"> - <rect> - <x>10</x> - <y>305</y> - <width>401</width> - <height>35</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <property name="spacing"> - <number>15</number> - </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QLabel" name="GammaLabel"> - <property name="text"> - <string>Gamma: Auto</string> - </property> - </widget> - </item> - <item> - <widget class="QSlider" name="GammaSlider"> - <property name="focusPolicy"> - <enum>Qt::ClickFocus</enum> - </property> - <property name="maximum"> - <number>500</number> - </property> - <property name="singleStep"> - <number>5</number> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QProgressBar" name="ProgressBar"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>401</width> - <height>31</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>10</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="value"> - <number>0</number> - </property> - <property name="alignment"> - <set>Qt::AlignJustify|Qt::AlignVCenter</set> - </property> - <property name="format"> - <string/> - </property> - </widget> - <widget class="QFrame" name="OptionsCustom"> - <property name="geometry"> - <rect> - <x>10</x> - <y>340</y> - <width>401</width> - <height>25</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <property name="spacing"> - <number>15</number> - </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <widget class="QLabel" name="wLabel"> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="text"> - <string>Custom width: </string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="customWidth"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="focusPolicy"> - <enum>Qt::ClickFocus</enum> - </property> - <property name="acceptDrops"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="inputMask"> - <string>0000</string> - </property> - <property name="maxLength"> - <number>4</number> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="hLabel"> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="text"> - <string>Custom height: </string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="customHeight"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="focusPolicy"> - <enum>Qt::ClickFocus</enum> - </property> - <property name="acceptDrops"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> - </property> - <property name="inputMask"> - <string>0000</string> - </property> - <property name="maxLength"> - <number>4</number> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QPushButton" name="EditorButton"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>200</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="text"> - <string>Editor</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/editor.png</normaloff>:/Other/icons/editor.png</iconset> - </property> - </widget> - <widget class="QPushButton" name="WikiButton"> - <property name="geometry"> - <rect> - <x>211</x> - <y>10</y> - <width>200</width> - <height>32</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - <property name="focusPolicy"> - <enum>Qt::NoFocus</enum> - </property> - <property name="text"> - <string>Wiki</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/wiki.png</normaloff>:/Other/icons/wiki.png</iconset> - </property> - </widget> - <zorder>DeviceBox</zorder> - <zorder>FormatBox</zorder> - <zorder>ConvertButton</zorder> - <zorder>DirectoryButton</zorder> - <zorder>FileButton</zorder> - <zorder>ClearButton</zorder> - <zorder>Options</zorder> - <zorder>JobList</zorder> - <zorder>OptionsGamma</zorder> - <zorder>OptionsCustom</zorder> - <zorder>EditorButton</zorder> - <zorder>WikiButton</zorder> - <zorder>ProgressBar</zorder> + <widget class="QWidget" name="centralWidget"> + <layout class="QGridLayout" name="gridLayout"> + <property name="bottomMargin"> + <number>5</number> + </property> + <item row="3" column="0"> + <widget class="QPushButton" name="directoryButton"> + <property name="minimumSize"> + <size> + <width>130</width> + <height>30</height> + </size> + </property> + <property name="toolTip"> + <string><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></string> + </property> + <property name="text"> + <string>Add directory</string> + </property> + <property name="icon"> + <iconset resource="KCC.qrc"> + <normaloff>:/Other/icons/folder_new.png</normaloff>:/Other/icons/folder_new.png</iconset> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QPushButton" name="clearButton"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>30</height> + </size> + </property> + <property name="text"> + <string>Clear list</string> + </property> + <property name="icon"> + <iconset resource="KCC.qrc"> + <normaloff>:/Other/icons/clear.png</normaloff>:/Other/icons/clear.png</iconset> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QPushButton" name="fileButton"> + <property name="minimumSize"> + <size> + <width>130</width> + <height>30</height> + </size> + </property> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Add CBR, CBZ, CB7 or PDF file to queue.</p></body></html></string> + </property> + <property name="text"> + <string>Add file</string> + </property> + <property name="icon"> + <iconset resource="KCC.qrc"> + <normaloff>:/Other/icons/document_new.png</normaloff>:/Other/icons/document_new.png</iconset> + </property> + </widget> + </item> + <item row="1" column="0" colspan="3"> + <widget class="QProgressBar" name="progressBar"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>30</height> + </size> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="visible"> + <bool>false</bool> + </property> + <property name="alignment"> + <set>Qt::AlignJustify|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QComboBox" name="deviceBox"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>28</height> + </size> + </property> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Target device.</p></body></html></string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QPushButton" name="convertButton"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>30</height> + </size> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory.</p></body></html></string> + </property> + <property name="text"> + <string>Convert</string> + </property> + <property name="icon"> + <iconset resource="KCC.qrc"> + <normaloff>:/Other/icons/convert.png</normaloff>:/Other/icons/convert.png</iconset> + </property> + </widget> + </item> + <item row="4" column="2"> + <widget class="QComboBox" name="formatBox"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>28</height> + </size> + </property> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Output format.</p></body></html></string> + </property> + </widget> + </item> + <item row="2" column="0" colspan="3"> + <widget class="QListWidget" name="jobList"> + <property name="styleSheet"> + <string notr="true">QListWidget#jobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;}</string> + </property> + <property name="selectionMode"> + <enum>QAbstractItemView::NoSelection</enum> + </property> + <property name="verticalScrollMode"> + <enum>QAbstractItemView::ScrollPerPixel</enum> + </property> + <property name="horizontalScrollMode"> + <enum>QAbstractItemView::ScrollPerPixel</enum> + </property> + </widget> + </item> + <item row="7" column="0" colspan="3"> + <widget class="QWidget" name="customWidget" native="true"> + <property name="visible"> + <bool>false</bool> + </property> + <layout class="QGridLayout" name="gridLayout_3"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item row="0" column="2"> + <widget class="QLabel" name="hLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> + </property> + <property name="text"> + <string>Custom height:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSpinBox" name="widthBox"> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> + </property> + <property name="maximum"> + <number>2160</number> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="wLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> + </property> + <property name="text"> + <string>Custom width:</string> + </property> + </widget> + </item> + <item row="0" column="3"> + <widget class="QSpinBox" name="heightBox"> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Resolution of target device.</p></body></html></string> + </property> + <property name="maximum"> + <number>3840</number> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="5" column="0" colspan="3"> + <widget class="QWidget" name="optionWidget" native="true"> + <layout class="QGridLayout" name="gridLayout_2"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item row="0" column="0"> + <widget class="QCheckBox" name="mangaBox"> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Enable right-to-left reading.</p></body></html></string> + </property> + <property name="text"> + <string>Manga mode</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QCheckBox" name="rotateBox"> + <property name="toolTip"> + <string><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></string> + </property> + <property name="text"> + <string>Spread splitter</string> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QCheckBox" name="qualityBox"> + <property name="toolTip"> + <string><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></string> + </property> + <property name="text"> + <string>HQ zoom</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QCheckBox" name="webtoonBox"> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Enable special parsing mode for Korean Webtoons.</p></body></html></string> + </property> + <property name="text"> + <string>Webtoon mode</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="upscaleBox"> + <property name="toolTip"> + <string><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></string> + </property> + <property name="text"> + <string>Stretch/Upscale</string> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QCheckBox" name="gammaBox"> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Disable automatic gamma correction.</p></body></html></string> + </property> + <property name="text"> + <string>Custom gamma</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QCheckBox" name="borderBox"> + <property name="toolTip"> + <string><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></string> + </property> + <property name="text"> + <string>W/B margins</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QCheckBox" name="noDitheringBox"> + <property name="toolTip"> + <string><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></string> + </property> + <property name="text"> + <string>PNG output</string> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QCheckBox" name="colorBox"> + <property name="toolTip"> + <string><html><head/><body><p style='white-space:pre'>Disable conversion to grayscale.</p></body></html></string> + </property> + <property name="text"> + <string>Color mode</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="6" column="0" colspan="3"> + <widget class="QWidget" name="gammaWidget" native="true"> + <property name="visible"> + <bool>false</bool> + </property> + <layout class="QFormLayout" name="formLayout"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="gammaLabel"> + <property name="text"> + <string>Gamma: Auto</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSlider" name="gammaSlider"> + <property name="maximum"> + <number>250</number> + </property> + <property name="singleStep"> + <number>5</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="0" column="0" colspan="3"> + <widget class="QWidget" name="toolWidget" native="true"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QPushButton" name="editorButton"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>30</height> + </size> + </property> + <property name="text"> + <string>Editor</string> + </property> + <property name="icon"> + <iconset resource="KCC.qrc"> + <normaloff>:/Other/icons/editor.png</normaloff>:/Other/icons/editor.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="wikiButton"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>30</height> + </size> + </property> + <property name="text"> + <string>Wiki</string> + </property> + <property name="icon"> + <iconset resource="KCC.qrc"> + <normaloff>:/Other/icons/wiki.png</normaloff>:/Other/icons/wiki.png</iconset> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> </widget> <widget class="QStatusBar" name="statusBar"> - <property name="font"> - <font> - <family>MS Shell Dlg 2</family> - <pointsize>8</pointsize> - </font> - </property> <property name="sizeGripEnabled"> <bool>false</bool> </property> </widget> - <action name="ActionBasic"> - <property name="checkable"> - <bool>true</bool> - </property> - <property name="checked"> - <bool>false</bool> - </property> - <property name="text"> - <string>Basic</string> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - </font> - </property> - </action> - <action name="ActionAdvanced"> - <property name="checkable"> - <bool>true</bool> - </property> - <property name="text"> - <string>Advanced</string> - </property> - </action> </widget> - <tabstops> - <tabstop>DirectoryButton</tabstop> - <tabstop>FileButton</tabstop> - <tabstop>ConvertButton</tabstop> - <tabstop>ClearButton</tabstop> - </tabstops> <resources> <include location="KCC.qrc"/> </resources> diff --git a/gui/MetaEditor-Linux.ui b/gui/MetaEditor-Linux.ui deleted file mode 100644 index 644156f..0000000 --- a/gui/MetaEditor-Linux.ui +++ /dev/null @@ -1,225 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>MetaEditorDialog</class> - <widget class="QDialog" name="MetaEditorDialog"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>400</width> - <height>290</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>400</width> - <height>290</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>400</width> - <height>290</height> - </size> - </property> - <property name="windowTitle"> - <string>Metadata editor</string> - </property> - <property name="windowIcon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Icon/icons/comic2ebook.png</normaloff>:/Icon/icons/comic2ebook.png</iconset> - </property> - <widget class="QWidget" name="horizontalLayoutWidget"> - <property name="geometry"> - <rect> - <x>10</x> - <y>250</y> - <width>381</width> - <height>31</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QLabel" name="StatusLabel"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <pointsize>9</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="styleSheet"> - <string notr="true">color: rgb(255, 0, 0);</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="OKButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>Save</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/convert.png</normaloff>:/Other/icons/convert.png</iconset> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="CancelButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>Cancel</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/clear.png</normaloff>:/Other/icons/clear.png</iconset> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QFrame" name="EditorFrame"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>381</width> - <height>241</height> - </rect> - </property> - <widget class="QWidget" name="formLayoutWidget"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>381</width> - <height>266</height> - </rect> - </property> - <layout class="QFormLayout" name="formLayout"> - <item row="1" column="0"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Series:</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLineEdit" name="SeriesLine"/> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Volume:</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QLineEdit" name="VolumeLine"/> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="label_3"> - <property name="text"> - <string>Number:</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QLineEdit" name="NumberLine"/> - </item> - <item row="4" column="0"> - <widget class="QLabel" name="label_4"> - <property name="text"> - <string>Writer:</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QLineEdit" name="WriterLine"/> - </item> - <item row="5" column="0"> - <widget class="QLabel" name="label_5"> - <property name="text"> - <string>Penciller:</string> - </property> - </widget> - </item> - <item row="5" column="1"> - <widget class="QLineEdit" name="PencillerLine"/> - </item> - <item row="6" column="0"> - <widget class="QLabel" name="label_6"> - <property name="text"> - <string>Inker:</string> - </property> - </widget> - </item> - <item row="6" column="1"> - <widget class="QLineEdit" name="InkerLine"/> - </item> - <item row="7" column="0"> - <widget class="QLabel" name="label_7"> - <property name="text"> - <string>Colorist:</string> - </property> - </widget> - </item> - <item row="7" column="1"> - <widget class="QLineEdit" name="ColoristLine"/> - </item> - <item row="8" column="0"> - <widget class="QLabel" name="label_8"> - <property name="text"> - <string><html><head/><body><p><a href="https://github.com/ciromattia/kcc/wiki/Manga-Cover-Database-support"><span style=" text-decoration: underline; color:#0000ff;">MUid:</span></a></p></body></html></string> - </property> - <property name="textFormat"> - <enum>Qt::RichText</enum> - </property> - <property name="openExternalLinks"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="8" column="1"> - <widget class="QLineEdit" name="MUidLine"/> - </item> - </layout> - </widget> - <zorder>formLayoutWidget</zorder> - <zorder>horizontalLayoutWidget</zorder> - </widget> - </widget> - <resources> - <include location="KCC.qrc"/> - </resources> - <connections/> -</ui> diff --git a/gui/MetaEditor-OSX.ui b/gui/MetaEditor-OSX.ui deleted file mode 100644 index a81cacb..0000000 --- a/gui/MetaEditor-OSX.ui +++ /dev/null @@ -1,226 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>MetaEditorDialog</class> - <widget class="QDialog" name="MetaEditorDialog"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>400</width> - <height>295</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>400</width> - <height>295</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>400</width> - <height>295</height> - </size> - </property> - <property name="windowTitle"> - <string>Metadata editor</string> - </property> - <property name="windowIcon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Icon/icons/comic2ebook.png</normaloff>:/Icon/icons/comic2ebook.png</iconset> - </property> - <widget class="QWidget" name="horizontalLayoutWidget"> - <property name="geometry"> - <rect> - <x>10</x> - <y>260</y> - <width>381</width> - <height>32</height> - </rect> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QLabel" name="StatusLabel"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <pointsize>10</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="styleSheet"> - <string notr="true">color: rgb(255, 0, 0);</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="OKButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>Save</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/convert.png</normaloff>:/Other/icons/convert.png</iconset> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="CancelButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>Cancel</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/clear.png</normaloff>:/Other/icons/clear.png</iconset> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QFrame" name="EditorFrame"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>381</width> - <height>251</height> - </rect> - </property> - <widget class="QWidget" name="formLayoutWidget"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>381</width> - <height>250</height> - </rect> - </property> - <layout class="QFormLayout" name="formLayout"> - <property name="fieldGrowthPolicy"> - <enum>QFormLayout::ExpandingFieldsGrow</enum> - </property> - <item row="1" column="0"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Series:</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLineEdit" name="SeriesLine"/> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Volume:</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QLineEdit" name="VolumeLine"/> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="label_3"> - <property name="text"> - <string>Number:</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QLineEdit" name="NumberLine"/> - </item> - <item row="4" column="0"> - <widget class="QLabel" name="label_4"> - <property name="text"> - <string>Writer:</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QLineEdit" name="WriterLine"/> - </item> - <item row="5" column="0"> - <widget class="QLabel" name="label_5"> - <property name="text"> - <string>Penciller:</string> - </property> - </widget> - </item> - <item row="5" column="1"> - <widget class="QLineEdit" name="PencillerLine"/> - </item> - <item row="6" column="0"> - <widget class="QLabel" name="label_6"> - <property name="text"> - <string>Inker:</string> - </property> - </widget> - </item> - <item row="6" column="1"> - <widget class="QLineEdit" name="InkerLine"/> - </item> - <item row="7" column="0"> - <widget class="QLabel" name="label_7"> - <property name="text"> - <string>Colorist:</string> - </property> - </widget> - </item> - <item row="7" column="1"> - <widget class="QLineEdit" name="ColoristLine"/> - </item> - <item row="8" column="0"> - <widget class="QLabel" name="label_8"> - <property name="text"> - <string><html><head/><body><p><a href="https://github.com/ciromattia/kcc/wiki/Manga-Cover-Database-support"><span style=" text-decoration: underline; color:#0000ff;">MUid:</span></a></p></body></html></string> - </property> - <property name="textFormat"> - <enum>Qt::RichText</enum> - </property> - <property name="openExternalLinks"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="8" column="1"> - <widget class="QLineEdit" name="MUidLine"/> - </item> - </layout> - </widget> - </widget> - </widget> - <resources> - <include location="KCC.qrc"/> - </resources> - <connections/> -</ui> diff --git a/gui/MetaEditor.ui b/gui/MetaEditor.ui index 3aa20f7..016b668 100644 --- a/gui/MetaEditor.ui +++ b/gui/MetaEditor.ui @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> - <class>MetaEditorDialog</class> - <widget class="QDialog" name="MetaEditorDialog"> + <class>editorDialog</class> + <widget class="QDialog" name="editorDialog"> <property name="geometry"> <rect> <x>0</x> @@ -29,191 +29,177 @@ <iconset resource="KCC.qrc"> <normaloff>:/Icon/icons/comic2ebook.png</normaloff>:/Icon/icons/comic2ebook.png</iconset> </property> - <widget class="QWidget" name="horizontalLayoutWidget"> - <property name="geometry"> - <rect> - <x>10</x> - <y>220</y> - <width>381</width> - <height>31</height> - </rect> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="bottomMargin"> + <number>5</number> </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QLabel" name="StatusLabel"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <item> + <widget class="QWidget" name="editorWidget" native="true"> + <layout class="QFormLayout" name="formLayout"> + <property name="leftMargin"> + <number>0</number> </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> + <property name="topMargin"> + <number>0</number> </property> - <property name="styleSheet"> - <string notr="true">color: rgb(255, 0, 0);</string> + <property name="rightMargin"> + <number>0</number> </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="OKButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <property name="bottomMargin"> + <number>0</number> </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> + <item row="0" column="0"> + <widget class="QLabel" name="label_1"> + <property name="text"> + <string>Series:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="seriesLine"/> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="volumeLine"/> + </item> + <item row="2" column="1"> + <widget class="QLineEdit" name="numberLine"/> + </item> + <item row="3" column="1"> + <widget class="QLineEdit" name="writerLine"/> + </item> + <item row="4" column="1"> + <widget class="QLineEdit" name="pencillerLine"/> + </item> + <item row="5" column="1"> + <widget class="QLineEdit" name="inkerLine"/> + </item> + <item row="6" column="1"> + <widget class="QLineEdit" name="coloristLine"/> + </item> + <item row="7" column="1"> + <widget class="QLineEdit" name="muidLine"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Volume:</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Number:</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>Writer:</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>Penciller:</string> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>Inker:</string> + </property> + </widget> + </item> + <item row="6" column="0"> + <widget class="QLabel" name="label_7"> + <property name="text"> + <string>Colorist:</string> + </property> + </widget> + </item> + <item row="7" column="0"> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string><html><head/><body><p><a href="https://github.com/ciromattia/kcc/wiki/Manga-Cover-Database-support"><span style=" text-decoration: underline; color:#0000ff;">MUid:</span></a></p></body></html></string> + </property> + <property name="openExternalLinks"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QWidget" name="optionWidget" native="true"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="leftMargin"> + <number>0</number> </property> - <property name="text"> - <string>Save</string> + <property name="topMargin"> + <number>0</number> </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/convert.png</normaloff>:/Other/icons/convert.png</iconset> + <property name="rightMargin"> + <number>0</number> </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="CancelButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <property name="bottomMargin"> + <number>0</number> </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="text"> - <string>Cancel</string> - </property> - <property name="icon"> - <iconset resource="KCC.qrc"> - <normaloff>:/Other/icons/clear.png</normaloff>:/Other/icons/clear.png</iconset> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QFrame" name="EditorFrame"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>381</width> - <height>211</height> - </rect> - </property> - <widget class="QWidget" name="formLayoutWidget"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>381</width> - <height>211</height> - </rect> - </property> - <layout class="QFormLayout" name="formLayout"> - <item row="1" column="0"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Series:</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLineEdit" name="SeriesLine"/> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Volume:</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QLineEdit" name="VolumeLine"/> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="label_3"> - <property name="text"> - <string>Number:</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QLineEdit" name="NumberLine"/> - </item> - <item row="4" column="0"> - <widget class="QLabel" name="label_4"> - <property name="text"> - <string>Writer:</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QLineEdit" name="WriterLine"/> - </item> - <item row="5" column="0"> - <widget class="QLabel" name="label_5"> - <property name="text"> - <string>Penciller:</string> - </property> - </widget> - </item> - <item row="5" column="1"> - <widget class="QLineEdit" name="PencillerLine"/> - </item> - <item row="6" column="0"> - <widget class="QLabel" name="label_6"> - <property name="text"> - <string>Inker:</string> - </property> - </widget> - </item> - <item row="6" column="1"> - <widget class="QLineEdit" name="InkerLine"/> - </item> - <item row="7" column="0"> - <widget class="QLabel" name="label_7"> - <property name="text"> - <string>Colorist:</string> - </property> - </widget> - </item> - <item row="7" column="1"> - <widget class="QLineEdit" name="ColoristLine"/> - </item> - <item row="8" column="0"> - <widget class="QLabel" name="label_8"> - <property name="text"> - <string><html><head/><body><p><a href="https://github.com/ciromattia/kcc/wiki/Manga-Cover-Database-support"><span style=" text-decoration: underline; color:#0000ff;">MUid:</span></a></p></body></html></string> - </property> - <property name="textFormat"> - <enum>Qt::RichText</enum> - </property> - <property name="openExternalLinks"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="8" column="1"> - <widget class="QLineEdit" name="MUidLine"/> - </item> - </layout> - </widget> - </widget> + <item> + <widget class="QLabel" name="statusLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="okButton"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>30</height> + </size> + </property> + <property name="text"> + <string>Save</string> + </property> + <property name="icon"> + <iconset resource="KCC.qrc"> + <normaloff>:/Other/icons/convert.png</normaloff>:/Other/icons/convert.png</iconset> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cancelButton"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>30</height> + </size> + </property> + <property name="text"> + <string>Cancel</string> + </property> + <property name="icon"> + <iconset resource="KCC.qrc"> + <normaloff>:/Other/icons/clear.png</normaloff>:/Other/icons/clear.png</iconset> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> </widget> <resources> <include location="KCC.qrc"/> |